diff options
author | wushin <pasekei@gmail.com> | 2014-12-12 08:34:14 -0600 |
---|---|---|
committer | wushin <pasekei@gmail.com> | 2014-12-12 08:34:14 -0600 |
commit | 45646d16455482b4683775e7831de978a9cad4c5 (patch) | |
tree | 0aacbd0b5711b0962334d1f945a0e8a392da964c | |
parent | 90d825cce37623063d3cd5e9119cf05efae83c7a (diff) | |
download | serverdata-45646d16455482b4683775e7831de978a9cad4c5.tar.gz serverdata-45646d16455482b4683775e7831de978a9cad4c5.tar.bz2 serverdata-45646d16455482b4683775e7831de978a9cad4c5.tar.xz serverdata-45646d16455482b4683775e7831de978a9cad4c5.zip |
Fix tanisha exploit
-rw-r--r-- | world/map/npc/042-2/tanisha.txt | 7 |
1 files changed, 6 insertions, 1 deletions
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; |