• 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.

Just a few spells

Status
Not open for further replies.
Level 2
Joined
Apr 26, 2009
Messages
19
Hello!

I need:

1. AOE channeled healing spell which has the same effect as the witch doctors healing ward just that there is no ward and it has to be channeled :D Visual effect that I need is the one of drain life (green liquid spreading in circle, something like that). I also need to have aoe circle on the screen before i cast it so i know which area it will affect (just like the ward). If I cast multiple spells in the same place they shouldn't stack. I would like to have an explanation if possible how did you do it (please dont do it in JASS, but rather using the trigger editor). Especially tell me where can I change healing values and radius and channel duration so I can balance it in my game.

2. I need a self-targeted spell which increases damage by 400% (also it should be changeable) and lasts for 15 sec. It creates a buff on the target (self) which causes the damage increase while it lasts. I've tried with Berserk. Then I can easily cast the spell on the whole group (just a click), but I can't find a trigger how to increase damage for a percentage. On the other hand, I've used Inner Fire which allows me to increase damage, but the autocast doesn't work upon entering combat and manually I need to target with a mouse every one of them. (I selected targets allowed only self). Don't put this one in JASS either. I believe it can be done in the trigger editor in a simple way, but I'm a beginner and don't yet know how to do it.

Thanks!
 
Level 3
Joined
Sep 25, 2008
Messages
50
I dont understand #2
You already made berserk .. and you want it to cast on the whole group with just a click?
wha confuzzled...
 
Have you tried Roar? Just set the Targets to 'Self', duration to 15 and Damage Increase to '4.00'

For the 1st one, add the ability 'Locust' to the Healing Ward, change its model to .mdl and set its flying height to -100. Then make a dummy ability that is AoE and channeling (eg. Blizzard) and set its Duration to 15 seconds and its Area of Effect to the same radius as the healing. Now use a trigger to create a Healing Ward dummy at the position of the ability and set its expiration timer to 15 seconds.
Create another trigger that removes the healing ward once the dummy ability is interrupted.
 
Level 2
Joined
Apr 26, 2009
Messages
19
Hmm now that you mentioned I tried Roar. Now it works perfectly, but when I click on the button just one of them casts it on itself (just as the druids cast only one roar despite the fact you have 10 of them in control group). I am deeply thankful for your help. But if there is a way to change casting to whole group (just like the Berserk spell - all troll berserkers in the control group cast it on theirselves once you activate it) I would appreciate If you wrote it here.

Thank you for the healing spell as well.

Another spell that I need is one that targets a building and makes it unable to produce units, upgrade or be repaired for a certain duration. I tried with freezing breath but that isn't ability with targets and I cant find anything among triggers, although I am certain that it can be found there in some way.
 
Level 2
Joined
Apr 26, 2009
Messages
19
I suppose I'm doing something wrong because when I make trigger pause unit -> wait 15 sec -> unpause unit, actually the target is paused forever. The buff doesn't work either as I set the dummy ability to last 15 sec. It actually lasts forever as well. Tell me where am I wrong please.

And regarding the Roar spell: I could do that what you're saying but then the trigger would select my whole group even if I want to manually cast the spell with just one of the units.
I think that I could do it with the base ability Berserk, but then I need a dummy unit to cast for example inner fire (OFC modified) on each of the units that cast dummy Berserk. But when I use the trigger to order a unit to cast a spell, I can't chose any of the custom spells (and I would chose the modified inner fire), but only the ones which are in the game by default. Can you tell me how to fix that?
 
Level 3
Joined
Sep 25, 2008
Messages
50
FIRST OFALL, avoid using wait its crapcrapcrap!
and for the second Issue order to target a unit
replace the "order" with human priest - inner fire :)
hope this helped
I was going to trigger this stuff but ghost suggested something else haha
 
Level 2
Joined
Apr 26, 2009
Messages
19
But won't the dummy unit cast the regular inner fire spell on my triggering unit then? I need it to cast my CUSTOM spell that I made based on Iner Fire. And I don't want to change the original spell because I need it unchanged (I'm adding a few races of my own to the custom map -> the priest needs to be able to cast the original spell), but the custom one needs to be cast by the dummy. And custom spells aren't on the trigger list.

I am missing something here. Maybe the "order string activate" field in the object editor has something to do with these triggers? So could I put order string inner fire on my custom spell and then add it to dummy unit and trigger knows, when I order the unit to cast "inner fire", that it actually needs to cast my custom spell or? Pls tel me how does that work.
 
Level 3
Joined
Sep 25, 2008
Messages
50
it will that order action is telling the unit to cast the spell wiith the orderstring of innerfire.
You can customize innerfire all you want and use this action it will cast your custom one, as long as you dont change the orderstring
 
Ignorance is right. The order is based off the 'order string'. Perhaps you should convert some actions to JASS to see its raw data form. If you do, you'll see that
Unit - Order (Last created unit) to Human Priest - Inner Fire (Triggering unit)
equals to:
Custom Script: call IssueTargetOrderBJ( GetLastCreatedUnit(), "innerfire", GetTriggerUnit() )
The underline is the order string. So, as you can see, when the Human Priest - Inner Fire is converted into JASS(automatically once you start the map, so don't worry about doing it manually), it turns into "innerfire".
 
Level 2
Joined
Apr 26, 2009
Messages
19
Thanks very much for that info!!

I've been trying to work out the meaning of order string for a long time and there was never any change, but now I finally know it!! :D
 
Level 2
Joined
Apr 26, 2009
Messages
19
OK, now I've come to another problem. I want to make an ability which TARGETS a building and stops all actions for a duration. I've already had some suggestions, but I haven't realised any of them. I would like some1 to make a trigger and paste it here on the forum so I can learn from it. I tried with pause/unpause (effect: building is paused forever) and making dummy unit hit the building with freezing breath (effect: nothing happens, and yes, the unit has attack enabled with valid targets). Could some1 please help me out on this one?
 
Status
Not open for further replies.
Top