• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Spell&Trigger problem.

Status
Not open for further replies.
Level 6
Joined
May 8, 2010
Messages
150
The spell is basically an aoe spell which deals intel damage, someone help me fix the below trigger?


[trigger=Manifold Bramble]
Manfiold Bramble
Events
Unit - A unit Begins channeling an ability
Conditions
(Ability being cast) Equal to Manifold Bramble
Actions
Set ManifoldPoint[(Player number of (Owner of (Triggering unit)))] = (Target point of ability being cast)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Bramble for (Triggering unit)) Equal to 1
Then - Actions
Unit - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 600.00 at ManifoldPoint[(Player number of (Owner of (Triggering unit)))], dealing (2.00 x (Real((Intelligence of (Triggering unit) (Include bonuses))))) damage of attack type Spells and damage type Normal
Unit Group - Pick every unit in (Units within 600.00 of ManifoldPoint[(Player number of (Owner of (Triggering unit)))]) and do (Special Effect - Create a special effect attached to the origin of (Picked unit) using Abilities\Spells\Other\TalkToMe\TalkToMe.mdl)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Bramble for (Triggering unit)) Equal to 2
Then - Actions
Unit - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 600.00 at ManifoldPoint[(Player number of (Owner of (Triggering unit)))], dealing (4.00 x (Real((Intelligence of (Triggering unit) (Include bonuses))))) damage of attack type Spells and damage type Normal
Unit Group - Pick every unit in (Units within 600.00 of ManifoldPoint[(Player number of (Owner of (Triggering unit)))]) and do (Special Effect - Create a special effect attached to the origin of (Picked unit) using Abilities\Spells\Other\TalkToMe\TalkToMe.mdl)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Bramble for (Triggering unit)) Equal to 3
Then - Actions
Unit - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 600.00 at ManifoldPoint[(Player number of (Owner of (Triggering unit)))], dealing (6.00 x (Real((Intelligence of (Triggering unit) (Include bonuses))))) damage of attack type Spells and damage type Normal
Unit Group - Pick every unit in (Units within 600.00 of ManifoldPoint[(Player number of (Owner of (Triggering unit)))]) and do (Special Effect - Create a special effect attached to the origin of (Picked unit) using Abilities\Spells\Other\TalkToMe\TalkToMe.mdl)
Else - Actions
[/trigger]

Manifold bramble is based off the spell silence.
 
Last edited:
Level 37
Joined
Mar 6, 2006
Messages
9,240
Is it not working somehow? Anyway, it should look like this:

[trigger=Manifold Bramble]
Manfiold Bramble
Events
Unit - A unit Begins channeling an ability
Conditions
(Ability being cast) Equal to Manifold Bramble
Actions
Set ManifoldPoint[(Player number of (Owner of (Triggering unit)))] = (Target point of ability being cast)
Unit - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 600.00 at ManifoldPoint[(Player number of (Owner of (Triggering unit)))], dealing (2.00 x (Real(Level of Manifold Bramble)) for (Triggering Unit) x (Real((Intelligence of (Triggering unit) (Include bonuses))))) damage of attack type Spells and damage type Normal
Custom script: set bj_wantDestroyGroup = true
Unit Group - Pick every unit in (Units within 600.00 of ManifoldPoint[(Player number of (Owner of (Triggering unit)))]) and do (Special Effect - Create a special effect attached to the origin of (Picked unit) using Abilities\Spells\Other\TalkToMe\TalkToMe.mdl)
Custom script: call RemoveLocation(udg_ManifoldPoint[(Player number of (Owner of (Triggering unit)))]))
[/trigger]


How do you plan to remove the special effect?
 
Status
Not open for further replies.
Top