Manalishi66
Well-known member
This a custom classs ability is giving me a fit....
Kendo: A lesser form of the samurai art of Kenjutsu, Kendo is a system of fencing for the shinobi. When using a sword that she has Weapon Focus in, the shinobi gains a +1 competence bonus to damage rolls with the sword, and an additional +1 to attack and damage per 6 levels of shinobi class.
The following script works except the bonus does not display with the weapon when using "wClass.BladeLight" and "wClass.BladeHeavy". It does if I use "wClass.Light", etc., Why? Help!
~ Loop through all weapons of a specific fighter type
foreach pick in hero from BaseWep where "wClass.BladeLight | wClass.BladesHeavy"
~ Set the bonus on each weapon found
if (#levelcount[SBI] >= 1) then
eachpick.field[wDamBonus].value += 1
endif
if (#levelcount[SBI] >= 6) then
eachpick.field[Bonus].value += 1
endif
if (#levelcount[SBI] >= 12) then
eachpick.field[Bonus].value += 1
endif
if (#levelcount[SBI] >= 18) then
eachpick.field[Bonus].value += 1
endif
nexteach
Kendo: A lesser form of the samurai art of Kenjutsu, Kendo is a system of fencing for the shinobi. When using a sword that she has Weapon Focus in, the shinobi gains a +1 competence bonus to damage rolls with the sword, and an additional +1 to attack and damage per 6 levels of shinobi class.
The following script works except the bonus does not display with the weapon when using "wClass.BladeLight" and "wClass.BladeHeavy". It does if I use "wClass.Light", etc., Why? Help!
~ Loop through all weapons of a specific fighter type
foreach pick in hero from BaseWep where "wClass.BladeLight | wClass.BladesHeavy"
~ Set the bonus on each weapon found
if (#levelcount[SBI] >= 1) then
eachpick.field[wDamBonus].value += 1
endif
if (#levelcount[SBI] >= 6) then
eachpick.field[Bonus].value += 1
endif
if (#levelcount[SBI] >= 12) then
eachpick.field[Bonus].value += 1
endif
if (#levelcount[SBI] >= 18) then
eachpick.field[Bonus].value += 1
endif
nexteach