Senior Member
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,321
|
Is anyone familiar with the #applyfort macro? I'm trying to implement something similar to the fortification ability but it doesn't attach directly to the armor, but is on the hero. SO I'm having to step through the equipped armors and want to see if the #applyfort[25] would still work in those circumstances.
Thanks! TC |
#1 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
All applyfort is is:
hero.childfound[xFortifica].field[abValue].value = maximum(hero.childfound[xFortifica].field[abValue].value, #bonus) where #bonus is the number inside the brackets []. |
#2 |
|
|