summaryrefslogtreecommitdiff
path: root/world/map
diff options
context:
space:
mode:
Diffstat (limited to 'world/map')
-rw-r--r--world/map/npc/008-1/annualeaster.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/world/map/npc/008-1/annualeaster.txt b/world/map/npc/008-1/annualeaster.txt
index bbd11759..fa0a0aa1 100644
--- a/world/map/npc/008-1/annualeaster.txt
+++ b/world/map/npc/008-1/annualeaster.txt
@@ -34,6 +34,7 @@ function|script|AnnualEasterEvent|{
if (@random < @tmp) getitem $@SmallAnnualEasterItems$[@random], rand(1, 2);
if (@random == @tmp) getexp rand(200), 0;
if (@random == @tmp + 1) set Zeny, Zeny + rand(50);
+ misceffect FX_GETITEM, strcharinfo(0);
// give out a better reward occasionally:
// standard case is branch taken, so only if rand yields 0, medium rewarding.
@@ -42,6 +43,7 @@ function|script|AnnualEasterEvent|{
set @random, rand(getarraysize($@MediumAnnualEasterRewards$));
getitem $@MediumAnnualEasterRewards$[@random], 1;
+ misceffect FX_GETITEM, strcharinfo(0);
NoEasterEgg:
@@ -72,6 +74,7 @@ NoEasterEgg:
// now hand out the specific item:
set @rewardindex, @rewardindex % getarraysize($@FinalAnnualEasterReward$);
getitem $@FinalAnnualEasterReward$[@rewardindex], 1;
+ misceffect FX_GETITEM, strcharinfo(0);
message strcharinfo(0), "This is really special. You won't find anything like this again.";
goto L_End1;
@@ -90,6 +93,7 @@ L_EndTooYoung:
L_WarmUp:
set @eastertimepenalty, gettimetick(2);
getitem "GreenApple", 1;
+ misceffect FX_GETITEM, strcharinfo(0);
message strcharinfo(0), "Hmmm eggs! Maybe you can find something nice there!";
goto L_End1;