Issue information

Issue ID
#6063
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Jun 19, 2012 17:28
Last Post
Hercules Elf Bot
Jun 27, 2012 6:48
Confirmation
N/A

Hercules Elf Bot - Jun 19, 2012 17:28

Originally posted by [b]jTynne[/b]
It's supposed to give 2000 experience, but currently gives 200. There's just a missing zero. The fix is below:



tha_t01,140,78,4 script Guide#reward 831,{

mes "[Liei]";
if (thana_tower == 0) {
mes "Good day, I'm";
mes "Liei Kuniziet of the";
mes "Employee Mission";
mes "Reward Department";
mes "here in Thanatos Tower.";
next;
switch (select("Employee's mission reward?:Keep up the good work.")) {
case 1:
mes "[Liei]";
mes "Currently, Rekenber Corporation";
mes "is contracting temp employees";
mes "to develop the higher levels";
mes "of Thanatos Tower. If you'd";
mes "like to apply, please ask";
mes "Ditze right next to me.";
close;
case 2:
mes "[Liei]";
mes "Thank you. Ah, and I hope";
mes "that you enjoy your visit";
mes "here to Thanatos Tower.";
close;
}
}
mes "Ah, hello~";
mes "How may I help you?";
next;
if(select("Reward:Nothing")==2) {
mes "[Liei]";
mes "Alright, then.";
mes "Please do your best";
mes "to exterminate the";
mes "monsters that infest";
mes "the higher floors of";
mes "the Thanatos Tower~";
close; }
mes "[Liei]";
mes "You're "+strcharinfo(0)+", yes?";
mes "Let me check our temp";
mes "employee records for--ah.";
mes "Here it is. Alright, so would";
mes "you please tell me what kind";
mes "of mission proof you brought?";
next;
setarray .@Items[1],7435,7440,7441,7442;
set .@i, select("Golden Ornament:Red Feather:Blue Feather:Cursed Seal");
mes "[Liei]";
if (!countitem(.@Items[.@i])) {
mes "I'm sorry, but you are not";
mes "carrying any "+getitemname(.@Items[.@i])+"s.";
mes "Please check your inventory";
mes "one more time, and then come";
mes "to me to redeem your items";
mes "for a reward later, alright?";
close;
}
mes "The reward for each";
mes getitemname(.@Items[.@i])+" is...";
mes " ";
mes "1,000 zeny";
mes "2,000 EXP";
next;
set .@zeny_tt,(countitem(.@Items[.@i]) * 1000);
set .@exp_tt,(countitem(.@Items[.@i]) * 200[color=#ff0000]0[/color]);
mes "[Liei]";
mes "If you turn in your";
mes countitem(.@Items[.@i])+" "+getitemname(.@Items[.@i])+"s, then";
mes "you will receive a total of...";
mes " ";
mes ""+.@zeny_tt+" zeny";
mes ""+.@exp_tt+" EXP";
next;
mes "[Liei]";
mes "Would you like to exchange";
mes "all of your "+getitemname(.@Items[.@i])+"s";
mes "for your reward right now?";
next;
switch(select("Yes:No")) {
case 1:
mes "[Liei]";
mes "Great! Here is your";
mes ""+.@zeny_tt+" zeny and";
mes ""+.@exp_tt+" EXP. Thank you,";
mes "and please keep up";
mes "the good work~";
delitem .@Items[.@i], countitem(.@Items[.@i]);
set Zeny, Zeny + .@zeny_tt;
getexp .@exp_tt,0;
close;
case 2:
mes "[Liei]";
mes "Sure, no problem.";
mes "Just come back and";
mes "talk to me whenever";
mes "you want to receive";
mes "your reward, alright?";
close;
}
}

Hercules Elf Bot - Jun 19, 2012 18:46

Originally posted by [b]Rikimaru[/b]
Fixed in [url="https://sourceforge.net/apps/trac/rathena/changeset/16320"]r16320[/url]