- Joined
- Apr 8, 2005
- Messages
- 3
I've searched the forms and could not find of a way to create a type of shielding system. As of right now I am using a system based off of mana.
EVENTS
EVENT- a unit is attacked
CONDITIONS
CONDITION- owner of attacked unit equal to Player 1 Red
ACTIONS
CONDITION- attacked unit’s mana greater than 1
Then-
ACTION1- set life of attacked unit to max
ACTION2- set current mana of attacked unit to -1 mana.
Else-
Do Nothing
It does work however it presents some problems. The main problem is the shielded unit only takes 1 damage to mana (i.e. shields). I want the unit to take the attacking units damage to mana (i.e. shields). I can‘t find a way to reference the attacking units damage in the trigger system.
Another problem is spells and abilities use mana, though I can probable work around this I do want the shield amount displayed on each unit. So maybe there is a way of using another resource to cast spells?
Also I know your all probably pretty dang tired of hearing this but I am working on a Starcraft map and this Shielding System is (as you probably guessed by now) for the Protoss. :lol:
I thank you in advance
EVENTS
EVENT- a unit is attacked
CONDITIONS
CONDITION- owner of attacked unit equal to Player 1 Red
ACTIONS
CONDITION- attacked unit’s mana greater than 1
Then-
ACTION1- set life of attacked unit to max
ACTION2- set current mana of attacked unit to -1 mana.
Else-
Do Nothing
It does work however it presents some problems. The main problem is the shielded unit only takes 1 damage to mana (i.e. shields). I want the unit to take the attacking units damage to mana (i.e. shields). I can‘t find a way to reference the attacking units damage in the trigger system.
Another problem is spells and abilities use mana, though I can probable work around this I do want the shield amount displayed on each unit. So maybe there is a way of using another resource to cast spells?
Also I know your all probably pretty dang tired of hearing this but I am working on a Starcraft map and this Shielding System is (as you probably guessed by now) for the Protoss. :lol:
I thank you in advance