I'm entering the gear from Complete Champion, a lot of the Items refer to "Sets" these consist of 3 or more items that when worn together apply competence bonuses to skills, class abilities and such like.
There is also a level increase for the purpose of special abilities, E.g Wild Shape for Armour of the beast if you have the Wild shape ability.
I've pinched this bit of code from Druids Vestment to add an extra Wild Shape use
but how would I go about scripting to check for specific equipped items and then apply the relevant bonus to a relevant skill, ability or Class special.
I was thinking of putting the set applied bonuses in a single piece of code then bootstrapping the items to refer to it.
Any ideas?
There is also a level increase for the purpose of special abilities, E.g Wild Shape for Armour of the beast if you have the Wild shape ability.
I've pinched this bit of code from Druids Vestment to add an extra Wild Shape use
Code:
if (field[gIsEquip].value <> 0) then
var result as number
result = hero.assign[Hero.ExtraWild]
endif
but how would I go about scripting to check for specific equipped items and then apply the relevant bonus to a relevant skill, ability or Class special.
I was thinking of putting the set applied bonuses in a single piece of code then bootstrapping the items to refer to it.
Any ideas?