diff options
author | jmanfffreak <jmanfffreak@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-12-28 16:51:47 +0000 |
---|---|---|
committer | jmanfffreak <jmanfffreak@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-12-28 16:51:47 +0000 |
commit | 6dea6df3e7f8e3f1c83604dfd381661128005f49 (patch) | |
tree | f566ef69535463e598a0ebf88b668ec8da2493da /npc/other/hugel_bingo.txt | |
parent | a729ad911231464e843883b14b765eb7a3185f55 (diff) | |
download | hercules-6dea6df3e7f8e3f1c83604dfd381661128005f49.tar.gz hercules-6dea6df3e7f8e3f1c83604dfd381661128005f49.tar.bz2 hercules-6dea6df3e7f8e3f1c83604dfd381661128005f49.tar.xz hercules-6dea6df3e7f8e3f1c83604dfd381661128005f49.zip |
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
Diffstat (limited to 'npc/other/hugel_bingo.txt')
-rw-r--r-- | npc/other/hugel_bingo.txt | 5 |
1 files changed, 5 insertions, 0 deletions
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; |