Spell Request: Lightning Edge

troylow

New Member
Reaction score
0
The hero charges up a ball of lightning for 2 seconds then blast it at a targeted person in melee range,the lightning ball has a 50% chance to miss.
 

Daicos

New Member
Reaction score
25
no offense but this is for help making the spells not requests... and thats simple why cant u do it urself?
 

Kazuga

Let the game begin...
Reaction score
110
no offense but this is for help making the spells not requests... and thats simple why cant u do it urself?
You can request for spells here to if I'm not wrong, there are a lot of people who has already and there are even threads were you can request a spell from the submitter.

Ontopic:
This is all you need for the spell, unless you want some special effects etc. But those can be added in the object editor.

What you do is:
Make a spell based of fireball or storm bolt, set the duration unit and hero to 0.01, (the reason is simple: If you put a value to 0 it often takes it for forever, meaning that the stun would never go away, but a 0.01 stun isn't noticeable). Set the casting time to two seconds, set the casting range to 100-150, you can also add special effects if you wish so. Then all that remains is the trigger:
Code:
Untitled Trigger 002
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Random integer number between 1 and 100) Less than or equal to 50
            Then - Actions
                Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing (X) damage of attack type Spells and damage type Normal
            Else - Actions

And there you go.
 

Jagan

New Member
Reaction score
30
You'll need to set the Storm Bolt ability's damage to 0 too since you're triggering the damage. Otherwise, the unit will get damaged twice or damaged with the Storm Bolt's damage even when the spell supposedly misses.
 

demotry241

Don't Ever Categorize Yourself.
Reaction score
105
a lightning edge....hmmm


a hero charges.... that means the enemies can run!,

and the hero damages the target in melee range...

hmmm....

oh right.. kakashi from naruto.


a sliding one. great...
 

Siretu

Starcraft 2 Editor Moderator
Reaction score
293
Code:
Untitled Trigger 002
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Random integer number between 1 and 100) Less than or equal to 50
            Then - Actions
                Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing (X) damage of attack type Spells and damage type Normal
            Else - Actions

And there you go.
You forgot the condition. Add the condition: Ability being cast Equals *Your ability*
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      • Ghan
        Administrator - Servers are fun

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top