Spell New Omnislash

emjlr3

Change can be a good thing
Reaction score
395
yes you heard right, this omnislash actually goes off of your hero attacking the unit it blinks to, and does not fake the attack :)

and its easily customizable for your very usage :)

enjoy

**updated, should have no more bugs

I remove the whole deselecting of the hero when hes selected...i don't see a point to having it, if you really want to move your hero during it, you will miss attacks, and that method still did not eliminate you being able to do that

the hero is deselected at the start and re selected at the end
 

Attachments

  • omni.JPG
    omni.JPG
    80 KB · Views: 1,946
  • omni test.w3x
    75.5 KB · Views: 1,699
S

Sunny_D

Guest
well, i think i detected a bug already. if you have selected more units than the blademaster and use omnislash, then he stays invulnerable and unselectable (seems a periodic event that deselects the hero - unfortunately i dont know JASS)

but the spell itself is great and in my eyes better than the one that is already existing ;)
 

Tinki3

Special Member
Reaction score
418
Nice, nice. Is this for the spell index, or just for show?

Btw, screenshot needs to be changed/updated; it hardly shows what's happening.

+rep none the less

I rated the thread, and I think everyone who has dl'ed the spell should too =)
 

emjlr3

Change can be a good thing
Reaction score
395
I still liked it eventhough I made it before :D
Very nice :D

did you no, id like to see it

Nice, nice. Is this for the spell index, or just for show?

Btw, screenshot needs to be changed/updated; it hardly shows what's happening.

+rep none the less

I rated the thread, and I think everyone who has dl'ed the spell should too =)

index, how do you suggest a better screen? lol that was as good as I could get

well, i think i detected a bug already. if you have selected more units than the blademaster and use omnislash, then he stays invulnerable and unselectable (seems a periodic event that deselects the hero - unfortunately i dont know JASS)

but the spell itself is great and in my eyes better than the one that is already existing ;)
he shouldn't, but I look into it

Ah.. I see, you unpause the hero then order the hero to attack the unit once?

no actually, he is never paused, I detect when the target is attacked, then wait for it to take damage, then move the hero to the next target, or after the timer is up even if the target does not take damage
 

lh2705

Just another Helper
Reaction score
111
Well, I made it but I did not post it... Hold on lemme get it...
Well, Here you go, Its not perfect I know that...

Code:
Omnislash Freestyle
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Test/Omnislash Freestyle
    Actions
        Set Caster = (Casting unit)
        Set TargetUnit = (Target unit of ability being cast)
        Set Targetloc = ((Position of TargetUnit) offset by 150.00 towards ((Facing of Caster) + (Random real number between -80.00 and 80.00)) degrees)
        Animation - Change Caster's vertex coloring to (80.00%, 80.00%, 100.00%) with 40.00% transparency
        Unit - Make Caster Invulnerable
        Special Effect - Create a special effect attached to the chest of Caster using Abilities\Spells\NightElf\Blink\BlinkCaster.mdl
        Wait 0.25 seconds
        Special Effect - Destroy (Last created special effect)
        Unit - Move Caster instantly to (Position of TargetUnit)
        Unit - Make Caster face TargetUnit over 0.10 seconds
        Animation - Play Caster's attack animation
        Unit - Make Caster to damage TargetUnit for ((100.00 x (Real((Level of Test/Omnislash Freestyle for Caster)))) + ((Real((Agility of Caster (Include bonuses)))) x (Real((Level of Test/Omnislash Freestyle for Caster))))) using attack type Hero and damage type Normal.
        Wait 0.45 game-time seconds
        For each (Integer A) from 1 to (3 x (Level of Test/Omnislash Freestyle for Caster)), do (Actions)
            Loop - Actions
                Set Casterloc = (Position of Caster)
                Set TargetGroup = (Units within 500.00 of Casterloc matching ((((Matching unit) belongs to an ally of (Owner of (Triggering unit))) Equal to False) and (((Matching unit) is alive) Equal to True)))
                Set TargetUnit = (Random unit from TargetGroup)
                Custom script:   call DestroyGroup(udg_TargetGroup)
                Set Targetloc = ((Position of TargetUnit) offset by 150.00 towards ((Facing of Caster) + (Random real number between -80.00 and 80.00)) degrees)
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        TargetUnit Equal to No unit
                    Then - Actions
                        Do nothing
                    Else - Actions
                        Custom script:   call RemoveLocation(udg_Casterloc)
                        Set Casterloc = (Position of Caster)
                        Special Effect - Create a special effect attached to the chest of Caster using Abilities\Spells\NightElf\Blink\BlinkCaster.mdl
                        Custom script:   call RemoveLocation(udg_Casterloc)
                        Unit - Move Caster instantly to Targetloc
                        Set Casterloc = (Position of Caster)
                        Custom script:   call RemoveLocation(udg_Casterloc)
                        Unit - Make Caster face TargetUnit over 0.10 seconds
                        Animation - Play Caster's attack animation
                        Unit - Order Caster to Attack Once TargetUnit
                        Unit - Make Caster to damage TargetUnit for ((100.00 x (Real((Level of Test/Omnislash Freestyle for Caster)))) + ((Real((Agility of Caster (Include bonuses)))) x (Real((Level of Test/Omnislash Freestyle for Caster))))) using attack type Hero and damage type Normal.
                        Set TargetUnit = No unit
                        Custom script:   call RemoveLocation(udg_Targetloc)
                        Wait 0.45 game-time seconds
                        Special Effect - Destroy (Last created special effect)
                Custom script:   call RemoveLocation(udg_Casterloc)
        Animation - Reset Caster's animation
        Unit - Make Caster Vulnerable
        Animation - Change Caster's vertex coloring to (100.00%, 100.00%, 100.00%) with 0.00% transparency
 
S

Sunny_D

Guest
i have to correct myself a little, this bug happens if you select another group while omnislash is activated. then the blademaster stays in most cases invulnerable and deselects periodically.

i've attached a screeny, and although its in german, you see that the BM is obviously still invulnerable although omnislash shouldnt be active anymore. :)
 

Attachments

  • screenshot1.jpg
    screenshot1.jpg
    121 KB · Views: 632

Everlook

New Member
Reaction score
2
Well, I tried to import the spell as descriped in the read-me but when i want to save the map WE crashes. What am I doing wrong?? :confused:
 

Corleone

New Member
Reaction score
44
Haha, I see you've used the same terrain as in the Line-Spell template :p

Comments ;
Well, it's not that original, since the Juggernaut has it in DotA ( <-- which everyone plays <-- Admit it!! ). Still, looks nice. Also, thanks for making it in JASS --> I'll probably learn how to use//create some functions with it.
 

emjlr3

Change can be a good thing
Reaction score
395
Well, I made it but I did not post it... Hold on lemme get it...
Well, Here you go, Its not perfect I know that...

Code:
Omnislash Freestyle
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Test/Omnislash Freestyle
    Actions
        Set Caster = (Casting unit)
        Set TargetUnit = (Target unit of ability being cast)
        Set Targetloc = ((Position of TargetUnit) offset by 150.00 towards ((Facing of Caster) + (Random real number between -80.00 and 80.00)) degrees)
        Animation - Change Caster's vertex coloring to (80.00%, 80.00%, 100.00%) with 40.00% transparency
        Unit - Make Caster Invulnerable
        Special Effect - Create a special effect attached to the chest of Caster using Abilities\Spells\NightElf\Blink\BlinkCaster.mdl
        Wait 0.25 seconds
        Special Effect - Destroy (Last created special effect)
        Unit - Move Caster instantly to (Position of TargetUnit)
        Unit - Make Caster face TargetUnit over 0.10 seconds
        Animation - Play Caster's attack animation
        Unit - Make Caster to damage TargetUnit for ((100.00 x (Real((Level of Test/Omnislash Freestyle for Caster)))) + ((Real((Agility of Caster (Include bonuses)))) x (Real((Level of Test/Omnislash Freestyle for Caster))))) using attack type Hero and damage type Normal.
        Wait 0.45 game-time seconds
        For each (Integer A) from 1 to (3 x (Level of Test/Omnislash Freestyle for Caster)), do (Actions)
            Loop - Actions
                Set Casterloc = (Position of Caster)
                Set TargetGroup = (Units within 500.00 of Casterloc matching ((((Matching unit) belongs to an ally of (Owner of (Triggering unit))) Equal to False) and (((Matching unit) is alive) Equal to True)))
                Set TargetUnit = (Random unit from TargetGroup)
                Custom script:   call DestroyGroup(udg_TargetGroup)
                Set Targetloc = ((Position of TargetUnit) offset by 150.00 towards ((Facing of Caster) + (Random real number between -80.00 and 80.00)) degrees)
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        TargetUnit Equal to No unit
                    Then - Actions
                        Do nothing
                    Else - Actions
                        Custom script:   call RemoveLocation(udg_Casterloc)
                        Set Casterloc = (Position of Caster)
                        Special Effect - Create a special effect attached to the chest of Caster using Abilities\Spells\NightElf\Blink\BlinkCaster.mdl
                        Custom script:   call RemoveLocation(udg_Casterloc)
                        Unit - Move Caster instantly to Targetloc
                        Set Casterloc = (Position of Caster)
                        Custom script:   call RemoveLocation(udg_Casterloc)
                        Unit - Make Caster face TargetUnit over 0.10 seconds
                        Animation - Play Caster's attack animation
                        Unit - Order Caster to Attack Once TargetUnit
                        Unit - Make Caster to damage TargetUnit for ((100.00 x (Real((Level of Test/Omnislash Freestyle for Caster)))) + ((Real((Agility of Caster (Include bonuses)))) x (Real((Level of Test/Omnislash Freestyle for Caster))))) using attack type Hero and damage type Normal.
                        Set TargetUnit = No unit
                        Custom script:   call RemoveLocation(udg_Targetloc)
                        Wait 0.45 game-time seconds
                        Special Effect - Destroy (Last created special effect)
                Custom script:   call RemoveLocation(udg_Casterloc)
        Animation - Reset Caster's animation
        Unit - Make Caster Vulnerable
        Animation - Change Caster's vertex coloring to (100.00%, 100.00%, 100.00%) with 0.00% transparency

not even close.....

i have to correct myself a little, this bug happens if you select another group while omnislash is activated. then the blademaster stays in most cases invulnerable and deselects periodically.

i've attached a screeny, and although its in german, you see that the BM is obviously still invulnerable although omnislash shouldnt be active anymore. :)

very strange that would cause it to do so....not sure y it does as it is, that trigger should eventually be destroyed no matter what...

Well, I tried to import the spell as descriped in the read-me but when i want to save the map WE crashes. What am I doing wrong?? :confused:

sux....im pretty sure you screwed up with the whole cscache part...

Haha, I see you've used the same terrain as in the Line-Spell template :p

Comments ;
Well, it's not that original, since the Juggernaut has it in DotA ( <-- which everyone plays <-- Admit it!! ). Still, looks nice. Also, thanks for making it in JASS --> I'll probably learn how to use//create some functions with it.

well it is my terrain..... :)

of course its not original, nor was the one in dota, it was/is a proof of concept, for something many people have asked about in the past and I am sure will again in the future
 

Tinki3

Special Member
Reaction score
418
index, how do you suggest a better screen? lol that was as good as I could get
Well, if you look here, you'll see mine. But, I had to take about 10 sreenshots to get lucky in order to get that one.

So, basically, just spam the screenshot button as soon as the hero attacks the target, and try to get their attack animation in during the process.
 

Everlook

New Member
Reaction score
2
Hi emjlr3,

I testet your spell with my friend, and actually we found some evil bugs:

-Rarly, it attacks only 1 time, then the hero freezes at his postion and keeps deselcting and invulnerable.

-Often he will stay invulnerable or keeps deselecting.

-Sometimes, the hero blinks to the middle of the map.

I didn´t change anything, used the same spell...
 

emjlr3

Change can be a good thing
Reaction score
395
maybe i shall re write this from scratch

i had written it a few months ago for fun, found it, cleaned it up a bit and desided to upload it

ill have to look into tit
 

emjlr3

Change can be a good thing
Reaction score
395
new, hopefully bug free version
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top