• 🏆 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] Spell Help part 1 [hypnosis]

Status
Not open for further replies.
Level 3
Joined
Oct 29, 2011
Messages
43
I want to make custom spell but i can't figure it out how to. Please help me to make this spell so that i can figure out how to do some custom spell using TRIGGERS only. thanks in advance :))

A spell called... HYPNOSIS. :ogre_frown:

Hypnosis Juvan (name of my hero) releases an inevitable gas around him making all enemy and allied units around 600 AoE attack the targeted unit.

Level 1 - Lasts 15 seconds, maximum of 4 units (2 for allied and 2 for enemies)
Level 2 - Lasts 15 seconds, maximum of 6 units (3 for allied and 3 for enemies)
Level 3 - Lasts 15 seconds, maximum of 8 units (4 for allied and 4 for enemies)
Level 4 - Lasts 15 seconds, maximum of 10 units (5 for allied and 5 for enemies)

Effects

-Units affected is the one nearest to the hero.
-Heroes are affected, too, which they will not able to control it.
-Channeling.

AGAIN THANKS IN ADVANCE :D :thumbs_up:
 
Level 3
Joined
Oct 29, 2011
Messages
43
The targeted enemy unit will be attacked by the affected units around the caster.. thanks for showing interest :D
 
Level 3
Joined
Oct 29, 2011
Messages
43
yeah, for a better explanation.. it works like this:

lets say:

W = Juvan (the caster of hypnosis)
X = Targeted enemy unit of the hypnosis
Y = Allied heroes and creeps of X
Z = Enemy heroes and creeps of X

Scenario:

W casted hypnosis on X, all Y and Z will attack X while W channels the skill.. Get it?

Again, thank you :)
 
Level 5
Joined
Sep 30, 2011
Messages
178
just use trigger's, use the ability like storm bolt or single target, create a special effect (Gas) and order nearby enemy to attack the enemy
 
Level 5
Joined
Sep 30, 2011
Messages
178
oh you want to maintain the ability? Here it is :

  • For you my friend
    • Events
      • Unit - Your unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to (Anything, if if you want to maintain it, use earthquake or anything, or storm bolt if you don't want to)
    • Actions
      • -------- Main part of trigger --------
      • Unit - Order (use your variable here) to Attack (Target unit of ability being cast)
      • Special Effect - Create a special effect attached to the (anything) of (Target unit of ability being cast) using Anything
      • -------- if you want to damage him, do this : --------
      • Unit - Cause (Casting unit) to damage (Target unit of ability being cast), dealing XXX.XX damage of attack type Spells and damage type Normal
I am a noob myself
 
Level 11
Joined
Nov 15, 2007
Messages
781
While I'm remembering how to do this, read up on hash tables, because you'll need a basic knowledge of what they are to make this ability MUI.

The trigger posted by aldo2000 won't work for what you want to do.

Edit: Oh this is a couple weeks old. The poor guy probably gave up by now.
 
Status
Not open for further replies.
Top