Valkrionn
The Hamster King
Spoiler :
Code:
def atRangeCitadel(pCaster, pPlot):
iPlayer = pPlot.getOwner()
pPlayer = gc.getPlayer(iPlayer)
eTeam = gc.getTeam(pPlayer.getTeam())
p2Plot = pCaster.plot()
if eTeam.isAtWar(pCaster.getTeam()):
if pPlayer.isHuman() == True:
if pPlot.getNumUnits() != 0:
pCaster.doDamageNoCaster(20, 40, gc.getInfoTypeForString('DAMAGE_FIRE'), False)
CyEngine().triggerEffect(gc.getInfoTypeForString('EFFECT_PILLAR_OF_FIRE'),p2Plot.getPoint())
if pPlayer.isHuman() == False:
pCaster.doDamageNoCaster(20, 40, gc.getInfoTypeForString('DAMAGE_FIRE'), False)
CyEngine().triggerEffect(gc.getInfoTypeForString('EFFECT_PILLAR_OF_FIRE'),p2Plot.getPoint())
Still not working. I know it's the CyEngine line specifically that is failing, as if I put it above the damage, it fails to run and the unit is unharmed.
Thank you all for putting up with me.
And the puppets permanent just to get rid of the sound? 