mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-04 00:31:54 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user