* eAAC update. Will put in Dj-Yhn's Donation Girl (TXT) as soon as boards are back up...[erKURITA]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8529 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
66158f3bb6
commit
be6d9fb12d
@ -32,6 +32,8 @@ Playtester
|
|||||||
|
|
||||||
Date Added
|
Date Added
|
||||||
======
|
======
|
||||||
|
08/29
|
||||||
|
* eAAC Update to the Coin Banker. [erKURITA]
|
||||||
08/27
|
08/27
|
||||||
* Fixed a syntax error on npc/guild/nguild/nguild_warper.txt line 37 [Toms]
|
* Fixed a syntax error on npc/guild/nguild/nguild_warper.txt line 37 [Toms]
|
||||||
* After big discussion at the board, by default we decided to disable CUSTOM
|
* After big discussion at the board, by default we decided to disable CUSTOM
|
||||||
|
@ -48,6 +48,13 @@
|
|||||||
//| in the db was Platinum while the script had Silver, so well,
|
//| in the db was Platinum while the script had Silver, so well,
|
||||||
//| there you have it. No more silver coins, thanks to you :)
|
//| there you have it. No more silver coins, thanks to you :)
|
||||||
|
|
||||||
|
//| Revision:
|
||||||
|
//| v.2.6: Added another Weight check to prevent coins from dropping
|
||||||
|
//| to the ground because A) Too many coins (more than 30,000 ea)
|
||||||
|
//| B) Your current weight + total coins weight were greater than
|
||||||
|
//| your max weight, causing them to drop due to "over-weight".
|
||||||
|
//| Thanks to Niktout for spotting it.
|
||||||
|
|
||||||
//| Upcomming possible updates:
|
//| Upcomming possible updates:
|
||||||
//| v.3.0: Adding a refining system, so you can gather ore and the likes
|
//| v.3.0: Adding a refining system, so you can gather ore and the likes
|
||||||
//| to make your own coins. They will have a failure chance
|
//| to make your own coins. They will have a failure chance
|
||||||
@ -177,7 +184,7 @@ L_ZenyCoin:
|
|||||||
next;
|
next;
|
||||||
if (MaxWeight*50/100 < Weight) {
|
if (MaxWeight*50/100 < Weight) {
|
||||||
if (MaxWeight*90/100 < Weight) {
|
if (MaxWeight*90/100 < Weight) {
|
||||||
mes @npcname;
|
mes @npcname$;
|
||||||
mes "Sorry but you have more than 90% weight. Your coins might drop. I can't give you anything.";
|
mes "Sorry but you have more than 90% weight. Your coins might drop. I can't give you anything.";
|
||||||
next;
|
next;
|
||||||
goto L_Menu;
|
goto L_Menu;
|
||||||
@ -230,6 +237,18 @@ L_ContinueZenyCoin:
|
|||||||
|
|
||||||
L_Zenycheckout:
|
L_Zenycheckout:
|
||||||
next;
|
next;
|
||||||
|
if (((getiteminfo(getarg(0),6))*getarg(2)) > (MaxWeight-Weight)) {
|
||||||
|
mes @npcname$;
|
||||||
|
mes "Sorry, your max weight does not allow me to give you this much of zeny coins";
|
||||||
|
mes "Either choose another type of coins or a lower quantity, thanks";
|
||||||
|
close;
|
||||||
|
}
|
||||||
|
if (getarg(2) > 30000) {
|
||||||
|
mes @npcname$;
|
||||||
|
mes "Sorry, I can't give you more than 30,000 ea";
|
||||||
|
mes "Pick another coin type";
|
||||||
|
close;
|
||||||
|
}
|
||||||
set @itemid,getarg(0);
|
set @itemid,getarg(0);
|
||||||
set @pricea,getarg(1)*getarg(2);
|
set @pricea,getarg(1)*getarg(2);
|
||||||
getitem @itemid,getarg(2);
|
getitem @itemid,getarg(2);
|
||||||
@ -416,4 +435,4 @@ L_Overzeny:
|
|||||||
OnInit:
|
OnInit:
|
||||||
setitemscript 671,"{}";
|
setitemscript 671,"{}";
|
||||||
end;
|
end;
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user