From 683aa1a18747e8b5f40cd8bd7330ac762bdd0bad Mon Sep 17 00:00:00 2001 From: Vincent Petithory Date: Sat, 14 Sep 2013 19:31:09 +0200 Subject: Illia: give Boss Points to each player. * It previously gave boss points only to the player giving the death blow. --- world/map/npc/007-1/witch.txt | 1 + world/map/npc/052-2/partyroom.txt | 13 +++++++++---- 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; -- cgit v1.2.3-60-g2f50