From 6dea6df3e7f8e3f1c83604dfd381661128005f49 Mon Sep 17 00:00:00 2001 From: jmanfffreak Date: Wed, 28 Dec 2011 16:51:47 +0000 Subject: Added a check in the Hugel Bingo NPC to check if the player actually has 1000 zeny to play (bugreport:4091). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15293 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/other/hugel_bingo.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'npc/other/hugel_bingo.txt') diff --git a/npc/other/hugel_bingo.txt b/npc/other/hugel_bingo.txt index 16847aa54..fa17d5fa7 100644 --- a/npc/other/hugel_bingo.txt +++ b/npc/other/hugel_bingo.txt @@ -57,6 +57,11 @@ OnInit: end; OnTouch: + if ( zeny < 1000 ) { + mapannounce "que_bingo","Eukran: Oh it looks like "+strcharinfo(0)+" doesn't have enough money. I'm sorry but I must cancel the game~",1,0xFFAB54; + setnpctimer 201999,"start#bingo"; // manual reset + end; + } set Zeny,Zeny -1000; set @bingo_a1$,0; set @bingo_a2$,0; -- cgit v1.2.3-60-g2f50