From 45646d16455482b4683775e7831de978a9cad4c5 Mon Sep 17 00:00:00 2001 From: wushin Date: Fri, 12 Dec 2014 08:34:14 -0600 Subject: Fix tanisha exploit --- world/map/npc/042-2/tanisha.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/world/map/npc/042-2/tanisha.txt b/world/map/npc/042-2/tanisha.txt index 72d68d84..2bfdf9ee 100644 --- a/world/map/npc/042-2/tanisha.txt +++ b/world/map/npc/042-2/tanisha.txt @@ -79,6 +79,8 @@ L_Fight_Again: goto L_ContinueFight; L_GetFightItems: + set @tutorial_tmp, 6; + callfunc "SetTutorialMask"; getitem "Knife", 1; getitem "SlingShot", 1; getitem "SlingBullet", 100; @@ -141,7 +143,10 @@ L_StatsRe: next; mes "[Tanisha]"; mes "\"But I doubt he'd do that without a service in return.\""; - goto L_Money; + callfunc "TutorialState"; + if (@tutorial == 7) + goto L_Money; + goto L_Advice; L_Money: next; -- cgit v1.2.3-60-g2f50