| 01-28-2004, 02:21 PM | #1 |
Hi Ive manished to create a dusin of auras... but then i tried to make an aura that drain the enemy's life every 1 second... what i want it to do is to drain 5 HP per sec in lvl 1, 10 HP in lvl 2, 20 HP in lvl 3..... anyone who know how to make that ? (plz dont tell me to look at the custom aura thread) (and PLZ tell me exactly how to make it, if u know so) thx in advance ~chemo |
| 01-28-2004, 02:29 PM | #2 |
Drainning ehh? This is the easiest to make solution but it will require it to avoid killing the enemy units Hero == the unit that should have the aura tempunitgroup = A unitgroup variable X = a real variable Events Each 1.00 seconds Conditions: (level of Drainning Aura for (Hero) greater than 0 Actions: set tempunitgroup = Units withing 500 of (Hero) matching (matching unit is an enemy equal to true) set X=)Convert Integer to real (level of Draining Aura for (hero)) * 10 Unit Group Pick every unit in tempunitgroup and do multiple actions --If Current life of picked unit greater than (X+1) then ----- Set Life of Picked Unit to (life of picked unit - X) ----- Set Life of (hero) to (life of hero + X) --Else ----- Set Life of (hero) to (life of hero + (life of picked unit - 1)) ----- Set Life of Picked Unit to 1 Custom Script: call DestroyGroup( udg_tempunitgroup) |
| 01-28-2004, 02:30 PM | #3 |
Use tornados aura for building damage and make it effect ground and air. |
| 01-28-2004, 02:37 PM | #4 |
yes that how i would make it but ... does DRAIN mean that the life is translated to the hero or does it only damage the others? @Lord Vexorian: its best to avoid checking a lot of conditions every second isn't it? this will cause laggs for sure ... |
| 01-28-2004, 02:46 PM | #5 |
he wants the aura to drain hit points and the condition I added doesn't really mind, I am using a tempgroup var so it gets destroyed and so it wouldn't lag so much, trigger enhanced auras always lead to certain lag due to periodic events are currently the only way to make them. |
| 01-29-2004, 02:02 PM | #6 |
ehmm ur spell is k vexorian, but it has to be able to be used by multiple units at the same time.. so i dont think ur Aura gonna work in the lenght.. and when i say drain i just mean substract hp from the enemy unit... i tried with various if/then/else triggers but i failed :( so now i hope one of you guys out there is smart enough to make it... plz help me thx |
| 01-29-2004, 02:08 PM | #7 | |
Quote:
Ohh, If you only want to substract hp from the units just use an inversed healing ward aura with less percentage or an inversed unholy aura or a target changed Tornado building damage aura, you don't need triggers for that |
| 01-29-2004, 02:36 PM | #8 |
Or perhaps Disease Cloud. That doesn't require any 'inversing'. :P |
| 01-29-2004, 03:41 PM | #9 |
well, some smart tip: take permanent immolation and u got ur aura. |
| 01-29-2004, 04:42 PM | #10 |
Rofles cant believe people need help with these types of auras. Just take the skill, base it off unholy aura, set targets allowed to enemy, non building(or just enemy if it should work on enemy buildings too, but I doubt you want that), then simply make the bonus movement speed 0%, and the regeneration bonus equal to the amount that you want them to gain/sec(in this case, you would set the regen bonus to a negative number, because you want it to LOSE hp instead of GAIN hp). Voila! DoT aura. |
| 01-29-2004, 05:36 PM | #11 | |
Quote:
Dont be such a jerk.... I only ask what i dont know... well i ran into a new problem: currently im using UMSWE 4.1 beta version, and u cant type in "negative" values in the spell editor.. and btw were and what is the "Tornado" location/called ? i need some little help on this one.. cause normally I would just go invert the numbers.. but since i cant do this i need a prober way to do this :/ |
| 01-29-2004, 05:49 PM | #12 |
File -> Properities -> [X] Allow negative Values in the Unit Editor -> Yes Have Fun! MfG B~L~ |
| 01-29-2004, 06:42 PM | #13 |
Disease Cloud / Immolation is the way to go ... |
| 01-29-2004, 07:07 PM | #14 |
Immolation is not good, it has a bad effect. A unit that comes in range of immolation will attack, if you use an aura it wont. just use unholy aura, i think its the best way. -100% life regeneration is -1 life per second btw. Tornado damage aura: abilities>neutral passive>units |
| 01-29-2004, 07:18 PM | #15 |
thx guys :D just what i needed u solved my problem thx one more time - /topic closed |
