wolfang237
Active member
I want to add fire damage to my player's attacks as part of being in a supernatural stance. I thought about looking at elemental assault or the flaming weapon enchantment Eval Codes.
For elemental assault, there is no actual Eval Script?
This is the Flaming Weapon's Eval Script:
Clearly this is adding a string instead of a stat. I think what it's doing is finding magic weapons and adding the string to magic weapons with the gWeapExpr field. In that case, could I instead change it so that the command is to a more general level, like, "apply this string to any thing in the container.child that's a BaseWep", so that it doesn't have to be gCustMagic (i.e. a magic weapon - I think)? If this can be done this way, what would the code look like?
For elemental assault, there is no actual Eval Script?
This is the Flaming Weapon's Eval Script:
Code:
if (parent.tagis[component.BaseWep] <> 0) then
#extradamwithavg[parent," plus 1d6 fire",field[thingname].text,"3.5"]
else
foreach pick in hero from BaseWep where container.child[gCustMagic].field[gWeapExpr].text
#extradamwithavg[eachpick," plus 1d6 fire",field[thingname].text,"3.5"]
nexteach
endif
Last edited: