local Dmg, Cura = -500, 1000 local function onContinuouDmg(cid, pos) local player = Player(cid) if player then if player:getPosition() == pos then doTargetCombat(0, player, COMBAT_PHYSICALDAMAGE, -Dmg, -Dmg, CONST_ME_NONE) addEvent(onContinuouDmg, 1000, player.uid, pos) end end end function onStepIn(creature, item, position, fromPosition) if creature:isPlayer() then doTargetCombat(0, creature, COMBAT_PHYSICALDAMAGE, -Dmg, -Dmg, CONST_ME_NONE) addEvent(onContinuouDmg, 1000, creature.uid, item:getPosition()) else doTargetCombat(0, creature, COMBAT_HEALING, Cura, Cura) end return true end