Spells - Making a DotA like Omnislash

Oh i c, the script actually allow the caster to attack normally (I dun c any PauseUnit in the script), that's how he manage to get a real attack while slashing?
What about the attack type and damage type?
 
> that's how he manage to get a real attack while slashing?

Yes.

> What about the attack type and damage type?

Attack types determine more or less how much of the damage's damage
will be dealt to the target, to be vague.

Remember that fortified armour takes extra damage from "Siege" type attacks,
Hero armour reduces damage from most attack types, large armour takes extra
damage from "Magic" types, etc, etc ...

I actually don't know too much about Damage Types, so I'm not going to explain anything there.
 
Er... Actually im not asking about that basic stuff, but nvm since you dunno... Cos once I use ATTACK_TYPE_HERO and DAMAGE_TYPE_MELEE, I get a physical normal attack, but another time I use ATTACK_TYPE_CHAOS and DAMAGE_TYPE_UNIVERSAL I get an exact damage.
 
> another time I use ATTACK_TYPE_CHAOS and DAMAGE_TYPE_UNIVERSAL I get an exact damage

That sounds about right.
"Chaos" does full damage to all armor types.
"Universal" I think is used for ultimates, so it can damage some types of "immune" units.
 
It bothers me a bit that thread name is "DotA like Omnislash". The ability itself comes from Final Fantasy VII PlayStation One game. Basically please mention original idea is taken from Final Fantasy VII. I would be really thankful for that.
 
@tinki3, i would like to ask something, would it be possible to create an illusion of the juggernaut with 100% damage and ask it to attack den remove it instead? i think jugg can score critcals while carrying out omnislash. or can u boost jugg's AS by 400% and realli ask him to attack those targets.
 
Nice tutorial, but it has one sort of bugg. If the unit dies while your doing omnislash and there is no new unit nearby, he will stop the omnislash (ofcourse) but then as soon as you get within range of a unit again (could be 5 seconds later...) he continiues where he left out... How do you prevent this?
 
> How do you prevent this?

Add in a custom script line exactly like the one in red, below.
Note that it must be in the same place as shown in this trigger in order to work.
That is, in the "Else" part of the "If-then-Else" statement located inside the loop.

Code:
Omnislash
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Omnislash 
    Actions
        Set o = (Triggering unit)
        Set t = (Target unit of ability being cast)
        Set tl = (Position of t)
        If ((Level of Omnislash  for o) Equal to 1) then do (Set loops = 2) else do (Do nothing)
        If ((Level of Omnislash  for o) Equal to 2) then do (Set loops = 4) else do (Do nothing)
        If ((Level of Omnislash  for o) Equal to 3) then do (Set loops = 7) else do (Do nothing)
        Unit - Make o Invulnerable
        Animation - Change o's vertex coloring to (100.00%, 100.00%, 100.00%) with 50.00% transparency
        Selection - Remove o from selection
        Unit - Move o instantly to tl
        Custom script:   call RemoveLocation(udg_tl)
        Animation - Play o's attack animation
        Unit - Cause o to damage t, dealing (Random real number between 150.00 and 250.00) damage of attack type Hero and damage type Normal
        Special Effect - Create a special effect attached to the chest of o using Abilities\Spells\NightElf\Blink\BlinkCaster.mdl
        Special Effect - Destroy (Last created special effect)
        For each (Integer A) from 1 to loops, do (Actions)
            Loop - Actions
                Wait 0.30 game-time seconds
                Set o_current_loc = (Position of o)
                Set EG[1] = (Units within 600.00 of o_current_loc matching ((((Matching unit) is A structure) Not equal to True) and ((((Matching unit) is alive) Equal to True) and ((((Matching unit) belongs to an enemy of (Owner of o)) Equal to True) and ((((Matching unit) is A flying 
                Set EG[2] = (Random 1 units from EG[1])
                Custom script:   call RemoveLocation(udg_o_current_loc)
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        (Number of units in EG[1]) Greater than 0
                    Then - Actions
                        Unit Group - Pick every unit in EG[2] and do (Actions)
                            Loop - Actions
                                Set p = (Picked unit)
                                Set pl = (Position of p)
                                Selection - Remove o from selection
                                Unit - Move o instantly to pl
                                Custom script:   call RemoveLocation(udg_pl)
                                Animation - Play o's attack animation
                                Unit - Cause o to damage p, dealing (Random real number between 150.00 and 250.00) damage of attack type Hero and damage type Normal
                                Special Effect - Create a special effect attached to the chest of o using Abilities\Spells\NightElf\Blink\BlinkCaster.mdl
                                Special Effect - Destroy (Last created special effect)
                        Custom script:   call DestroyGroup(udg_EG[1])
                        Custom script:   call DestroyGroup(udg_EG[2])
                    Else - Actions
                        [COLOR="Red"]Custom script:   set bj_forLoopAIndex = bj_forLoopAIndexEnd + 1[/COLOR]
                        Custom script:   call DestroyGroup(udg_EG[1])
                        Custom script:   call DestroyGroup(udg_EG[2])
                        Selection - Add o to selection for (Owner of o)
                        Animation - Change o's vertex coloring to (100.00%, 100.00%, 100.00%) with 0.00% transparency
                        Unit - Make o Vulnerable
        Selection - Add o to selection for (Owner of o)
        Animation - Change o's vertex coloring to (100.00%, 100.00%, 100.00%) with 0.00% transparency
        Unit - Make o Vulnerable
 
what variable type should be (P) and (PL) (variables)

Code:
Set p = (Picked [B]unit[/B])
Set pl = ([B]Position[/B] of p)
Simply judged by what they are set to, p is a unit and pl is a point.
 
Whoa quite an old thread.. But doesn't dota's Omnislash works with splash and critical strike?
 
Stun Problem

What to edit from object editor (for omnislash) to make stun 0.01 secs ?:(

Hey my omnislash is not working !! i press my omnislash on an enemy creep and then it stuns (lower than 1 second)
without damage or something special !!
 
Actually, the new omnislash is creating the same dummy Hero (with locust and invun), set its level to the same as the caster and create items to the same as the caster and the skills and skill levels..

Simple really ^_^..

About double slash (if it still does exist), it is also VERY possible..
 
Thats kind of stupid, recreating the hero. What you do is move them to the enemy, have them attack and repeat. That way it includes crit and stuff.
 
There's no such thing as creating a new unit in Omnislash...
Just teleportation + Triggered damage + Order for attack + Hope for getting a second hit.
 
Hi guys im a brand new member here and i have a question with the omnislash

when i activate it and use it. Its very different.

like if i kill 1 unit it teleports to another (duh) then it hits the other person but when it teleports to another unit it doesnt hit him and teleports again to another unit but the slashes i requested were 3
 
+rep!
A nice spell and the tutorial explained things properly.
+I managed to make it work.
Cheers!
 
Wow, thanks Tinki3, great spell, got me onto kindof advanced triggers.

Would you mind me making the one with the items and splash and all that, then posting it? Will give you main credits though.
 
> the items and splash and all that

You mean if you have Battle Fury then you will splash or if you have Buriza then you will have Critical Strike? It's not possible. Not even in DotA. Sometimes you may see Critical Strike during Omnislash but those only occur based off luck and speed.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Varine Varine:
    +1
  • Varine Varine:
    I've been really into this
  • Varine Varine:
    It's a musical retelling of The Odyssey
  • Varine Varine:
    Also if you want mixed drinks without alcohol, there's a handful of non-alcoholic 'spirits'. Ritual Zero and Free Spirit are the two brands I've tried and they are alright. They don't have a TON of options, but they have some gin and whiskey alternatives that are fun to play with.
  • Varine Varine:
    I got a couple bottles to make some mixy drinks around holidays when I mostly want to drink, they aren't exact replacements but they are surprisingly close.
  • Varine Varine:
    I ended up with some hop water things that I really like instead for when I want to feel like I'm participating
  • Varine Varine:
    I just got moved to unsupervised probation, so I can get away with drinking a bit now. I technically am not supposed to, but I don't think I get checked anymore. I really want to smoke weed but it scares me
  • The Helper The Helper:
    Happy Wednesday! I am not feeling it today, my teeth are bothering me, or the fragments that were left behind are coming up and it is extra painful today. Don't ever let them tell you that getting full dental implants is easy. They have to pull all your teeth to do those and apparently they are not very good at getting all the teeth out all the time.
    +1
  • The Helper The Helper:
    That is true with Dentures too. I am taking the day off and working from home. The big difference is though, I am not drinking anymore so I have a nice tea and coffee regimen set up :)
  • Varine Varine:
    I wish i had a 3D scanner
  • Varine Varine:
    That would make what I'm doing SO much easier
  • Varine Varine:
    I guess I could just take a picture of it and then use that as a reference. I have a circuit board with some weird holes I can't get measured right
  • Varine Varine:
    Oh I got a Klipper mod for my big printer! It comes with a bunch of parts and I don't totally understand what it does but apparently it's way better than Marlin, which is I think what it currently runs
    +1
  • The Helper The Helper:
    Nice!
  • Varine Varine:
    You're people in Florida safe? The only couple I know are safe but I think they evacuated.
  • The Helper The Helper:
    They are without power but safe. Flood damage and stuff alot of tornados hit east Florida. No fatalities or injuries to any of my people that I know of
  • The Helper The Helper:
    They have been through all the Florida hurricanes they are like me I have been through every texas hurricane for the last 50 years.
  • The Helper The Helper:
    Never evacuated.
  • The Helper The Helper:
    Check out this bad ass Chicken Noodle soup recipe - https://www.thehelper.net/threads/crack-chicken-noodle-soup.196687/
  • The Helper The Helper:
    Happy Saturday!
    +1

      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