summaryrefslogtreecommitdiff
path: root/world/map
diff options
context:
space:
mode:
authorVincent Petithory <vincent.petithory@gmail.com>2013-09-14 19:31:09 +0200
committerVincent Petithory <vincent.petithory@gmail.com>2013-09-18 00:19:19 +0200
commit683aa1a18747e8b5f40cd8bd7330ac762bdd0bad (patch)
tree7e4ac72ab4521717a14069743db461befac10075 /world/map
parent372a1c9a629bad2cd4a988e3c0ae92e15a7909d2 (diff)
downloadserverdata-683aa1a18747e8b5f40cd8bd7330ac762bdd0bad.tar.gz
serverdata-683aa1a18747e8b5f40cd8bd7330ac762bdd0bad.tar.bz2
serverdata-683aa1a18747e8b5f40cd8bd7330ac762bdd0bad.tar.xz
serverdata-683aa1a18747e8b5f40cd8bd7330ac762bdd0bad.zip
Illia: give Boss Points to each player.
* It previously gave boss points only to the player giving the death blow.
Diffstat (limited to 'world/map')
-rw-r--r--world/map/npc/007-1/witch.txt1
-rw-r--r--world/map/npc/052-2/partyroom.txt13
2 files changed, 10 insertions, 4 deletions
diff --git a/world/map/npc/007-1/witch.txt b/world/map/npc/007-1/witch.txt
index bdf1e5a4..784a4a96 100644
--- a/world/map/npc/007-1/witch.txt
+++ b/world/map/npc/007-1/witch.txt
@@ -543,6 +543,7 @@ L_EndQuest:
set $@illia_level_6_progress, 0;
set $@illia_level_7_progress, 0;
set $@illia_players_in_luvia_territory, 0;
+ set $@illia_bp, 0;
// Clean all levels
cmdothernpc "#IlliaJanitor1", "Clean";
diff --git a/world/map/npc/052-2/partyroom.txt b/world/map/npc/052-2/partyroom.txt
index 4c22336a..6d001485 100644
--- a/world/map/npc/052-2/partyroom.txt
+++ b/world/map/npc/052-2/partyroom.txt
@@ -217,10 +217,10 @@ OnDeath:
set $@illia_level_7_progress, 4;
killmonster "052-2.gat", "#LuviaDaemon::OnWGD";
mapannounce "052-2.gat", "Luvia: How? By mere humans! But we will see again! Enjoy your victory while it lasts, " + $@ILLIA_HERO$ + "!!", 0;
- set @illia_bp, $Illia_Luvia_Harvest * 16 / 10 + 120;
- set BOSS_POINTS, BOSS_POINTS + @illia_bp;
- message strcharinfo(0), "You gain " + @illia_bp + " Boss Points giving you a total of " + BOSS_POINTS + ".";
- set @illia_bp, 0;
+
+ set $@illia_bp, $Illia_Luvia_Harvest * 16 / 10 + 120;
+ areatimer "052-2.gat", 73, 11, 115, 49, 0, "#LuviaDaemon::OnBP";
+
areatimer "052-2.gat", 73, 11, 115, 49, 2000, "#LuviaDaemon::OnW00t";
set $@illia_progress, 8;
@@ -249,6 +249,11 @@ OnDeath:
end;
+OnBP:
+ set BOSS_POINTS, BOSS_POINTS + $@illia_bp;
+ message strcharinfo(0), "You gain " + $@illia_bp + " Boss Points giving you a total of " + BOSS_POINTS + ".";
+ end;
+
OnWGD:
end;