| 10-19-2007, 11:23 PM | #1 |
There is a footman. A trigger detects when the footman is damaged. The trigger has an action that runs a function "jo". The function "jo" displays a simple text message "jo". When I cast soulburn, the regular blizzard spell, on the footman then I get A LOT of "jo's" on my screen, until the soulburn debuff stops. While the soulburn buff is on the unit the unitdamaged event fires A LOT, and my map kinda freezes. I'm using soulburn on another context to silence a unit. Maybe I can use another spell to cast silence. I'd rather not use the silence spell cause it's AoE and it needs to effect only 1 unit. I could cast AoE silence and then remove the silence buff from units that shouldn't have it or something, but that's not really pretty. |
| 10-19-2007, 11:42 PM | #2 |
Well, you could trigger the silence. First, make a very small AOE Silence(enough to only hit one target) and make a dummy spell. Then, trigger the rest by activating the trigger whenever a unit casts the effect of the spell, create a dummy unit, give it the real Silence(not the dummy spell) and give it the order targeting a point of Neutral - Dark Ranger - Silence or something related to that. Unless you were aiming for the damage over time damage as well, I don't really know what to do there; I don't have enough experience for triggering DoT spells. |
| 10-20-2007, 12:04 AM | #3 | |
Quote:
|
| 10-20-2007, 06:26 AM | #4 |
If you give the dummy silence an AoE of 1, it will only affect the unit you want it to as long as you order the dummy to cast it on the exact x/y of the target. |
| 10-20-2007, 07:07 AM | #5 | |
Quote:
Channel is the best dummy spell... ever... |
| 10-20-2007, 08:43 AM | #6 |
Use Drunken Haze instead of a dummy Silence. Then you have no problems with targets. |
| 10-20-2007, 09:26 AM | #7 |
But doesn't anyone think it's strange that the soulburn buff triggers the unitdamaged event so many times? My solution now is that the unitdamaged trigger has a condition that is false if the damage came from the dummycaster who cast soulburn. |
| 10-20-2007, 09:30 AM | #8 |
You have a bad onDamage system perhaps?, it does not prevent requrzion? After looking at sould burn spell data I found out it has a field called Damage Period, and it is set to 1 sec, soulburn fires onDamage events every sec ffs. If you set dmg to zero you can check that in your onDamage system (ignore damage events that damage for zero) Next time look in your object editor before you ask stupid questions. |
| 10-20-2007, 09:45 AM | #9 |
O crap.. right.. I set the damage period to 0.... GOOD ONE. Thanks mate =) "Next time look in your object editor before you ask stupid questions." Pff. thanks. |
