• 0

    posted a message on Spell's damage based on unit damage

    sounds like it'll work, i'll try it, thanks almaity and dragoon!

    Posted in: Triggers
  • 0

    posted a message on Spell's damage based on unit damage

    It sounds like you are saying to make my spell based off the damage the unit has last dealt, thus meaning armor would then reduce the spells damage when i don't want it to, or would be unaffected when i did want it to be. More so, I'm not sure how to go about referring a spell to a weapon, but even if i did, bonus damage on the unit would not be counted in the spells damage either.

    I found the environment damage done function but even that is not working as its not adding any damage changes, only the base weapon effect damage.

    Posted in: Triggers
  • 0

    posted a message on Spell's damage based on unit damage

    Having trouble doing this.

    I'm trying to make a spell deal damage based on the casting units damage dealt, plus a hero stat I've made up for him.

    Example: Unit damage = 10, hero stat = 5, and i want the spell to deal unit's damage + hero stat for 15 damage

    Now mind you, the unit damage and hero stat will be changing fairly constantly throughout the game, so the spell NEEDS to scale with the damage. My main problem is that I cant find a function, variable, or anything else in triggers that refers to a units damage. So its not as simple as making the spell deal X damage.

    Posted in: Triggers
  • To post a comment, please or register a new account.