View Single Post
Illyahr
Senior Member
 
Join Date: Feb 2013
Posts: 293

Old July 11th, 2020, 10:21 AM
Quote:
Originally Posted by Sendric View Post
Good point. Let's try this then:

Code:
~ Assign the appropriate tag to all weapons that meet the criteria
  foreach pick in hero where "WepFocus.? & (thingid.wBattleaxe | thingid.wWarhammer | thingid.wGreatclub)"
        perform eachpick.delete[wCritMult.?]
    if (eachpick.tagis[thingid.wGreatclub] <> 0) then
        perform eachpick.assign[wCritMult.3]
    endif
    if (eachpick.tagis[thingid.wBattleaxe] + eachpick.tagis[thingid.wWarhammer] <> 0) then
        perform eachpick.assign[wCritMult.4]
    endif
  nexteach
PS Just tested this. Seems to work.
This doesn't seem to restrict the modifier to the chosen weapon type. The ability only works for the weapon chosen from the dropdown.
Illyahr is offline   #1004 Reply With Quote