• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Stackable Damage

Status
Not open for further replies.
Level 15
Joined
Oct 16, 2010
Messages
941
Give more information please ^-^

Is it a castable ability and each time you cast it it re-sets the removal timer and adds an additional stack? If so it's very easily triggers.

Or is it based on auto-attack? So each you auto-attack an enemy unit they get an additional DoT stack. If so then you can just modify poison orb.
 
Level 4
Joined
Oct 15, 2010
Messages
71
its like burning spears in dota

burning spears hurts the caster and deal stackable damage to the target and burns the enemy over time.
 
Level 14
Joined
Dec 12, 2009
Messages
1,027
It sounds like an edited Incinerate ability. (It's an ability of the firelord, where incremental damage is dealt with each consecutive attack, so long as it's within the duration period). It can be found under the Nuetral Hostile-Hero abilities in OE. The one labeled as "Arrow" is non-passive.

As for the life loss, that's more related to Unholy Frenzy.

It's possible the ability your thinking of is triggered. Whenever the 'dummy' spell is used, the unit is given an Incinerate ability, possibly hidden with a spellbook, and had Unholy Frenzy cast on it, with no attack speed buff. Upon the spells expiration, the incinerate is removed.

That, or there's an ability I don't know about.

//\\oo//\\
 
Level 20
Joined
Jul 6, 2009
Messages
1,885
It's not really that,Boris.
When a unit gets hit by burning spears in DotA,the unit takes damage over time depening on how many times it got hit by burning spears. Actually,the damage over time stacks.
It would take some triggering. I might do a test map tomorrow,since i don't have much time now.
 
Level 19
Joined
Oct 15, 2008
Messages
3,231
It's a trigger using the concept of Incineration, except changing it to a bit of poison without a buff icon and animation:)
 
Level 4
Joined
Jul 24, 2010
Messages
85
It is much easier to use dummy unit to attack once time with orb effect (Envenomed Weapon Ability) as there is already stack function in object editor.

Check buff everytimes the unit takes damage
Then create 1 dummy unit, order that unit to attack damaged unit.
Set life of damage source to (Current Life of damage source - 15)

That enough, set Dummy unit, ability in object editor. (But the dummy must be at least damage 1)

OR USE THIS JASS : (Haven't test but it should work)
Require : GDD SYSTEM
HERE : Damage 15 to unit per seconds for 5 seconds, replace 'aaaa' with your buff code.

JASS:
function Trig_Burning_Spear_Conditions takes nothing returns boolean
    if GetUnitAbilityLevel(udg_GDD_DamagedUnit, 'aaaa')> 0  then
        return true
    endif
    return false
endfunction

function Trig_Burning_Spear_Actions takes nothing returns nothing
    local unit DamagedUnit = udg_GDD_DamagedUnit
    local unit DamagingUnit = udg_GDD_DamageSource
    local integer Index = 0
    loop
        exitwhen Index == 5
        call UnitDamageTarget (DamagingUnit, DamagedUnit, 15, true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_NORMAL, WEAPON_TYPE_WHOKNOWS)
        set Index = Index + 1
        call TriggerSleepAction (1.00)
    endloop
endfunction

//===========================================================================
function InitTrig_Burning_Spear takes nothing returns nothing
    set gg_trg_Burning_Spear = CreateTrigger(  )
    call TriggerRegisterVariableEvent( gg_trg_Burning_Spear, "udg_GDD_Event", EQUAL, 0 )
    call TriggerAddCondition( gg_trg_Burning_Spear, Condition( function Trig_Burning_Spear_Conditions ) )
    call TriggerAddAction( gg_trg_Burning_Spear, function Trig_Burning_Spear_Actions )
endfunction
 
Level 4
Joined
Jul 24, 2010
Messages
85
Just to make it clearer, Huskars Burning Spears do not give any buff to the target of attack.

I will make it even more clearer, Huskars Burning Spears DO GIVE BUFF to the target for 0.01 or 0.02 seconds then remove (To check if the damaged unit having buff and run damage trigger)
That's why dota create it based on orb effect skill.
 
Status
Not open for further replies.
Top