Tbol
Well-Known Member
- Joined
- Apr 7, 2019
- Messages
- 592
- Reaction score
- 64
exactly what you shared in image of original tibia would work perfectly fine. Aswell though about idea of missle that loops up and down but probably not doable that easilyGive more details about what you need. Also do it in Mapeditor and bring an image so we can work from there.
{fromPosition = Position(32526, 32536, 12), toPosition = Position(32526, 32539, 12), effect = CONST_ME_HOLYDAMAGE},
spawnDamage:interval(xxxx)
local effects = {
{fromPosition = Position(32526, 32536, 12), toPosition = Position(32526, 32539, 12), effect = CONST_ME_HOLYDAMAGE},
{fromPosition = Position(33369, 31334, 5), toPosition = Position(33371, 31334, 5), effect = CONST_ME_FIREAREA}
}
doTargetCombatHealth(0, jolf, COMBAT_PHYSICALDAMAGE, -99999, -99999, settings.effect)
Lua Script Error: [Event Interface]Is this script you edit this lines:
LUA:{fromPosition = Position(32526, 32536, 12), toPosition = Position(32526, 32539, 12), effect = CONST_ME_HOLYDAMAGE},
fromPosition = Position(32526, 32536, 12) = the start position.
toPosition = Position(32526, 32539, 12) = the end position.
effect = CONST_ME_HOLYDAMAGE = = effect that you want
View attachment 89807
change xxxx to delay in mileseconds you want.Code:spawnDamage:interval(xxxx)
You can add as many as you want. Just include it in this table by placing the information you want.Code:local effects = { {fromPosition = Position(32526, 32536, 12), toPosition = Position(32526, 32539, 12), effect = CONST_ME_HOLYDAMAGE}, {fromPosition = Position(33369, 31334, 5), toPosition = Position(33371, 31334, 5), effect = CONST_ME_FIREAREA} }
Ps: as you said you wanted to "kill" the player, the damage is 99999, if you want to modify it, edit this line:
Code:doTargetCombatHealth(0, jolf, COMBAT_PHYSICALDAMAGE, -99999, -99999, settings.effect)
Nop didnt worked, same errortry change:
to:LUA:doTargetCombatHealth(0, jolf, COMBAT_PHYSICALDAMAGE, -99999, -99999, settings.effect)
LUA:doTargetCombat(0, jolf, COMBAT_PHYSICALDAMAGE, -99999, -99999, settings.effect)