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

[Solved] PLS pls Help with AOE Spell monsun

Status
Not open for further replies.
Level 1
Joined
Feb 10, 2017
Messages
7
Hi all,

I really dont know why this trigger dont work - I tried to find some tips here but couldnt find some. Please help me, maybe its just a little thing that i don know :oops:

What do I want:
If someone cast the spell monsun, then specific units should not get damage from that spell. Others should get attacked.

Now the problem is, that the spell monsun is AOE spell and it has a duration. It makes flashes for amount of time on the castet area if a unit is inside.

And because of that I cant use "Unit-type of (Target unit of ability being cast)) because it cant find a target unit....Im gettin crazy :confused:

With this trigger its working indeed, but only one time. It means, when the first flash comes out the specific units dont get damage. But when the 0.2sec are over and the next flash comes, the units get of course damaged:

Event
Unit - A unit start to cast ability
Condition
(Ability being cast) equal monsun
Action
Unitgroup - Pick every unit in (Units of type soldier) and do (Unit - Make(Picked unit) Invulnerable)
Wait 0.20 seconds
Unitgroup - Pick every unit in (Units of type soldier) and do (Unit - Make(Picked unit) Vulnerable)

Thanks really for every help!!!!

Edit:

Ok now I tried another way. With this trigger the specific units get not damage, but the problem is that they stay all the time invulnerable... please can someone tell me how to fix this? They only should get for 0.2 sec invulnerable when the flash wants to hit them:

Unit - A unit start to cast ability
Condition
(Ability being cast) equal monsun
Action
Set TargetPoint = (Target point of ability being cast)
Set UnitGroup = (Units within 300.00 of TargetPoint)
Unitgroup - Pick every unit in (UnitGroup) and do (Actions)
Loop
IF (Unit type of(Picked Unit) equal soldier
Then
Unitgroup - Pick every unit in (UnitGroup) and do (Unit - Make(Picked unit) Invulnerable)
Wait 0.20 sec
Unitgroup - Pick every unit in (UnitGroup) and do (Unit - Make(Picked unit) Vulnerable)
Else
Do nothing
Custom script: call RemoveLocation(udg_TargetPoint)
Custom script: call DestroyGroup(udg_UnitGroup)
 
Last edited:
Level 1
Joined
Feb 10, 2017
Messages
7
Thank you for your answer. Would it then look like the monsum when it hits the target?

I want to keep the original spell as it is if its possible, so i thought maybe there is a way to do it by triggering.
 
Level 1
Joined
Feb 10, 2017
Messages
7
Yes, this was my first step to solve the problem. It would be perfect but however it doesnt work.
Sorry I have german editor but I try to explain:
The units that I excluded have the classification conjured (or is it called summoned in english editor?)
And the spell monsun have Allowed Targets: Enemy, Air, Ground, Non-Hero

Normally it should exclude that unit but it doesnt. They get damaged except of enemy Hero who summoned them.
I also tried to turn off the Option Non-Hero - and it stays the same.

I think this not possible to with Unit-Classification - if yes, it would be great. The spell monsun has a spell booster, maybe this is a reason why it cant work with Unit-Classification?

How should I write the trigger so that it works - any Ideas? :)
 
Level 1
Joined
Feb 10, 2017
Messages
7
Yes they really are :D Ok I tried the category "Selbstmörderisch". Now the Spell thing works fine!

But: Heros cant attack that units any more. Also when I set the Heros Allowed Targets to "Selbstmörderisch" they cant attack that units.

So I tried around every option and with "Gebäude" its quite fine. The Spell dont damage them, and Heros can attack them but some Heros cant use theit Spells on them.... its making me crazy.

Maybe its just a simple Trigger thing? :D
 
Level 19
Joined
Jul 2, 2011
Messages
2,161
Yes they really are :D Ok I tried the category "Selbstmörderisch". Now the Spell thing works fine!

But: Heros cant attack that units any more. Also when I set the Heros Allowed Targets to "Selbstmörderisch" they cant attack that units.

So I tried around every option and with "Gebäude" its quite fine. The Spell dont damage them, and Heros can attack them but some Heros cant use theit Spells on them.... its making me crazy.

Maybe its just a simple Trigger thing? :D
use the immolation like I said previously, just change the buff of the immolation to look like the mosoly... thing you speak of
 
Level 1
Joined
Feb 10, 2017
Messages
7
Ok i took the spell immolation, changed it to monsun. The problem is: When I click on the spell, i cannot choose an area where it should be cast. Instead it get castet over the unit that is casting it. And I could not figure out to get it look like the original monsum. There is a rain effect with flash - with immolation only flashes come up. Changed every option exactly like the monsun cast, there is no more field left.


Maybe I did something wrong. Can you explain it more detailed how to change immolation into monsun?

Thanks for your help!!
 
Level 19
Joined
Jul 2, 2011
Messages
2,161
Ok i took the spell immolation, changed it to monsun. The problem is: When I click on the spell, i cannot choose an area where it should be cast. Instead it get castet over the unit that is casting it. And I could not figure out to get it look like the original monsum. There is a rain effect with flash - with immolation only flashes come up. Changed every option exactly like the monsun cast, there is no more field left.


Maybe I did something wrong. Can you explain it more detailed how to change immolation into monsun?

Thanks for your help!!
do you need an area of effect?

you could use rain fire then. it's a doom guard ability

with it you should be able to create your spell
 
Level 1
Joined
Feb 10, 2017
Messages
7
Yes, as I said I want to keep the effect like its original it means AOE + Dmg over Duration + Graphic Effects like Monsun.

I made a picture so you can see whats going on exactly.

Monsun

There you see 4 soldiers. One of them is marked with a yellow circle and should not get damaged by monsun.

Next pic you see that I choose spell - it shows the area where it should happen.

Next you can see that the marked one gets damaged - and the others in the next flash intervall too. This should only happen to the other soldier, not the marked one.

In the last picture you cann see the monsun effect (rain).

Hope this is now clear what I mean :)
 
Last edited:
I know now why that unit - classes didn't work for you.

You changed for sure the Field - "Combat - Target as" / "Kampf Anvisiert als".
But you should add a Class in the Field "Value - Classes" / "Werte - Einheiten Klassifikation".

Check out the Attached Map. Foes Footmen are not hit by the Monsun and can still be attacked.
 

Attachments

  • Monsun does not hit footmen.w3x
    16.5 KB · Views: 29
Level 1
Joined
Feb 10, 2017
Messages
7
You are the man! :)

I let "Combat - Target as" empty then everything works fine. So happy that finally its working - and without any trigger!

Thank you so much for your patience Tasyen. Also thanks to TheLordOfChaos201 :)

Of course u got +Rep.
 
Status
Not open for further replies.
Top