Ok this is a quick snippet to show how to stop the portals going back to 200 HP.
Difficulty: 1/10
Requires: No knowledge
Base: Project Insanity
First add:
Code:
public int Portal1kill = 0;
public int Portal2kill = 0;
public int Portal3kill = 0;
public int Portal4kill = 0;
at the top of PestControl.java
under
Code:
public int gameTimer = -1;
public int waitTimer = 15;
public int properTimer = 0;
Then find:
Code:
if (Server.npcHandler.npcs[j] != null) {
if (Server.npcHandler.npcs[j].npcType == 6142)
c.getPA().sendFrame126("" + Server.npcHandler.npcs[j].HP + "", 21111);
if (Server.npcHandler.npcs[j].npcType == 6143)
c.getPA().sendFrame126("" + Server.npcHandler.npcs[j].HP + "", 21112);
if (Server.npcHandler.npcs[j].npcType == 6143)
c.getPA().sendFrame126("" + Server.npcHandler.npcs[j].HP + "", 21113);
if (Server.npcHandler.npcs[j].npcType == 6145)
c.getPA().sendFrame126("" + Server.npcHandler.npcs[j].HP + "", 21114);
if (Server.npcHandler.npcs[j].npcType == 3782)
c.getPA().sendFrame126("" + Server.npcHandler.npcs[j].HP + "", 21115);
}
and replace it with:
Code:
if (Server.npcHandler.npcs[j] != null) {
if (Server.npcHandler.npcs[j].npcType == 6142)
if (Portal1kill == 0) {
c.getPA().sendFrame126("" + Server.npcHandler.npcs[j].HP + "", 21111);
if(Server.npcHandler.npcs[j].HP == 0) {
Portal1kill = 1;
}
} else {
c.getPA().sendFrame126("Dead", 21111);
}
if (Server.npcHandler.npcs[j].npcType == 6143)
if (Portal2kill == 0) {
c.getPA().sendFrame126("" + Server.npcHandler.npcs[j].HP + "", 21112);
if(Server.npcHandler.npcs[j].HP == 0) {
Portal2kill = 1;
}
} else {
c.getPA().sendFrame126("Dead", 21112);
}
if (Server.npcHandler.npcs[j].npcType == 6144)
if (Portal3kill == 0) {
c.getPA().sendFrame126("" + Server.npcHandler.npcs[j].HP + "", 21113);
if(Server.npcHandler.npcs[j].HP == 0) {
Portal3kill = 1;
}
} else {
c.getPA().sendFrame126("Dead", 21113);
}
if (Server.npcHandler.npcs[j].npcType == 6145)
if (Portal4kill == 0) {
c.getPA().sendFrame126("" + Server.npcHandler.npcs[j].HP + "", 21114);
if(Server.npcHandler.npcs[j].HP == 0) {
Portal4kill = 1;
}
} else {
c.getPA().sendFrame126("Dead", 21114);
}
if (Server.npcHandler.npcs[j].npcType == 3782)
c.getPA().sendFrame126("" + Server.npcHandler.npcs[j].HP + "", 21115);
}
This will stop the Health going back to 200. And will show "Dead" when each portal dies.
Almost forgot, add this in:
Code:
Portal1kill = 0;
Portal2kill = 0;
Portal3kill = 0;
Portal4kill = 0;
under:
Code:
c.getCombat().resetPrayers();
which is in the endgame void. This will simply reset the variables so that they don't say "Dead" immediately when u start the next game.
Post if your using! 
-Nathan
.