Module:Constants: Difference between revisions

returning Modifier as another part of getModifierDetails
(added isSkill to a couple modifiers (needed for Astrology stuff) because it matters sometimes)
(returning Modifier as another part of getModifierDetails)
Line 471: Line 471:
   if type(modifier.unsigned) == 'boolean' then valueUnsigned = modifier.unsigned end
   if type(modifier.unsigned) == 'boolean' then valueUnsigned = modifier.unsigned end


   return baseName, modifier.text, sign, not isPositive, valueUnsigned
   return baseName, modifier.text, sign, not isPositive, valueUnsigned, modifier
end
end