mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-25 14:17:46 +00:00
Forgot to add script for quest abandon.
This commit is contained in:
parent
9a2a79095c
commit
9c2cdf9b5d
1 changed files with 16 additions and 0 deletions
16
data/scripts/commands/JournalCommand.lua
Normal file
16
data/scripts/commands/JournalCommand.lua
Normal file
|
@ -0,0 +1,16 @@
|
|||
require ("global")
|
||||
|
||||
--[[
|
||||
|
||||
JournalCommand Script
|
||||
|
||||
Fired when you try to abandon a quest
|
||||
|
||||
--]]
|
||||
|
||||
function onEventStarted(player, command, triggerName, questId)
|
||||
|
||||
player:AbandonQuest(questId);
|
||||
player:EndEvent();
|
||||
|
||||
end
|
Loading…
Add table
Reference in a new issue