summaryrefslogtreecommitdiff
path: root/world
diff options
context:
space:
mode:
authorJoseph Botosh <rumly111@gmail.com>2016-06-30 13:02:31 +0300
committerJoseph Botosh <rumly111@gmail.com>2016-06-30 13:02:31 +0300
commit7be7e78af91e52ec86a683e8eeadf3c9799656cc (patch)
tree4082734f0711fa35f12a792510be3b10a747ae41 /world
parentb5c8c20ab8f99c21125deaedd2387186de14a72c (diff)
downloadserverdata-7be7e78af91e52ec86a683e8eeadf3c9799656cc.tar.gz
serverdata-7be7e78af91e52ec86a683e8eeadf3c9799656cc.tar.bz2
serverdata-7be7e78af91e52ec86a683e8eeadf3c9799656cc.tar.xz
serverdata-7be7e78af91e52ec86a683e8eeadf3c9799656cc.zip
call QuestTreeTrigger when player *hugs tree*
Diffstat (limited to 'world')
-rw-r--r--world/map/npc/commands/hug.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/world/map/npc/commands/hug.txt b/world/map/npc/commands/hug.txt
index 323e0563..f97c81e4 100644
--- a/world/map/npc/commands/hug.txt
+++ b/world/map/npc/commands/hug.txt
@@ -13,7 +13,8 @@
if (@target_id != BL_ID) misceffect FX_HUG, @target_id;
if (@target_id != .tree_id) end;
- callfunc "QuestTreeTouch";
+ set @flag, 2;
+ callfunc "QuestTreeTrigger";
close;
OnInit: