summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorPlaytester <Playtester@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-06-04 13:57:40 +0000
committerPlaytester <Playtester@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-06-04 13:57:40 +0000
commit4dfdd66ba935de5f5eadbca9f7803f8ed99cb165 (patch)
tree7dd07dd73df5829d501ad564eb784bab72fd2663 /npc
parentef0a2f921f53d3c39c9e6aa9d6d6911371a172f4 (diff)
downloadhercules-4dfdd66ba935de5f5eadbca9f7803f8ed99cb165.tar.gz
hercules-4dfdd66ba935de5f5eadbca9f7803f8ed99cb165.tar.bz2
hercules-4dfdd66ba935de5f5eadbca9f7803f8ed99cb165.tar.xz
hercules-4dfdd66ba935de5f5eadbca9f7803f8ed99cb165.zip
Same update as before for other script lines... I hate unoptimized scripts =(
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10685 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc')
-rw-r--r--npc/quests/quests_rachel.txt25
1 files changed, 12 insertions, 13 deletions
diff --git a/npc/quests/quests_rachel.txt b/npc/quests/quests_rachel.txt
index 5f028264a..f1da770d0 100644
--- a/npc/quests/quests_rachel.txt
+++ b/npc/quests/quests_rachel.txt
@@ -5912,20 +5912,19 @@ ra_temin,170,46,3 script Panno#rachel 920,{
set .@bonus_donate,rand(100);
if (.@bonus_donate == 99) {
set .@bonus_donate2,rand(100);
- if (.@bonus_donate2 > 0 && .@bonus_donate2 < 11) getitem 616,1; //Old Card Album - 0.1%
- else if (.@bonus_donate2 > 10 && .@bonus_donate2 < 31) getitem 617,1; //Old_Violet_Box - 0.2%
- else if (.@bonus_donate2 > 30 && .@bonus_donate2 < 61) getitem 603,1; //Old_Blue_Box - 0.3%
- else
- getitem 607,1; //Yggdrasilberry - +0.4%
+ if (.@bonus_donate2 > 0 && .@bonus_donate2 < 11) getitem 616,1; //Old Card Album 0.1%
+ else if (.@bonus_donate2 > 10 && .@bonus_donate2 < 31) getitem 617,1; //Old Violet Box 0.2%
+ else if (.@bonus_donate2 > 30 && .@bonus_donate2 < 61) getitem 603,1; //Old Blue Box 0.3%
+ else getitem 607,1; //Yggdrasil Berry 0.4%
}
- else if (.@bonus_donate > 88 && .@bonus_donate < 96) getitem 644,1; //Gift Box
- else if (.@bonus_donate > 76 && .@bonus_donate < 89) getitem 607,1; //Yggdrasil Berry
- else if (.@bonus_donate > 65 && .@bonus_donate < 77) getitem 505,1; //Blue Potion
- else if (.@bonus_donate > 57 && .@bonus_donate < 66) getitem 604,1; //Dead Branch
- else if (.@bonus_donate > 45 && .@bonus_donate < 58) getitem 608,1; //Yggdrasil Seed
- else if (.@bonus_donate > 5 && .@bonus_donate < 11) getitem 518,1; //Honey
- else if (.@bonus_donate > 0 && .@bonus_donate < 6) getitem 526,1; //Royal Jelly
- else getitem 547,1; //White Condensed Potion 39%
+ else if (.@bonus_donate > 88 && .@bonus_donate < 96) getitem 644,1; //Gift Box 7%
+ else if (.@bonus_donate > 76 && .@bonus_donate < 89) getitem 607,1; //Yggdrasil Berry 12%
+ else if (.@bonus_donate > 65 && .@bonus_donate < 77) getitem 505,1; //Blue Potion 11%
+ else if (.@bonus_donate > 57 && .@bonus_donate < 66) getitem 604,1; //Dead Branch 8%
+ else if (.@bonus_donate > 45 && .@bonus_donate < 58) getitem 608,1; //Yggdrasil Seed 12%
+ else if (.@bonus_donate > 5 && .@bonus_donate < 11) getitem 518,1; //Honey 5%
+ else if (.@bonus_donate > 0 && .@bonus_donate < 6) getitem 526,1; //Royal Jelly 5%
+ else getitem 547,1; //Condensed White Potion 39%
goto L_End;
}