mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-10-13 22:34:53 +02:00
introduce raid sacrifices and bonus exp if you eat sabrehaven talon
This commit is contained in:
13
data/talkactions/scripts/raid.lua
Normal file
13
data/talkactions/scripts/raid.lua
Normal file
@@ -0,0 +1,13 @@
|
||||
function onSay(player, words, param)
|
||||
if not player:getGroup():getAccess() then
|
||||
return true
|
||||
end
|
||||
|
||||
if player:getAccountType() < ACCOUNT_TYPE_GOD then
|
||||
return false
|
||||
end
|
||||
|
||||
Game.startRaid(param)
|
||||
player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "Raid with name " .. param .. " started.")
|
||||
return false
|
||||
end
|
Reference in New Issue
Block a user