local combat = Combat()
combat:setParameter(COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)
combat:setParameter(COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_FIRE)
combat:setParameter(COMBAT_PARAM_MAGICEFFECT, CONST_ME_HITBYFIRE)
combat:setParameter(COMBAT_PARAM_CREATEITEM, 2118)
function onCastSpell(creature, variant, isHotkey)
return combat:execute(creature, variant)
end
How can i modific this Fire field script to do different do damage after 5 seconds that the field was created? For example when the player use this rune, and other player stepin on field got 10 of damage, but if the player stepin after 5 seconds, the damage will be 5.
combat:setParameter(COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)
combat:setParameter(COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_FIRE)
combat:setParameter(COMBAT_PARAM_MAGICEFFECT, CONST_ME_HITBYFIRE)
combat:setParameter(COMBAT_PARAM_CREATEITEM, 2118)
function onCastSpell(creature, variant, isHotkey)
return combat:execute(creature, variant)
end
How can i modific this Fire field script to do different do damage after 5 seconds that the field was created? For example when the player use this rune, and other player stepin on field got 10 of damage, but if the player stepin after 5 seconds, the damage will be 5.