hi epvp
i find atack quest but i want player move down to mount atacks removed i dont want wait 300 second help me
sory my english bad:)
i found this quest but
How do I add descend to mount deletion the atacks
i find atack quest but i want player move down to mount atacks removed i dont want wait 300 second help me
sory my english bad:)
PHP Code:
quest boar begin
state start begin
when 71114.use begin
if pc.get_level() >= 70 then
local time = get_time()
if pc.getqf("domuz") <= time then
pc.mount(20110, 60*5)
affect.add_collect(apply.ATT_GRADE_BONUS,120,300)
affect.add_collect(apply.DEF_GRADE_BONUS,116,300)
chat("5 Dakikalığına Domuza Bineceksin.")
pc.setqf("domuz", get_time()+60*5)
elseif pc.getqf("domuz") > time then
local remaining = pc.getqf("domuz") - get_time()
pc.unmount()
affect.remove_collect(apply.ATT_GRADE_BONUS,120,300)
affect.remove_collect(apply.DEF_GRADE_BONUS,116,300)
pc.setqf("domuz", get_time()-remaining)
end
else
chat("Seviyen Domuza Binmek İçin Yeterli Değil!")
end
end
--[[when logout with pc.getqf("domuz") > get_time() begin
pc.unmount()
affect.remove_collect(apply.ATT_GRADE_BONUS,120,1)
affect.remove_collect(apply.DEF_GRADE_BONUS,116,1)
local remaining = pc.getqf("domuz") - get_time()
pc.setqf("domuz", get_time()-remaining)
end]]
end
end
How do I add descend to mount deletion the atacks