summaryrefslogtreecommitdiff
path: root/world/map
diff options
context:
space:
mode:
authorVincent Petithory <vincent.petithory@gmail.com>2013-03-24 17:07:02 +0100
committerVincent Petithory <vincent.petithory@gmail.com>2013-03-24 18:14:31 +0100
commitb915c9809e69f6300d1a878988c08fdb94ee04bb (patch)
tree833af24130249ded440e56a5d1b394957820c3ca /world/map
parentb47e08baad485dd388ecf8537a06e06848fce440 (diff)
downloadserverdata-b915c9809e69f6300d1a878988c08fdb94ee04bb.tar.gz
serverdata-b915c9809e69f6300d1a878988c08fdb94ee04bb.tar.bz2
serverdata-b915c9809e69f6300d1a878988c08fdb94ee04bb.tar.xz
serverdata-b915c9809e69f6300d1a878988c08fdb94ee04bb.zip
Easter fix: play the FX_GETITEM particle effect whenever the player receives an object
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;