How "Legion Commander" from DotA works? please.

RueK

New Member
Reaction score
11
I wanna know how how the trigger for moment of courage works, i bet is not just the "an unit begins an attack" can someone post some trigger that will help me replicating it? i liked the idea. GUI please?

also i would like to know if it can be made so it only triggers only with an autocast spell like poison arrow.

Planing to do a DPS hero and this would help, please answer me, thanks!
 

Inflicted

Currently inactive
Reaction score
63
I have no idea what that ability/item does. Please give a descriptive explanation of what it does and looks like.

Perhaps abit of reasoning behind it too would help.

also i would like to know if it can be made so it only triggers only with an autocast spell like poison arrow.
Do you mean passive on attack? Or the actual meaning of Auto-Cast, being you can right click on it and it becomes on every attack. (Like Searing Arrows for example)
And yeah you could trigger this so that it is not 'orby' and kinda stacks. But it might be difficult.
 

zero9x

Active Member
Reaction score
1
To make this spell, you need to:
Creat a dummy, delete his model and add Inventory, Locust to him.
Set Vampiric Poison ability to 0.20/0.40/0.60/0.80% Life Steal and 0.5s duration and make an item with Vampiric Poison
Set Unholy Frenzy to 3.0 Atk speed bonus and 0.5s duration (0 manacost)

Trigger:

Trigger:
  • Events
    • Unit - A unit Is attacked
    • Conditions
      • ((Attacking unit) belongs to an enemy of (Owner of (Attacked unit))) Equal to (==) True
      • (Level of Moment of the Courage for (Attacking unit)) Greater than (>) 0
    • Actions
      • Set AALoc1 = (Position of (Attacking unit))
        • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • (Random percentage) Less than or equal to (<=) (((Real((Level of Moment of the Courage for (Attacking unit)))) x 2) + 14)
          • Then - Actions
            • Unit - Create 1 Dummy for (Owner of (Attacking unit)) at AALoc1 facing Default building facing (270.0) degrees
            • Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
            • Unit - Add Unholy Frenzy to (Last created unit)
            • Hero - Create Vampiric Poison Item and give it to (Last created unit)
            • Item - Set charges remaining in (Last created item) to 1
            • Unit - Set level of Conjure Image Dummy Ability for (Last created unit) to (Level of (Ability being cast) for (Attacking unit))
            • Hero - Order (Last created unit) to use (Last created item) on (Attacking unit)
            • Unit - Order (Last created unit) to Undead Necromancer - Unholy Frenzy (Attacking unit)
          • Else - Actions
      • Custom script: call RemoveLocation(udg_AALoc1)


Good luck and have fun :)
 

Inflicted

Currently inactive
Reaction score
63
wut?
That made no sense, why would you make "Vampiric Poison" (I think you meant vampiric POTION) set to 0.5 seconds on a dummy unit?

I understand your usage of casting Unholy Frenzy for that short attack speed bonus.
But, what is "Moment of Courage"?

I still await clarification from the OP.
 

zero9x

Active Member
Reaction score
1
From newest heroes of DotA map:

Moment of Courage
Passive
When Tresdin is attacked, he has a chance to gain a moment of courage, instantly attacking again with bonus 20/40/60/80% lifesteal.
Cooldown: 0.75
• Chance: 16/18/20/22%
• Cannot proc more than once every 0.9 seconds. The lifesteal is not an orb effect.
• Moment of Courage checks for triggering whenever an attack against Tresdin begins, not when Tresdin is actually damaged by said attack.
 

Inflicted

Currently inactive
Reaction score
63
Ah that makes more sense, why not have it give that lifesteal bonus with a long amount of time, and when the attack event is complete just remove the buff?

As for cooldown, is your map only one hero per player? It could be easily done with Boolean Arrays if it only needs to be MPI.
 

RueK

New Member
Reaction score
11
To make this spell, you need to:
Creat a dummy, delete his model and add Inventory, Locust to him.
Set Vampiric Poison ability to 0.20/0.40/0.60/0.80% Life Steal and 0.5s duration and make an item with Vampiric Poison
Set Unholy Frenzy to 3.0 Atk speed bonus and 0.5s duration (0 manacost)

Trigger:

Trigger:
  • Events
    • Unit - A unit Is attacked
    • Conditions
      • ((Attacking unit) belongs to an enemy of (Owner of (Attacked unit))) Equal to (==) True
      • (Level of Moment of the Courage for (Attacking unit)) Greater than (>) 0
    • Actions
      • Set AALoc1 = (Position of (Attacking unit))
        • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • (Random percentage) Less than or equal to (<=) (((Real((Level of Moment of the Courage for (Attacking unit)))) x 2) + 14)
          • Then - Actions
            • Unit - Create 1 Dummy for (Owner of (Attacking unit)) at AALoc1 facing Default building facing (270.0) degrees
            • Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
            • Unit - Add Unholy Frenzy to (Last created unit)
            • Hero - Create Vampiric Poison Item and give it to (Last created unit)
            • Item - Set charges remaining in (Last created item) to 1
            • Unit - Set level of Conjure Image Dummy Ability for (Last created unit) to (Level of (Ability being cast) for (Attacking unit))
            • Hero - Order (Last created unit) to use (Last created item) on (Attacking unit)
            • Unit - Order (Last created unit) to Undead Necromancer - Unholy Frenzy (Attacking unit)
          • Else - Actions
      • Custom script: call RemoveLocation(udg_AALoc1)


Good luck and have fun :)

Oh sorry, i misstyped, i wanted so it can be triggered when i cast or autocast an orb based spell like poison arrows.

I know how to do it now thanks!

You know i am making a combined spell, like the Glaives of Wisdom + Moment of Courage but triggering when the hero attacks so it makes some kind of Double Attack? i think ima use the damage detect system of the Glaives of wisdom skill, but your trigger helped a lot and its a good reference i added it to my trigger list. thanks! you can now guys close this.
 

Juggernaut

I don't know what to change it to
Reaction score
33
You can just add the lifesteal and 100% attack speed on a spell book, add the spell book to the hero, disable the spell book, start a timer or wait for some seconds 0.5 or more( so that the buff doesn't last longer than one attack) and then remove the spell book.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    The bots will show up as users online in the forum software but they do not show up in my stats tracking. I am sure there are bots in the stats but the way alot of the bots treat the site do not show up on the stats
  • Varine Varine:
    I want to build a filtration system for my 3d printer, and that shit is so much more complicated than I thought it would be
  • Varine Varine:
    Apparently ABS emits styrene particulates which can be like .2 micrometers, which idk if the VOC detectors I have can even catch that
  • Varine Varine:
    Anyway I need to get some of those sensors and two air pressure sensors installed before an after the filters, which I need to figure out how to calculate the necessary pressure for and I have yet to find anything that tells me how to actually do that, just the cfm ratings
  • Varine Varine:
    And then I have to set up an arduino board to read those sensors, which I also don't know very much about but I have a whole bunch of crash course things for that
  • Varine Varine:
    These sensors are also a lot more than I thought they would be. Like 5 to 10 each, idk why but I assumed they would be like 2 dollars
  • Varine Varine:
    Another issue I'm learning is that a lot of the air quality sensors don't work at very high ambient temperatures. I'm planning on heating this enclosure to like 60C or so, and that's the upper limit of their functionality
  • Varine Varine:
    Although I don't know if I need to actually actively heat it or just let the plate and hotend bring the ambient temp to whatever it will, but even then I need to figure out an exfiltration for hot air. I think I kind of know what to do but it's still fucking confusing
  • The Helper The Helper:
    Maybe you could find some of that information from AC tech - like how they detect freon and such
  • Varine Varine:
    That's mostly what I've been looking at
  • Varine Varine:
    I don't think I'm dealing with quite the same pressures though, at the very least its a significantly smaller system. For the time being I'm just going to put together a quick scrubby box though and hope it works good enough to not make my house toxic
  • Varine Varine:
    I mean I don't use this enough to pose any significant danger I don't think, but I would still rather not be throwing styrene all over the air
  • The Helper The Helper:
    New dessert added to recipes Southern Pecan Praline Cake https://www.thehelper.net/threads/recipe-southern-pecan-praline-cake.193555/
  • The Helper The Helper:
    Another bot invasion 493 members online most of them bots that do not show up on stats
  • Varine Varine:
    I'm looking at a solid 378 guests, but 3 members. Of which two are me and VSNES. The third is unlisted, which makes me think its a ghost.
    +1
  • The Helper The Helper:
    Some members choose invisibility mode
    +1
  • The Helper The Helper:
    I bitch about Xenforo sometimes but it really is full featured you just have to really know what you are doing to get the most out of it.
  • The Helper The Helper:
    It is just not easy to fix styles and customize but it definitely can be done
  • The Helper The Helper:
    I do know this - xenforo dropped the ball by not keeping the vbulletin reputation comments as a feature. The loss of the Reputation comments data when we switched to Xenforo really was the death knell for the site when it came to all the users that left. I know I missed it so much and I got way less interested in the site when that feature was gone and I run the site.
  • Blackveiled Blackveiled:
    People love rep, lol
    +1
  • The Helper The Helper:
    The recipe today is Sloppy Joe Casserole - one of my faves LOL https://www.thehelper.net/threads/sloppy-joe-casserole-with-manwich.193585/
  • The Helper The Helper:
    Decided to put up a healthier type recipe to mix it up - Honey Garlic Shrimp Stir-Fry https://www.thehelper.net/threads/recipe-honey-garlic-shrimp-stir-fry.193595/
  • The Helper The Helper:
    Here is another comfort food favorite - Million Dollar Casserole - https://www.thehelper.net/threads/recipe-million-dollar-casserole.193614/

      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