• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Referencingthreatened Area

willuwontu

Well-known member
One of my classes has an ability that grants blindsight equal to the hero's threatened area when they are in a defensive stance.

Code:
      ~ If we're not shown, just get out now
      doneif (tagis[Helper.ShowSpec] = 0)

if (hero.tagis[Hero.Defending] <> 0) then

field[abValue].value = field[actUser].value

if (#hasfeat[fComPatrol] = 1) then
field[abValue].value += hero.child[fComPatrol].field[abValue].value
endif

hero.child[rBlindSi].field[abRange].value += field[abValue].value

field[abText].text = "Blindsight " & field[abValue].value & "ft."

endif

The problem I have no idea how to reference the reach of different size characters. I could recreate the system in the eval script but I'd rather just be able to reference the already shown reach range on the hero basics tab in HL. Right now I have it as an activated ability with an incrementer to set the basic threatened area. Any idea how to reference a hero's reach area in HL?
 
Back
Top