View Full Version : Stackable Damage
Fallen Solar
11-18-2010, 09:19 PM
How can i make an ability that does stackable damage over time?
Raven0
11-18-2010, 10:01 PM
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.
Fallen Solar
11-18-2010, 10:12 PM
its like burning spears in dota
burning spears hurts the caster and deal stackable damage to the target and burns the enemy over time.
Boris_Spider
11-18-2010, 11:33 PM
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//\\
Garfield1337
11-18-2010, 11:50 PM
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.
Boris_Spider
11-19-2010, 12:19 AM
Oh, then it's a trigger ability.
//\\oo//\\
Miss_Foxy
11-19-2010, 12:27 AM
It's a trigger using the concept of Incineration, except changing it to a bit of poison without a buff icon and animation(:
mckill2009
11-19-2010, 12:35 AM
I made a sample map for you, this will do Damage Over time, lasts for 30 seconds...
Fallen Solar
11-19-2010, 02:02 AM
burning spears in dota is pretty dfferent than yours
mckill2009
11-19-2010, 02:21 AM
the thing is, I dont play Dota, so give me the hero name so that I can see it...
Skycraft
11-19-2010, 02:38 AM
He's talking about Huskar - Sacred Warrior in DotA.
GhostThruster
11-19-2010, 05:30 AM
defskull gave me something like this (http://www.hiveworkshop.com/forums/pastebin.php?id=ek88h6). Hope it helps.
Bankde
11-19-2010, 05:38 AM
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.
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
Baldoro
11-19-2010, 07:09 AM
Just to make it clearer, Huskars Burning Spears do not give any buff to the target of attack.
mckill2009
11-19-2010, 07:39 AM
Just to make it clearer, Huskars Burning Spears do not give any buff to the target of attack.
that's very easy, just edit it in buff/effects tab & remove everything...
Bankde
11-19-2010, 08:29 AM
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.
Fallen Solar
11-20-2010, 06:08 AM
and how do i make an ability that causes ramdom explosions around the caster, damaging enemies and burns them over time in gui?
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.
Search Engine Optimization by
vBSEO 3.5.1 PL2