Code: Select all
[h: attackProp = getProperty("AttackProperty", getImpersonated())]
[h: defenseProp = getProperty("DefenseProperty", getSelected())]
[h, IF(attackProp >= defenseProp): Result = "Hits!"; Result = "Misses!"]
[r: Result]
Is there anyway that i can get this macro to work in the Impersonate window? It works fine in the Campaign window.