Hello It's me again . I wanna make spell that will shoot some projectile into enemy and make him burn for some time and some damage, like walk into fire field but without firefield. Like I'm attacking an Orc, I'm casting "Burning Arrow!" - some animation appears and Orc start to burn 10 damage per 5 seconds (no fire under him). But I don't know completly how to start I'm checking spells scripts but I'm little confused . It should start probably like -
But i don't know what next ;d.
Lua:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_HITBYFIRE)