Ok, I have discovered that a script First Priority 1:
if (field[gIsEquip].value <> 0) then
~ Add +2 Insight bonus to CMB/CMD
#applybonus[BonInsight, hero.child[Maneuver], 22]
endif
Applies the value (22) twice to CMD and once to CMB.
I can't find any place between First and Final that applies only once to CMD and applies to CMB.
I may have a workable hack:
~ Attributes Priority 10001
if (field[gIsEquip].value <> 0) then
~ Add +2 Insight bonus to CMB/CMD
if (hero.child[Maneuver].field[BonInsight].value < 2) then
hero.child[Maneuver].field[tCMB].value += 2 - hero.child[Maneuver].field[BonInsight].value
#applybonus[BonInsight, hero.child[Maneuver], 2]
endif
endif
~ Applies twice for CMD
~ #applybonus[BonInsight, hero.child[Maneuver], 22]
~ Doesn't work for both CMB and CMD properly
~ hero.child[Maneuver].field[BonInsight].value =
~ maximum(hero.child[Maneuver].field[BonInsight].value, 2)
~ Doesn't work
~ #applybonus[BonInsight, hero.child[Maneuver].field[tCMB], 2]
Last edited by risner; July 5th, 2010 at 01:51 AM.
|