View Single Post
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 2,847

Old July 11th, 2020, 07:02 AM
Quote:
Originally Posted by Illyahr View Post
Unfortunately, it only works for the selected type of weapon. If you had two of them with weapon focus, only one would get the critical bonus.
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.

Last edited by Sendric; July 11th, 2020 at 08:15 AM.
Sendric is offline   #1003 Reply With Quote