PDA

View Full Version : Ice Strykewyrms



hellman2741
July 27th, 2011, 04:27
This is currently only the spawn, I'll add more when I make more...

ItemDefinitions.xml


<npcDefinition>
<id>9463</id>
<name>Ice Strykewyrm</name>
<slayerReq>93</slayerReq>
<examine>Oh... My... God...</examine>
<respawn>10</respawn>
<combat>210</combat>
<hitpoints>200</hitpoints>
<maxHit>20</maxHit>
<attackSpeed>6</attackSpeed>
<attackAnim>12791</attackAnim>
<defenceAnim>12792</defenceAnim>
<deathAnim>12793</deathAnim>
</npcDefinition>

Go to NpcPacketHandler.java
Under private void optionHandle(final Player p, NPC npc) {
put:

if(npc.getId() == 9462) {
p.turnTo(npc);
p.animate(4278);
World.getInstance().registerEvent(new Event(900) {
public void execute() {
npc.setId(9463);
npc.turnTo(p);
npc.setHp(npc.getMaxHp());
npc.setDead(false);
npc.animate(12795);
this.stop();
}
});
}

Also, in private void optionHandle(final Player p, NPC npc) {
put "final" in front of NPC
So it'll look like
private void optionHandle(final Player p, final NPC npc) {

DeathEvent.java under "public void execute() {"


if(n.getId() == 9463) { //Ice Strykewyrms
n.setId(9462);
n.setDead(true);
}

All I've gotten so far.
Now just spawn the id 9462 and click it.
If needed.
The coordinates for the Ice Strykewyrm cave is 3432, 5653

Unlimitedz
January 23rd, 2012, 16:09
Don't we need to put it in raw file in cache?

iRepo
January 23rd, 2012, 16:10
Don't we need to put it in raw file in cache?

Should already be there.

EDIT: By the way, nice gravedig.

Unlimitedz
February 6th, 2012, 09:36
No some servers don't have it:l so there is a strykeworm tutorial in the furthur pages... add the .dat file and then do the tutorial

hellman2741
February 9th, 2012, 21:24
This was supposed to be in 562+ lol
Some dumbass mod must have moved it to 317.

Cart
February 9th, 2012, 21:28
This was supposed to be in 562+ lol
Some dumbass mod must have moved it to 317.

Helps if you report, lucky I'm lurkin'.

Moved.