Warcraft III resources & community, 2003–2006 · archived

Spell Question - Quick Response Please

14 posts
#1

Spell Question - Quick Response Please

Alright, in the WE, I have a custom spell off of storm bolt. Now, the buff for the stun is called Stunned (Paused). I go to buffs and find Stunned (Paused). Now here's where I have a question. Where do I go to modify the stun period? Because it's not in the spell, and it's not under Stunned (Paused)... it just shows the name and attatchments and stuff like that. I also don't want just 1 number for stun, I want different ones for lvl 1 of the spell, 2, 3, etc...

Mind telling me? I'm really confused and frustrated.
#2
I didn't really get the every level stuff but changing the stun duration is actually into the field of Duration. You will see a field with the name Duration or something similar. Change that field's value to how much you want the stun to last. But keep in mind that setting its value to 0 will make it last forever.

~Daelin
#3
Alright, I got that down. Now, I added poison damage as a buff. How do I change the amount of poison damage dealt?
#4
Dragon_LordAlright, I got that down. Now, I added poison damage as a buff. How do I change the amount of poison damage dealt?


Well you cannot. What you have added is just a poison damage buff to the customized storm bolt ability. There is no appropriate data field for that thing and purpose. :D
#5
Why don't you use Shadow Strike if you want poison damage, but with no initial damage?

~Daelin
#6
I'll try that... thanks :D
#7
Ok.... how do I edit the initial damage?

Wait you do realize I'm trying to make this a buff... right?
#8
If you took Daelin's advice you can edit it in the data field.
#9
Buffs have nothing to do with damage. When will you understand? Just because you give a Faerie Fire buff to... Slow, won't decrease the armor. Buffs are only to show the effect of the spell on the downpart of the unit and for the model which is attached to the unit so it know what spell affects it. There is a Data - Initial Damage or something like that into the Shadow Strike spell. Search for it.

~Daelin
#10
Alright, I understand that. But how can I actually get poison damage into my spell? I've got my spell already set up; it stuns, I set it's damage, cooldown, manacost etc... I just need to add poison damage to it. How can I do it? Because I don't want to have to use both my spell and Shadow Strike... because that would be uncomfterable for the player.

So please tell me, how can I get poison damage into my existing spell?
#11
I'm afraid you will have to use dummy unit. It's the only way. Create an unit with 999999 mana, 0.00 collision, Locust ability, None.mdl model, 0 food cost. Make sure it is not a worker. Remove shadow, attacks and set movement speed to 0. Now let's go to the spells. You will still need a Shadow Strike ability but make it with 1 level, and unit ability. Get its stats to whatever you want. Now go back to your unit and add this ability to it.

And for the triggers:

Event - An Unit Starts the effect of an ability
Condition - Ability being cast equal To YourAbility
Actions - Create 1 Dummy for (Owner of (Casting Unit)) at Position of (Target Unit of Ability Being Cast)
- Set 1.25 seconds expiration timer to (Last Created Unit)
- Order (Last Created UNit) to Night Elf - Warden - Shadow Strike (Target Unit of Ability Being Cast)

You might have to switch the "Starts the effect of an ability" to "Finishes casting an ability". Experiment which is the best.

~Daelin
#12
Hey, I did all that. It works like a charm, except for one thing. I made a unit with 10000 life to check how much damage it did... the spell was supposed to deal 500 damage. Instead, it killed the unit with 1 hit. What happened???
#13
What happened?
#14
It depends on what you did with the spell itself... Shadow Strike is pretty buggy. You'd best be careful. Look over the fields, check the duration, the damages once again.

~Daelin