summaryrefslogtreecommitdiff
path: root/npc/events/lunar_2008.txt
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2014-11-03 08:15:05 -0200
committershennetsind <ind@henn.et>2014-11-03 08:15:05 -0200
commitbee4c9d36f4a27e39cc76dc5d6c5f876ed44a678 (patch)
tree79f9aec5171e8aed2d701bf67167f260e05f41db /npc/events/lunar_2008.txt
parent239d480487e24294975f35ed55f210837ad1088e (diff)
parentce3f4bfbe016ea69c855146667ba9bd9e0e2e221 (diff)
downloadhercules-bee4c9d36f4a27e39cc76dc5d6c5f876ed44a678.tar.gz
hercules-bee4c9d36f4a27e39cc76dc5d6c5f876ed44a678.tar.bz2
hercules-bee4c9d36f4a27e39cc76dc5d6c5f876ed44a678.tar.xz
hercules-bee4c9d36f4a27e39cc76dc5d6c5f876ed44a678.zip
Merge branch 'master' of github.com:HerculesWS/Hercules
Signed-off-by: shennetsind <ind@henn.et> Conflicts: src/map/battle.c
Diffstat (limited to 'npc/events/lunar_2008.txt')
-rw-r--r--npc/events/lunar_2008.txt16
1 files changed, 8 insertions, 8 deletions
diff --git a/npc/events/lunar_2008.txt b/npc/events/lunar_2008.txt
index 6c81d0d38..0b51f468b 100644
--- a/npc/events/lunar_2008.txt
+++ b/npc/events/lunar_2008.txt
@@ -50,7 +50,7 @@ payon_in01,193,30,4 script Rice Mill Grandma#rat 1_F_ORIENT_04,{
mes "think you can help me?";
next;
if (select("Of course.:I don't even know you.") == 1) {
- set lunar_rat,1;
+ lunar_rat = 1;
mes "[" + strcharinfo(0)+"]";
mes "Of course.";
mes "What can I do?";
@@ -93,7 +93,7 @@ payon_in01,193,30,4 script Rice Mill Grandma#rat 1_F_ORIENT_04,{
mes "Please wait here a moment,";
mes "and I'll make you some pastry~";
delitem 7770,1; //Sweet_rice
- set lunar_rat,3;
+ lunar_rat = 3;
close;
}
else if (lunar_rat == 4) {
@@ -104,7 +104,7 @@ payon_in01,193,30,4 script Rice Mill Grandma#rat 1_F_ORIENT_04,{
mes "Please wait here a moment,";
mes "and I'll make you some pastry~";
delitem 7770,1; //Sweet_rice
- set lunar_rat,5;
+ lunar_rat = 5;
close;
}
mes "Oh, where are all the";
@@ -127,15 +127,15 @@ payon_in01,193,30,4 script Rice Mill Grandma#rat 1_F_ORIENT_04,{
mes "Would you mind being";
mes "a dear, and delivering";
mes "that to my son for me?";
- set lunar_rat,2;
+ lunar_rat = 2;
close;
}
else if (lunar_rat == 3 || lunar_rat == 5) {
- set .@reward,rand(1,100);
+ .@reward = rand(1,100);
if (.@reward <= 5) {
if (lunar_rat == 3) {
getitem 9038,1; // New_Year_Doll_Egg
- set lunar_rat,4;
+ lunar_rat = 4;
}
else if (lunar_rat == 5) {
getitem 668,1; // Red_Envelope
@@ -152,8 +152,8 @@ payon_in01,193,30,4 script Rice Mill Grandma#rat 1_F_ORIENT_04,{
// After getting the egg there is a chance to get an envelope with each turn in
if (rand(1,20) <= 5 && lunar_rat == 4) getitem 668,1; // Red_Envelope
// Set the quest accordingly for repeat turn-ins.
- if (lunar_rat == 3) set lunar_rat,2;
- else if (lunar_rat == 5) set lunar_rat,4;
+ if (lunar_rat == 3) lunar_rat = 2;
+ else if (lunar_rat == 5) lunar_rat = 4;
mes "It's not nearly enough";
mes "to repay you for what you've";
mes "done for me, but I'd like";