| 04-09-2007, 03:58 AM | #1 |
1: What is the difference between "Wait" and "Game-Time Wait?" I've already searched and some posts are confusing me, so I need more advice. 2: There is an item ability that causes targeted spells casted on it to not work every X seconds. I've tried using it once but I do not fully understand it, as the last time I tried it did nothing and was actively castable. 3: I've seen abilities that casts shields around units, allowing the shield to take a certain amount of damage. How would the trigger look like for this? I have a theory that includes custom integers but I also want other's solutions and theories too. +Rep to first one that posts good answers to all three questions. NOT! HARHARHAR! |
| 04-09-2007, 04:20 AM | #2 |
Wait is real time, in game wait is game time. Presumably. Use common sense maybe? I think you messed up somewhere along the way then... what it does is when you are targeted by a spell, it causes the spell to have no effect and then hits its cooldown. I have no idea what you are talking about really though; I mean I know the spell in question but I don't see how you could have problems with it... You can add the damage the unit takes to a variable and then heal the damage done instantly, and then when the variable hits a certain number you just end the trigger there. |
| 04-09-2007, 04:28 AM | #3 |
1: Normal waiting is realtime, game-time factors in lag, etc., so it's best used for spells and stuff. 2: No clue what you mean. 3: St33m's method would only work assuming the damage dealt wouldn't kill the hero. If your hero has 40 HP and the damage dealt is 50, the hero still dies from the attack since the damage reduction is triggered. |
| 04-09-2007, 04:32 AM | #4 |
That is very true. |
| 04-09-2007, 04:40 AM | #5 |
im pretty sure one of the anit-magic shells has an option for how much damage it can absorb, but im not sure if you can change what type of damage it absorbs to like, everything, instead of just magic damage. |
| 04-09-2007, 05:54 AM | #6 |
That is correct, anti-magic shell does have a damage absorb option where the shield dies after it's "life" has been depleted, but A-MS prevents all spells from being casted on it, units with magic attacks can't attack it, and so on, rather than just absorbing the damage. |
| 04-09-2007, 06:14 AM | #7 |
haha fools, play more melee kk? AMS shield absorbs 300 MAGIC damage, it doesn't block normal damage ffs |
| 04-09-2007, 07:13 AM | #8 |
1. Wait is real time, game wait is game time. 2. Spell Shield (Amulet), *edit* When a spell is cast, it just fizzles the effect. Duration effects the life time of the special effect as far as I know. 3. Use a dummy buff (a buff that doesn't do anything) and then make a trigger that checks every 0.5 seconds, and if the unit has the buff give it an ability that is based off Hardened Skin, reducing damage by a certain amount to a certain point. If you need clarification on this, just ask. |
| 04-09-2007, 10:20 AM | #9 |
1) Wait is just a TriggerSleepAction that is inaccurate and counts down during lag/other circumstances. Game-time wait uses waits with a timer to ensure that it waits atleast as long as you call it for. 2) As Tide-Arc said above, Spell Shield. It can be clicked and will start cooldown (ie buggy ability) and will only 'fizzle' spells when they are directly targetted on the unit (ie select shockwave and click directly on the unit). 3) These require triggering in jass to be done effectively. There is a system for it though: http://www.wc3campaigns.net/showthread.php?t=80544 . 4) 'REP HERE'? It's a sad day when people have to be offered rep to get them to help. And it's even sadder when it works. |
| 04-09-2007, 03:28 PM | #10 |
4) 'REP HERE'? It's a sad day when people have to be offered rep to get them to help. And it's even sadder when it works.[/quote] Lol, yeah. As for the buggy shield ability, I just thought up of a solution. I could put in an invisible spellbook, that way no one will click it and bug it, and put in a dummy ability in its stead. TY! +REP to NOBODY! HARHARHAR! |
