Spellpack Hero: DotA's Phantom Lancer

NetherHawk

New Member
Reaction score
26
DotA's Phantom Lancer

All spells are MUI(i think).
Pls tell me if there are any bugs.

Spirit Lance
Hurls a spirit lance at a target dealing damage and crippling movement.

Code:
Spirit Lance
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Spirit Lance 
    Actions
        Set SpiritLance_Caster = (Triggering unit)
        Set SpiritLance_Caster_Loc = (Position of SpiritLance_Caster)
        Set SpiritLance_Target = (Target unit of ability being cast)
        Unit - Create 1 Spirit Lance Dummy for (Owner of SpiritLance_Caster) at SpiritLance_Caster_Loc facing Default building facing degrees
        Set SpiritLance_Dummy = (Last created unit)
        Unit - Add a 1.00 second Generic expiration timer to SpiritLance_Dummy
        Unit - Set level of Spirit Lance Slow Effect  for SpiritLance_Dummy to (Level of Spirit Lance  for SpiritLance_Caster)
        Unit - Order SpiritLance_Dummy to Undead Necromancer - Cripple SpiritLance_Target
        Custom script:   call RemoveLocation(udg_SpiritLance_Caster_Loc)

DoppelWalk
Caster creates an illusion of himself and walks away invisible.

Code:
Doppelwalk
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Doppelwalk 
    Actions
        Set Doppelwalk_Caster = (Triggering unit)
        Custom script:   call SetUnitPathing(udg_Doppelwalk_Caster, false)
        Set Doppelwalk_Caster_Loc = (Position of Doppelwalk_Caster)
        Unit - Create 1 Doppelwalk Dummy for (Owner of Doppelwalk_Caster) at Doppelwalk_Caster_Loc facing Default building facing degrees
        Set Doppelwalk_Dummy[1] = (Last created unit)
        Unit - Create 1 Doppelwalk Dummy for (Owner of Doppelwalk_Caster) at Doppelwalk_Caster_Loc facing Default building facing degrees
        Set Doppelwalk_Dummy[2] = (Last created unit)
        Unit - Create 1 Doppelwalk Dummy for (Owner of Doppelwalk_Caster) at Doppelwalk_Caster_Loc facing Default building facing degrees
        Set Doppelwalk_Dummy[3] = (Last created unit)
        Hero - Create Doppelwalk Illusion and give it to Doppelwalk_Dummy[1]
        Unit - Pause Doppelwalk_Caster
        Unit - Add a 1.00 second Generic expiration timer to Doppelwalk_Dummy[1]
        Unit - Add a 1.00 second Generic expiration timer to Doppelwalk_Dummy[3]
        Unit - Add a 1.00 second Generic expiration timer to Doppelwalk_Dummy[2]
        Unit - Order Doppelwalk_Dummy[2] to Human Sorceress - Invisibility Doppelwalk_Caster
        Hero - Order Doppelwalk_Dummy[1] to use (Item carried by Doppelwalk_Dummy[1] of type Doppelwalk Illusion) on Doppelwalk_Caster
        Unit - Order Doppelwalk_Dummy[3] to Orc Shaman - Bloodlust Doppelwalk_Caster
        Custom script:   call RemoveLocation (udg_Doppelwalk_Caster_Loc)
        Unit - Unpause Doppelwalk_Caster
        Wait 1.00 seconds
        Custom script:   call SetUnitPathing(udg_Doppelwalk_Caster, true)

Juxtapose
The caster can create illusions of himself when he attacks.

Code:
Juxtapose
    Events
        Unit - A unit Is attacked
    Conditions
        ((Attacking unit) is an illusion) Equal to False
        ((Attacking unit) has buff Juxtapose (Passive)) Equal to True
    Actions
        Set Juxtapose_Caster = (Attacking unit)
        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 ((3 x (Level of Juxtapose  for Juxtapose_Caster)) + (2 x (Level of Phantom Edge  for Juxtapose_Caster)))
            Then - Actions
                Set Juxtapose_Caster_Loc = (Position of Juxtapose_Caster)
                Unit Group - Pick every unit in (Units in (Playable map area) matching ((((Matching unit) is an illusion) Equal to True) and ((((Matching unit) has buff Juxtapose (Passive)) Equal to True) and ((Owner of (Matching unit)) Equal to (Owner of Juxtapose_Caster))))) and do (Actions)
                    Loop - Actions
                        Unit Group - Add (Picked unit) to Juxtapose_Group
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        (Number of units in Juxtapose_Group) Less than 8
                    Then - Actions
                        Unit - Create 1 Juxtapose Dummy for (Owner of Juxtapose_Caster) at Juxtapose_Caster_Loc facing Default building facing degrees
                        Set Juxtapose_Dummy = (Last created unit)
                        Unit - Add a 1.00 second Generic expiration timer to Juxtapose_Dummy
                        Hero - Create Juxtapose Illusion and give it to Juxtapose_Dummy
                        Hero - Order Juxtapose_Dummy to use (Item carried by Juxtapose_Dummy of type Juxtapose Illusion) on Juxtapose_Caster
                        Custom script:   set bj_wantDestroyGroup = true
                        Unit Group - Remove all units from Juxtapose_Group
                        Custom script:   call RemoveLocation(udg_Juxtapose_Caster_Loc)
                    Else - Actions
                        Do nothing
            Else - Actions

Phantom Edge
Increases Juxtapose chance, allows illusions to duplicate, grants evasion.

Code:
Phantom Edge
    Events
        Unit - A unit Is attacked
    Conditions
        ((Attacking unit) is an illusion) Equal to True
        ((Attacking unit) has buff Juxtapose (Passive)) Equal to True
    Actions
        Set PhantomEdge_Caster = (Attacking unit)
        If ((Level of Phantom Edge  for PhantomEdge_Caster) Equal to 1) then do (Set PhantomEdge_Chance = 3) else do (Do nothing)
        If ((Level of Phantom Edge  for PhantomEdge_Caster) Equal to 2) then do (Set PhantomEdge_Chance = 5) else do (Do nothing)
        If ((Level of Phantom Edge  for PhantomEdge_Caster) Equal to 3) then do (Set PhantomEdge_Chance = 7) else do (Do nothing)
        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 PhantomEdge_Chance
            Then - Actions
                Set PhantomEdge_Caster_Loc = (Position of PhantomEdge_Caster)
                Unit Group - Pick every unit in (Units in (Playable map area) matching ((((Matching unit) is an illusion) Equal to True) and ((((Matching unit) has buff Juxtapose (Passive)) Equal to True) and ((Owner of (Matching unit)) Equal to (Owner of PhantomEdge_Caster))))) and do (Actions)
                    Loop - Actions
                        Unit Group - Add (Picked unit) to PhantomEdge_Group
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        (Number of units in PhantomEdge_Group) Less than 8
                    Then - Actions
                        Unit - Create 1 Juxtapose Dummy for (Owner of PhantomEdge_Caster) at PhantomEdge_Caster_Loc facing Default building facing degrees
                        Set PhantomEdge_Dummy = (Last created unit)
                        Unit - Add a 1.00 second Generic expiration timer to PhantomEdge_Dummy
                        Hero - Create Juxtapose Illusion and give it to PhantomEdge_Dummy
                        Hero - Order PhantomEdge_Dummy to use (Item carried by PhantomEdge_Dummy of type Juxtapose Illusion) on PhantomEdge_Caster
                        Custom script:   set bj_wantDestroyGroup = true
                        Unit Group - Remove all units from PhantomEdge_Group
                        Custom script:   call RemoveLocation(udg_PhantomEdge_Caster_Loc)
                    Else - Actions
                        Do nothing
            Else - Actions

Import Difficulty: Medium

Tinki3 Rocks--

Note: Contains other skills from the other thread i posted, was lazy to delete them.
I said they were not MUI in the map loading screen, i not sure how 2 tell.


Removed for adjustments to meet guidlines.
Moved to new thread.
 

darkRae

Ueki Fan (Ueki is watching you)
Reaction score
173
Well, I know that your Doppelwalk isn't MUI. There's a Wait at the end of the trigger.
 

0zaru

Learning vJASS ;)
Reaction score
60
thought you can have simplified Doppelwalk with a WindWalk and just creating the ilussion you know ? :p
 

NetherHawk

New Member
Reaction score
26
nope i dont want that. do you know Dota's doppelwalk dosnt have any critical floating text? if u can do that with windwalk, please share =]
 

~GaLs~

† Ғσſ ŧħə ѕαĸε Φƒ ~Ğ䣚~ †
Reaction score
180
>>nope i dont want that. do you know Dota's doppelwalk dosnt have any critical floating text? if u can do that with windwalk, please share =]
LoL! That sounds teasing.

>>Tinki3 Rocks--
Why is this around?

@Nether
Add atleast a screenshot for every spell.
 

NetherHawk

New Member
Reaction score
26
>>nope i dont want that. do you know Dota's doppelwalk dosnt have any critical floating text? if u can do that with windwalk, please share =]
LoL! That sounds teasing.

Seriously every keeps saying to use windwalk

>>Tinki3 Rocks--
Why is this around?

Tinki3 inspired me to continue using GUI.. hahaha, though i think after my exams i shall learn how to use handle vars >.>

>>@Nether
Add atleast a screenshot for every spell.

Erm, i have to use photobucket to do this?
 

~GaLs~

† Ғσſ ŧħə ѕαĸε Φƒ ~Ğ䣚~ †
Reaction score
180
>>Tinki3 inspired me to continue using GUI.. hahaha, though i think after my exams i shall learn how to use handle vars >.>
You should know basic Jass before that.

>>Erm, i have to use photobucket to do this?
According to my experience, photobucket sucks!
Use ImageShack.
 

0zaru

Learning vJASS ;)
Reaction score
60
nope i dont want that. do you know Dota's doppelwalk dosnt have any critical floating text? if u can do that with windwalk, please share =]
Level X - Data - Backstab Damage = true

change it to false in all levels and must do the trick if not well then your spell is right :p
 

NetherHawk

New Member
Reaction score
26
Nah, that false thing dosnt help. I dont really understand why blizzard put it there. Only if it is a range hero doing the backstab, the ciritcal floating text wont show.
 

hell_knight

Playing WoW
Reaction score
126
Minus , dopplewalk 2 casted at same time will result in one PL having no pathing!

Are you sure about the false thing it has worked for me before.

According to my experiences ImageShack sucks and photobucket rules o_O
I don't like advertisements and my photoes running out or bandwith limit.
 

Sim

Forum Administrator
Staff member
Reaction score
534
We already have Dopplewalk in the section.
 
J

jactor2

Guest
Nice, but you should post up a example map since some people arent as clever (such as me)
 

millzy

Ultra Cool Member
Reaction score
44
is there a map to dl i will never be able to use this with out knowing the base abilitys and the base abilitys for the dummys

also the variables
 

Leazy

You can change this now in User CP.
Reaction score
50
Set backstab DMG to -1 for wind walk and no text will be shown.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top