- Joined
- Jul 26, 2008
- Messages
- 1,009
As you can guess the normal elements and armor type for WC3 can be a bit limited in usage. What I want to do is program in some elements and tie them to creatures in my WC3 game.
I'm still trying to figure out the best method to do that. You see, I would like to give units buffs that make them resistant to elemental based spells and attacks.
Examples of how it would work:
Unit A casts a spell on Unit B. That spell is water, and Unit B is fire. Unit B takes the spell's damage and then an extra amount of damage because it's weak to water. However if Unit A was to cast on Unit C, because Unit C is lightning based, it would do reduced damage.
Also unit A could cast a buff that makes Unit B have a Water buff on it's weapon, so when Unit B attacks fire it does extra damage, and against lightning it gains no benefits.
I'm thinking I might be able to do this via The Object Editor Buffs the easiest. I could use variables too though, but that seems tedious. What would be a good system to do this with?
I'm still trying to figure out the best method to do that. You see, I would like to give units buffs that make them resistant to elemental based spells and attacks.
Examples of how it would work:
Unit A casts a spell on Unit B. That spell is water, and Unit B is fire. Unit B takes the spell's damage and then an extra amount of damage because it's weak to water. However if Unit A was to cast on Unit C, because Unit C is lightning based, it would do reduced damage.
Also unit A could cast a buff that makes Unit B have a Water buff on it's weapon, so when Unit B attacks fire it does extra damage, and against lightning it gains no benefits.
I'm thinking I might be able to do this via The Object Editor Buffs the easiest. I could use variables too though, but that seems tedious. What would be a good system to do this with?