summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorSean Hulka <sean.hulka@gmail.com>2021-05-29 02:36:47 +0000
committerSean Hulka <sean.hulka@gmail.com>2021-05-29 02:36:47 +0000
commit948cb9e7a377cbceaa782180c3155783b43c8dcb (patch)
tree9d745f5f0a81867048c5b90fce037a969510e359 /npc
parent7aacf4a9d36cf3e07d1b8ecfa3b657c8f31855a0 (diff)
downloadserverdata-948cb9e7a377cbceaa782180c3155783b43c8dcb.tar.gz
serverdata-948cb9e7a377cbceaa782180c3155783b43c8dcb.tar.bz2
serverdata-948cb9e7a377cbceaa782180c3155783b43c8dcb.tar.xz
serverdata-948cb9e7a377cbceaa782180c3155783b43c8dcb.zip
Balance number of pirates spawned (WIP).
Diffstat (limited to 'npc')
-rw-r--r--npc/018-5-4/elder.txt26
1 files changed, 13 insertions, 13 deletions
diff --git a/npc/018-5-4/elder.txt b/npc/018-5-4/elder.txt
index ad5f93a2e..d3b01819a 100644
--- a/npc/018-5-4/elder.txt
+++ b/npc/018-5-4/elder.txt
@@ -164,7 +164,7 @@ function elderSupplyGive {
}
function elderPirateAttack {
- // Level requeriment
+ // Level requirement
if (BaseLevel < 75) {
mesn;
mesq l("The pirates amass for their siege, but they will not attack yet. Return when you are stronger. King DD is working to find a solution.");
@@ -230,20 +230,20 @@ OnBegin:
// Spawn Monsters
// FIXME MIGHT NOT WORK WITH COORDINATES ZERO (for several reasons)
// PLEASE PREFER AREAMONSTER
- monster(.@m$, 0, 0, "Ocean Pirate", OceanPirate, @pLvl, "Duck Elder::OnPirateKilled");
- @total_pirates+=@pLvl;
- monster(.@m$, 0, 0, "Pirate Captain", OceanPirate, (@pLvl/10), "Duck Elder::OnPirateKilled"); // FIXME
- @total_pirates+=(@pLvl/10);
+ monster(.@m$, 0, 0, "Ocean Pirate", OceanPirate, (@pLvl/2), "Duck Elder::OnPirateKilled");
+ @total_pirates+=(@pLvl/2);
+ monster(.@m$, 0, 0, "Pirate Captain", OceanPirate, (@pLvl/15), "Duck Elder::OnPirateKilled"); // FIXME
+ @total_pirates+=(@pLvl/15);
monster(.@m$, 0, 0, "Desert Pirate", DesertBandit, (@pLvl/3), "Duck Elder::OnPirateKilled");
@total_pirates+=(@pLvl/3);
- monster(.@m$, 0, 0, "Marsh Pirate", Bandit, (@pLvl/3), "Duck Elder::OnPirateKilled");
- @total_pirates+=(@pLvl/3);
- monster(.@m$, 0, 0, "Buccaneer", Sarracenus, (@pLvl/6), "Duck Elder::OnPirateKilled");
- @total_pirates+=(@pLvl/6);
- monster(.@m$, 0, 0, "Corsair", RobinBandit, (@pLvl/5), "Duck Elder::OnPirateKilled");
- @total_pirates+=(@pLvl/5);
- monster(.@m$, 0, 0, "Pirate Lord", BanditLord, (@pLvl/11), "Duck Elder::OnPirateKilled");
- @total_pirates+=(@pLvl/11);
+ monster(.@m$, 0, 0, "Marsh Pirate", Bandit, (@pLvl/4), "Duck Elder::OnPirateKilled");
+ @total_pirates+=(@pLvl/4);
+ monster(.@m$, 0, 0, "Buccaneer", Sarracenus, (@pLvl/7), "Duck Elder::OnPirateKilled");
+ @total_pirates+=(@pLvl/7);
+ monster(.@m$, 0, 0, "Corsair", RobinBandit, (@pLvl/7), "Duck Elder::OnPirateKilled");
+ @total_pirates+=(@pLvl/7);
+ monster(.@m$, 0, 0, "Pirate Lord", BanditLord, (@pLvl/12), "Duck Elder::OnPirateKilled");
+ @total_pirates+=(@pLvl/12);
monster(.@m$, 0, 0, "Pirate Assassin", HoodedAssassin, (@pLvl/25), "Duck Elder::OnPirateKilled");
@total_pirates+=(@pLvl/25);
debugmes "Pirates of SARAH, \"%s\" - Total: %d (Lv %d)", strcharinfo(0), @total_pirates, @pLvl;