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://svn.code.sf.net/p/rathena/svn/trunk@15293 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
49c1ee5f84
commit
ec59ffaa6a
@ -57,6 +57,11 @@ OnInit:
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
OnTouch:
|
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 Zeny,Zeny -1000;
|
||||||
set @bingo_a1$,0;
|
set @bingo_a1$,0;
|
||||||
set @bingo_a2$,0;
|
set @bingo_a2$,0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user