From ea406ac0a4dbe92e02fd75ff24c242e656f35ba8 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 16 Jun 2019 23:16:23 -0300 Subject: Add a treasure chest on 023-3, make notes --- npc/023-3/logic.txt | 13 +++++++++++++ npc/024-16/generals.txt | 1 + 2 files changed, 14 insertions(+) (limited to 'npc') diff --git a/npc/023-3/logic.txt b/npc/023-3/logic.txt index 623b573b0..dc9e439ee 100644 --- a/npc/023-3/logic.txt +++ b/npc/023-3/logic.txt @@ -67,3 +67,16 @@ OnTouch: end; } +// A simple random treasure chest - to be sure players were introduced to this +// awesome system. Same rules as any treasure box still applies. +023-3,94,212,0 script #chest_02330 NPC_CHEST,{ + + TreasureBox(); + specialeffect(.dir == 0 ? 24 : 25, AREA, getnpcid()); // closed ? opening : closing + close; + +OnInit: + .distance = 2; + end; +} + diff --git a/npc/024-16/generals.txt b/npc/024-16/generals.txt index 625afeb93..368597e98 100644 --- a/npc/024-16/generals.txt +++ b/npc/024-16/generals.txt @@ -56,6 +56,7 @@ function script FrostiaGeneralQuest { mesc b(l(".:: Main Quest 4-3 ::.")), 3; msObjective(BaseLevel >= 52, l("* @@/@@ Base Level", BaseLevel, 52)); msObjective(JobLevel >= 24, l("* @@/@@ Job Level", JobLevel, 24)); + //msObjective(JobLevel >= 24, l("* Win an Arena Match")); next; if (BaseLevel >= 52 && JobLevel >= 24) { mesn; -- cgit v1.2.3-70-g09d2