summaryrefslogtreecommitdiff
path: root/world/map
diff options
context:
space:
mode:
authorJessica Tölke <jtoelke@mail.upb.de>2013-03-22 21:59:40 +0100
committerJessica Tölke <jtoelke@mail.upb.de>2013-03-22 21:59:40 +0100
commitb44a71b7ac154557da4fa646eb0b2bd522542877 (patch)
tree0ab7e495b7a9117f353ffaeaba9103ea5b5a174e /world/map
parentc21606fd4c02c23b7bf6c06ecd838c53f5e3eb75 (diff)
downloadserverdata-b44a71b7ac154557da4fa646eb0b2bd522542877.tar.gz
serverdata-b44a71b7ac154557da4fa646eb0b2bd522542877.tar.bz2
serverdata-b44a71b7ac154557da4fa646eb0b2bd522542877.tar.xz
serverdata-b44a71b7ac154557da4fa646eb0b2bd522542877.zip
Add boss point reward to boss fights.
Auldsbel's snakes: 5 per snake Giant Cave Maggot: 10 Bandit Lord: 20 Rossy and Julia battle caves: each 10, final boss 50 Cindy: 70 Illia: depending on the current difficulty between 120 and 200
Diffstat (limited to 'world/map')
-rw-r--r--world/map/npc/002-4/miners.txt2
-rw-r--r--world/map/npc/011-1/auldsbel.txt7
-rw-r--r--world/map/npc/011-6/bryant.txt2
-rw-r--r--world/map/npc/025-4/battlecaves.txt20
-rw-r--r--world/map/npc/031-4/cindyCave.txt2
-rw-r--r--world/map/npc/052-2/partyroom.txt4
6 files changed, 36 insertions, 1 deletions
diff --git a/world/map/npc/002-4/miners.txt b/world/map/npc/002-4/miners.txt
index fdb20306..6bf9884a 100644
--- a/world/map/npc/002-4/miners.txt
+++ b/world/map/npc/002-4/miners.txt
@@ -45,6 +45,8 @@ L_Sema_Happy:
getitem "DesertShirt", 1;
set @state, 28;
callsub S_Update_Var;
+ set BOSS_POINTS, BOSS_POINTS + 10;
+ message strcharinfo(0), "You gain 10 Boss Points giving you a total of " + BOSS_POINTS;
mes "[Sema the Miner]";
mes "\"You killed it! What a relief! I wish I had more to give, but please accept this Desert Shirt as reward.\"";
goto L_Close;
diff --git a/world/map/npc/011-1/auldsbel.txt b/world/map/npc/011-1/auldsbel.txt
index 78f7dc75..25e265f1 100644
--- a/world/map/npc/011-1/auldsbel.txt
+++ b/world/map/npc/011-1/auldsbel.txt
@@ -944,9 +944,14 @@ L_component_quest_5:
mes "\"I suggest that you run.\"";
next;
misceffect sfx_magic_transmute;
- monster "this", 50, 68, "Grass Snake", 1034, 4;
+ monster "this", 50, 68, "Grass Snake", 1034, 4, "Auldsbel#_M::onSnakeDeath";
close;
+onSnakeDeath:
+ set BOSS_POINTS, BOSS_POINTS + 5;
+ message strcharinfo(0), "You gain 5 Boss Points giving you a total of " + BOSS_POINTS;
+ end;
+
L_component_quest_missing:
mes "[Auldsbel the Wizard]";
mes "\"No, you are missing some items. Come back later when you have everything!\"";
diff --git a/world/map/npc/011-6/bryant.txt b/world/map/npc/011-6/bryant.txt
index 6d875686..fac55569 100644
--- a/world/map/npc/011-6/bryant.txt
+++ b/world/map/npc/011-6/bryant.txt
@@ -35,6 +35,8 @@ onBanditLordDead:
goto L_End;
set @state, 5;
callsub S_Update_Var;
+ set BOSS_POINTS, BOSS_POINTS + 20;
+ message strcharinfo(0), "You gain 20 Boss Points giving you a total of " + BOSS_POINTS;
L_End:
set @state, 0;
end;
diff --git a/world/map/npc/025-4/battlecaves.txt b/world/map/npc/025-4/battlecaves.txt
index dfe08749..17f801a1 100644
--- a/world/map/npc/025-4/battlecaves.txt
+++ b/world/map/npc/025-4/battlecaves.txt
@@ -53,6 +53,8 @@ L_Done:
if ($@wave_cave1 < $@cave1_waves)
goto L_Summon;
set cavefights, (cavefights | BATTLE_CAVE1);
+ set BOSS_POINTS, BOSS_POINTS + 10;
+ message strcharinfo(0), "You gain 10 Boss Points giving you a total of " + BOSS_POINTS;
end;
OnMonsterDeath:
@@ -138,6 +140,8 @@ L_Done:
if ($@wave_cave2 < $@cave2_waves)
goto L_Summon;
set cavefights, (cavefights | BATTLE_CAVE2);
+ set BOSS_POINTS, BOSS_POINTS + 10;
+ message strcharinfo(0), "You gain 10 Boss Points giving you a total of " + BOSS_POINTS;
end;
OnMonsterDeath:
@@ -220,6 +224,8 @@ L_Done:
if ($@wave_cave3 < $@cave3_waves)
goto L_Summon;
set cavefights, (cavefights | BATTLE_CAVE3);
+ set BOSS_POINTS, BOSS_POINTS + 10;
+ message strcharinfo(0), "You gain 10 Boss Points giving you a total of " + BOSS_POINTS;
end;
OnMonsterDeath:
@@ -305,6 +311,8 @@ L_Done:
if ($@wave_cave4 < $@cave4_waves)
goto L_Summon;
set cavefights, (cavefights | BATTLE_CAVE4);
+ set BOSS_POINTS, BOSS_POINTS + 10;
+ message strcharinfo(0), "You gain 10 Boss Points giving you a total of " + BOSS_POINTS;
end;
OnMonsterDeath:
@@ -391,6 +399,8 @@ L_Done:
if ($@wave_cave5 < $@cave5_waves)
goto L_Summon;
set cavefights, (cavefights | BATTLE_CAVE5);
+ set BOSS_POINTS, BOSS_POINTS + 10;
+ message strcharinfo(0), "You gain 10 Boss Points giving you a total of " + BOSS_POINTS;
end;
OnMonsterDeath:
@@ -477,6 +487,8 @@ L_Done:
if ($@wave_cave6 < $@cave6_waves)
goto L_Summon;
set cavefights, (cavefights | BATTLE_CAVE6);
+ set BOSS_POINTS, BOSS_POINTS + 10;
+ message strcharinfo(0), "You gain 10 Boss Points giving you a total of " + BOSS_POINTS;
end;
OnMonsterDeath:
@@ -565,6 +577,8 @@ L_Done:
if ($@wave_cave7 < $@cave7_waves)
goto L_Summon;
set cavefights, (cavefights | BATTLE_CAVE7);
+ set BOSS_POINTS, BOSS_POINTS + 10;
+ message strcharinfo(0), "You gain 10 Boss Points giving you a total of " + BOSS_POINTS;
end;
OnMonsterDeath:
@@ -653,6 +667,8 @@ L_Done:
if ($@wave_cave8 < $@cave8_waves)
goto L_Summon;
set cavefights, (cavefights | BATTLE_CAVE8);
+ set BOSS_POINTS, BOSS_POINTS + 10;
+ message strcharinfo(0), "You gain 10 Boss Points giving you a total of " + BOSS_POINTS;
end;
OnMonsterDeath:
@@ -741,6 +757,8 @@ L_Done:
if ($@wave_cave9 < $@cave9_waves)
goto L_Summon;
set cavefights, (cavefights | BATTLE_CAVE9);
+ set BOSS_POINTS, BOSS_POINTS + 10;
+ message strcharinfo(0), "You gain 10 Boss Points giving you a total of " + BOSS_POINTS;
end;
OnMonsterDeath:
@@ -858,6 +876,8 @@ OnBossDeath:
message strcharinfo(0), "What a harsh battle... You should hurry and save Julia!";
set Rossy_Quest, 16;
getexp 100000, 0;
+ set BOSS_POINTS, BOSS_POINTS + 50;
+ message strcharinfo(0), "You gain 50 Boss Points giving you a total of " + BOSS_POINTS;
end;
L_Close:
diff --git a/world/map/npc/031-4/cindyCave.txt b/world/map/npc/031-4/cindyCave.txt
index c724733a..d4fb2061 100644
--- a/world/map/npc/031-4/cindyCave.txt
+++ b/world/map/npc/031-4/cindyCave.txt
@@ -256,6 +256,8 @@ onReward:
set @rescue_Cindy, 2;
callsub S_Update_Mask;
message strcharinfo(0), "Cindy looks relieved and as if she wants to talk with you.";
+ set BOSS_POINTS, BOSS_POINTS + 70;
+ message strcharinfo(0), "You gain 70 Boss Points giving you a total of " + BOSS_POINTS;
L_End:
set @bonus, 0;
set @Q_Nivalis_state_MASK, 0;
diff --git a/world/map/npc/052-2/partyroom.txt b/world/map/npc/052-2/partyroom.txt
index 6e16eb88..86b74fa7 100644
--- a/world/map/npc/052-2/partyroom.txt
+++ b/world/map/npc/052-2/partyroom.txt
@@ -213,6 +213,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;
areatimer "052-2.gat", 73, 11, 115, 49, 2000, "#LuviaDaemon::onW00t";
set $@illia_progress, 8;