Update 2/6/2019:
Corp is finished! Another one of my favorite bosses.
As with all the stuff that I have made, I try to recreate it as close as I possibly can.
So the Corp has 5 different attacks he uses in combat + his stomp.
I made it an equal change to roll between a melee attack and a magic attack. Once he determines the style, he rolls between AOE Magic, Spiky Ball Magic and Drain Magic or between his Melee swipe and Melee Crush.
If you walk under him, after 2 ticks he will stomp you, hitting between 450-510 damage. In the video you may notice he stomps a bit too fast, I have since made it slower.
All non-spear/hally melee damage is halved on the Corp and Ruby e special is capped at 1000.
If no one is in the room for 3 game ticks he will heal to full hitpoints. I considered making his stats restore to full as well, but decided it was fine. Because unlike OSRS, you have to run about a minute to get back to the Corp room, and there are no spec pools.
If a player hits 320 damage or more, there is a 1/8 chance for the Core to spawn. If the core hasn't spawned by the time the Corp hits 10000 hitpoints, a 15 second timer starts. If there is no core present when it hits 0 one will be spawned. Every time a core is killed sub 10000 hp, it will increase the timer by 15 seconds and start counting down to spawn another core. Not sure if this is totally accurate but after some testing it was what I observed in OSRS.
The core attempts to find a target based on the chunks of the map. It then tries to drain its target for 50 to 100 health every 2 game ticks to heal the Corp. If it cannot it will fly to the tile its target is standing in. While flying it will not drain any player it flies by.
If you get the Emerald Bolt (e) effect to proc on the core, it will stun the core and slow its attack speed from 2 ticks to 33 ticks (20 Seconds). As long as it is able to drain a player, it will remain stunned; however if it has to fly to its target, it will become unstunned and cannot be stunned again.
The core will not follow the player outside of the room. If there are no players in the room, it will remain there.
I was also able to make an accurate drop table for Corp, since the rates were released by Jagex.
That is the way the sigils are rolled. I also have the proper rates for everything else.Code:@Override public void drop(NPC npc, Player killer) { int roll = Misc.getRandom(511); getDrop(npc, killer, roll); rollCharms(npc, killer, 0, 39, 40, 59, 60, 70, 71, 91, 13); } private void getDrop(NPC npc, Player killer, int roll) { if (roll == 0) { int sigilRoll = Misc.getRandom(7); switch (sigilRoll) { case 0: dropItemMessage(npc, killer, 13748, 1, false, World.getCorpPlayers()); break; case 1: dropItemMessage(npc, killer, 13750, 1, false, World.getCorpPlayers()); break; case 2: case 3: case 4: dropItemMessage(npc, killer, 13752, 1, false, World.getCorpPlayers()); break; case 5: case 6: case 7: dropItemMessage(npc, killer, 13746, 1, false, World.getCorpPlayers()); break; } return; }
If you die in the Corp room you do not get a gravestone.
Lastly, I made it so you can create Blessed Spiritshields with 85 prayer. If you don't have that you can pay Brother Jered to do it for 1M coins.
You can also attach a sigil to the shield with 85 smithing and 90 prayer. I know you pay Abbot Langley to do this in OSRS, but I decided not to put this into my sever.
In other news:
I made it so that your prayer level and hitpoints level on the skills tab drain accordingly when you lose HP or Prayer. It's a small thing but I had been meaning to add this for a while.
I fixed a few bugs I have found with gravestones and prayer:
Fixed a typo in a conditional statement that was causing the grave timer to appear if someone blesses your grave while you are still selecting the items to keep.
A variable was static by mistake so it wasn't allowing any other player to click anything in their tabs while another players tabs were hidden.
I accidentally put the wrong head icon for when you activate deflect summoning and have deflect melee active, so it wasn't displaying the correct head icon.
I added Vecna's skull.
Lastly, I was finally able to fix the quick prayer selection for the normal prayer book visually. The interface wasn't displaying properly when you selected quick prayers, because I wasn't using the correct varbits for it. Thanks to Bracket for helping me fix this problem.





Love the attention to detail and the fact that it's an emulation

donald trump approves this message