diff options
author | Vincent Petithory <vincent.petithory@gmail.com> | 2012-11-07 19:34:11 +0100 |
---|---|---|
committer | Vincent Petithory <vincent.petithory@gmail.com> | 2012-11-09 14:16:25 +0100 |
commit | b1010cfaed049d94ff1e9394bc6766d58b6bfd5b (patch) | |
tree | b61c90e1fb8dab16bfca38bee1dbfae1a5bf033b /world/map/conf | |
parent | 24abe3fd27e9d46dba89a8b5f3f030787b3f14e9 (diff) | |
download | classic-serverdata-b1010cfaed049d94ff1e9394bc6766d58b6bfd5b.tar.gz classic-serverdata-b1010cfaed049d94ff1e9394bc6766d58b6bfd5b.tar.bz2 classic-serverdata-b1010cfaed049d94ff1e9394bc6766d58b6bfd5b.tar.xz classic-serverdata-b1010cfaed049d94ff1e9394bc6766d58b6bfd5b.zip |
Add seasonal after-halloween quest:
* Oscar (011-1) is not a shop anymore.
* special pumpkins added in 055-1
* add a special handler for the #kaflosh spell (requires running ./build-magic.sh)
* add a player variable for use with seasonal quests (each quest using one byte)
Diffstat (limited to 'world/map/conf')
-rw-r--r-- | world/map/conf/magic.conf.template | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/world/map/conf/magic.conf.template b/world/map/conf/magic.conf.template index e77039fc..58975e5b 100644 --- a/world/map/conf/magic.conf.template +++ b/world/map/conf/magic.conf.template @@ -765,6 +765,11 @@ LOCAL SPELL rain : "#N13" = set @flag, 1; callfunc "QuestTreeTrigger"; }; + // Halloween quest + IF ( is_in(location(caster), @("011-1.gat", 94, 38) @+ (9, 7)) ) + THEN { + callfunc "HalloweenQuestWaterPumpkins"; + }; FOR i = 0 TO (spellpower / 3) DO ( FOR j = 0 TO min(spellpower / 2, 200) / 100 DO ( location = random_location(area); |