<movevent type="StepIn" actionid="56486" event="script" value="trony/Seals.lua" />
<movevent type="StepIn" actionid="56487" event="script" value="trony/Seals.lua" />
<movevent type="StepIn" actionid="56488" event="script" value="trony/Seals.lua" />
<movevent type="StepIn" actionid="56489" event="script" value="trony/Seals.lua" />
<movevent type="StepIn" actionid="56410" event="script" value="trony/Seals.lua" />
<movevent type="StepIn" actionid="56411" event="script" value="trony/Seals.lua" />
local CONFIG = {
[56486]={storage = 19551, seal = "Verminor"},
[56487]={storage = 19552, seal = "Infernatil"},
[56488]={storage = 19553, seal = "Tafariel"},
[56489]={storage = 19554, seal = "Apocalypse"},
[56410]={storage = 19555, seal = "Pumin"},
[56411]={storage = 19556, seal = "Ashfalor"}
}
function onStepIn(cid, item, position, fromPosition)
if getPlayerStorageValue(cid, CONFIG[item.actionid].storage) == -1 then
doPlayerSendTextMessage(cid, TALKTYPE_BROADCAST, "You have touched " .. CONFIG[item.actionid].seal .. "\'s throne and absorbed some of his sprit.")
setPlayerStorageValue(cid, CONFIG[item.actionid].storage, 1)
else
doPlayerSendTextMessage(cid, TALKTYPE_BROADCAST, "You already have touched " .. CONFIG[item.actionid].seal .. "\'s throne and absorbed sobe of his sprit.")
end
return TRUE
end
<movevent type="StepIn" actionid="56480" event="script" value="seals/Seals.lua" />
<movevent type="StepIn" actionid="56481" event="script" value="seals/Seals.lua" />
<movevent type="StepIn" actionid="56482" event="script" value="seals/Seals.lua" />
<movevent type="StepIn" actionid="56483" event="script" value="seals/Seals.lua" />
<movevent type="StepIn" actionid="56484" event="script" value="seals/Seals.lua" />
<movevent type="StepIn" actionid="56485" event="script" value="seals/Seals.lua" />
local CONFIG = {
[56480]={storage = 19551, seal = "first"},
[56481]={storage = 19552, seal = "second"},
[56482]={storage = 19553, seal = "third"},
[56483]={storage = 19554, seal = "fourth"},
[56484]={storage = 19555, seal = "fifth"},
[56485]={storage = 19556, seal = "sixth"}
}
function onStepIn(cid, item, position, fromPosition)
if getPlayerStorageValue(cid, CONFIG[item.actionid].storage) == -1 then
doPlayerSendTextMessage(cid, TALKTYPE_BROADCAST, "You did not completed the " .. CONFIG[item.actionid].seal .. " seal.")
doTeleportThing(cid, fromPosition)
end
return TRUE
end