Port Phasmatys Update I (#485)

* New NPC Spawns for Port Phasmatys

Added most NPCs in Port Phasmatys including the ghost villagers, sailors, guards, Robin, Ak-Haranu, and more.

* ObjectActions for Ectofuntus and Energy Barrier

The Ectofuntus is now fully accessible and Port Phasmatys can be accessed through the energy barrier.

* Added Ak-Haranu's Exotic Shop

Ak-Haranu now sells Bolt Racks.

* Fixed Ectofuntus Worship

Fixed minor issue with Ectofuntus Worship

* Gravingas Exclamations

Gravingas exclaims different messages while protesting Necrovarus in Port Phasmatys.
This commit is contained in:
Olivier
2021-03-30 16:57:35 -07:00
committed by GitHub
parent a52832348a
commit d5b74825d4
4 changed files with 263 additions and 2 deletions
@@ -525,7 +525,22 @@ public class NpcHandler {
npcs[i].forceChat("Quack!");
}
}
if (npcs[i].npcType == 1685)
{
if (Misc.random(25) == 7) {
int rand = Misc.random(25);
if (rand <= 5)
npcs[i].forceChat("Down with Necrovarus!!");
else if (rand <= 10)
npcs[i].forceChat("United we conquer - divided we fall!!");
else if (rand <= 15)
npcs[i].forceChat("We shall overcome!!");
else if (rand <= 20)
npcs[i].forceChat("Let Necrovarus know we want out!!");
else
npcs[i].forceChat("Don't stay silent - victory in numbers!!");
}
}
if (npcs[i].spawnedBy > 0) {
if (PlayerHandler.players[npcs[i].spawnedBy] == null
|| PlayerHandler.players[npcs[i].spawnedBy].heightLevel != npcs[i].heightLevel