Can anyone help me!

olcifaraga

New Member
Reaction score
1
I made a spell in world editor.
Passive Skill
Level 1 - Deals 0.4% of the max HP of the target per second.
Level 2 - Deals 0.6% of the max HP of the target per second.
Level 3 - Deals 0.8% of the max HP of the target per second.
Level 4 - Deals 1% of the max HP of the target per second.
Effects 1000 AOE of the hero has this skill.

I have tried change Life Regen Aura ability to enemies with negative values.
But values are too little i can't adjust them.It can be minimum only %1 (0.01) .Is it possible to make this %0.4 (0.004).
If this possible with trigger .Anyone make this in GUI plz!!!


Thanks for helping..
 

Moridin

Snow Leopard
Reaction score
144
Firstly, welcome to thehelper.net.

One thing. Not everyone has played DotA over here, so please explain what DotA specific abilities do before you ask someone to make it.

Secondly, I think the minimum values can be edited in the game constants. Advanced -> Gameplay Constants.

It can be triggered, but that's a little more complicated than a simple edit in the constants.
 

Moridin

Snow Leopard
Reaction score
144
The trigger you would need would be:

Trigger:
  • heartstopper aura
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • Set temp_unit_group = (Units in (Playable map area) matching ((Level of HeartStopper Aura for (Matching unit)) Greater than 0))
      • Unit Group - Pick every unit in temp_unit_group and do (Actions)
        • Loop - Actions
          • Set temp_unit = (Picked unit)
          • Set temp_unit_group_2 = (Units within 1000.00 of (Position of temp_unit))
          • Unit Group - Pick every unit in temp_unit_group and do (Actions)
            • Loop - Actions
              • Unit - Set life of (Picked unit) to ((Life of (Picked unit)) - ((0.20 + (0.20 x (Real((Level of HeartStopper Aura for temp_unit)))))) x Max life of (Picked unit))
      • Custom script: call DestroyGroup (udg_temp_unit_group)
      • Custom script: call DestroyGroup (udg_temp_unit_group_2)


Ok. For this trigger you will need:

Variables:
-temp_unit_group - A unit group variable
-temp_unit_group_2 - A unit group variable
-temp_unit - A unit variable

Objects:
-A dummy ability called HeartStopper Aura which does nothing. Alternatively you COULD give it effects / flashy stuffs.

------------------------------

Hope that helped.

P.S. Editing your previous post will not give your thread a bump up on the forum.
 

Rainther

I guess I should write something of value here...
Reaction score
61
May wanna consider lethal damage to last hit enemies with low hp too.
 

Moridin

Snow Leopard
Reaction score
144
@ Rainther. I hadn't thought of that.

You could use the Unit - make unit damage unit action right?
 

Rainther

I guess I should write something of value here...
Reaction score
61
Yeah, but since units have damage reduction etc. I'm not sure if there's any damage type which ingores this, haven't checked. But if there isn't you can add a 10 000 dmg if the unit got lesser hp then what it's going to reduce.
 

Axe.killer

New Member
Reaction score
24
Code:
HeartStop
    Events
        Time - Every 5.00 seconds of game time
    Conditions
    Actions
        Set ALLUNITS = (Units in (Playable map area))
        Unit Group - Pick every unit in ALLUNITS and do (Actions)
            Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        ((Picked unit) has buff (HEARTSTOPAURABUFF) Equal to True
                    Then - Actions
                        Unit - Cause unitHEARTSTOP to damage (Picked unit), dealing ((Max life of (Picked unit)) x 0.05) damage of attack type Spells and damage type Normal
                    Else - Actions
Code:
learned
    Events
        Unit - A unit Learns a skill
    Conditions
    Actions
        Set unitHEARTSTOP = (Learning Hero)
 

Vassilev

New Member
Reaction score
39
Lol. I find axekiller's method more effective and simpler than Moridin's because Axe's method only damages units that actually have the buff which is more accurate. But the trigger leaks tho...
 

olcifaraga

New Member
Reaction score
1
Dealing damge type is like negative regen. It musn't dispel any consumable.Example an enemy using healing salve when he entered region healing salve not be dispelled.

Thanks for helping everybody so much.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top