View Single Post
Bob G
Senior Member
 
Join Date: Nov 2017
Location: Trafford, PA, USA
Posts: 226

Old March 8th, 2020, 01:31 PM
Ability says: Each time the rogue selects this avoidance, she gains a +1 dodge bonus to AC when fighting defensively. So I did this:
<First/500>
Code:
~ If we're not shown, just get out now
      doneif (tagis[Helper.ShowSpec] <> 1)
~ if we've been disabled, get out now
      doneif (tagis[Helper.SpcDisable] <> 0)
~ if we're not fighting defensively, get out now
     if (hero.childfound[pstFtDefen].field[pIsOn].value <> 0) then
     
~ Set the bonus based on the number of active abilities
      field[abValue].value += field[xIndex].value
      field[livename].text = field[thingname].text & " " & field[abValue].value

~ The following should only happen once on the first copy
      doneif (tagis[Helper.FirstCopy] = 0)

~ Give a dodge bonus to Armor Class
      hero.childfound[ArmorClass].field[tACDodge].value += field[abValue].value
endif
But dodge bonus does not add. Why is this happening?

Projects: Legendary Rogue (Legendary Games) 97.9%, Assassin (Interjection Games) 88%, Fortunate (rebuild of Luckbringer, Rite Publishing) 87.2%, Adept Godling (Super Genius Games) 73.9%, Eldritch Godling (Super Genius Games) 72.9%, Mighty Godling (Super Genius Games) 44.3%, Clever Godling (Super Genius Games) 41.2%, Legendary Cavalier (Legendary Games) 30.9%

Message me for a list of completed projects.
Visit my blog! https://gauntletsofblogrepower.blogspot.com/
Bob G is offline   #1 Reply With Quote