Hey guys, I'm basically just a monkey cutting out working code and substituting in my own desired targets, ransom note style, so don't laugh too hard.
Basically what I'm trying to do is make a racial ability where you pick 1 melee weapon, and then all your attacks with matching weapons use the better of Str or Dex to hit. Here's what I've got:
When you try to run all that, nothing happens.
Don't ask me why I did or didn't do something; I don't know, I'm just copying other things I've found in the editor or from the forum. Thanks in advance for any help whatsoever!
Basically what I'm trying to do is make a racial ability where you pick 1 melee weapon, and then all your attacks with matching weapons use the better of Str or Dex to hit. Here's what I've got:
Code:
doneif (field[usrChosen1].ischosen = 0)
foreach pick in hero from BaseWep
if (eachpick.field[thingname].text = lowercase(field[usrChosen1].chosen.field[thingname].text)) then
perform eachpick.assign[MelAttOpt.aDEX]
endif
nexteach
Don't ask me why I did or didn't do something; I don't know, I'm just copying other things I've found in the editor or from the forum. Thanks in advance for any help whatsoever!
Last edited: