Is the min Function supported in a derived token property?

Discuss macro implementations, ask for macro help (to share your creations, see User Creations, probably either Campaign Frameworks or Drop-in Resources).

Moderators: dorpond, trevor, Azhrei, giliath, jay, Mr.Ice

Post Reply
Zandel
Giant
Posts: 133
Joined: Thu May 13, 2010 1:52 pm

Is the min Function supported in a derived token property?

Post by Zandel »

MapTool Version: 1.3.b91
Is the min function allowed in derived token properties?

For example, I have this as a property, it does not seem to work properly:

EquippedArmorDexBonus:{min(EquippedArmorMaxDexBonus,DexterityBonus}

User avatar
aliasmask
RPTools Team
Posts: 9029
Joined: Tue Nov 10, 2009 6:11 pm
Location: Bay Area

Re: Is the min Function supported in a derived token propert

Post by aliasmask »

You're missing a ). I recommend:

Code: Select all

EquippedArmorDexBonus:[r: min(EquippedArmorMaxDexBonus,DexterityBonus)]

Zandel
Giant
Posts: 133
Joined: Thu May 13, 2010 1:52 pm

Re: Is the min Function supported in a derived token propert

Post by Zandel »

LOL, I don't know how I missed that

Thank you

Post Reply

Return to “Macros”