• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

I want an idea for a spell

Status
Not open for further replies.
Level 4
Joined
Jul 30, 2010
Messages
57
I would like to make a spell that chooses some targets in a area and affect then giving a buff which cause that the damage one receive the others receive a percentage from this damage. Something like the Warlock from DOTA's spell. I've already done the targeting system but i don't know how to make the damage part. Someone has some idea for me?
 
Level 11
Joined
Sep 12, 2008
Messages
657
thats not hard.. the hard point is to use armor system.
check armor - armor type - reduce point. then do X/Y/Z.
the armor system is in hive.
other then that i cant do much atm. my comp has sort of.. crushed.
 
thanks but what i want is a spell that choose targets in an area and this part i've already done what i don't know is how to make the share damage system. Spirit link doesn't work because i want the main target receives full damage and the others receive just a percentage from this damage.
Spirit link can be used only for chain buff effect!
Just pick every unit with that effect and do actions!
 
Level 19
Joined
Feb 25, 2009
Messages
2,004
Hurr durr..

Use channel as a base ability for targeting the enemy unit, then pick it and all of it's allied units around and assemble them to an instance and put them into a group.

After that, put an event into an other trigger, which detects when the main target takes damage, then if this target belongs to a group, pick every unit from there and damage it for a % of the initial damage done to the main target.

After a while, remove them from the group and reset the instance.
 
Level 4
Joined
Jul 30, 2010
Messages
57
Hurr durr..

Use channel as a base ability for targeting the enemy unit, then pick it and all of it's allied units around and assemble them to an instance and put them into a group.

After that, put an event into an other trigger, which detects when the main target takes damage, then if this target belongs to a group, pick every unit from there and damage it for a % of the initial damage done to the main target.

After a while, remove them from the group and reset the instance.

Which event should i use to detect it? The only event i could find is - A unit is atacked- but this event doesn't work because it doesn't mention the damage received and the event - A unit takes damage- is only usable when the unit is a pre-determined unit in game.
 
Status
Not open for further replies.
Top