Hi i was doing a favour for my friend for his server by making the slayer area for him so i did it sadly the server was taken down but i would like to know if you would like to have this i did not put in coordinates because we used slayer cave for it you can put it where you want but anyways here it is
if you use it please pm to tell and when people tele there say created by Elliott
if you use it please pm to tell and when people tele there say created by Elliott
- Code:
if(server.npcHandler.npcs[attacknpc].npcType == 1648)
{
if(playerLevel[45] >= 1){IsAttackingNPC = true;}
else{IsAttackingNPC = false;
sendMessage("You need a slayer level of 1 to attack Crawling Hands.");}
}
else if (npcs[i].npcType == 1648) {
temp.addSkillXP(50, 45);
}
spawn = 1648 XCORD YCORD 0 0 0 0 0 1 10 Slayernpc
//Crawling Hand
npcdrop = 1648 526 1 100
npcdrop = 1648 1580 1 12
npcdrop = 1648 6571 1 3
npcdrop = 1648 6575 1 3
npcdrop = 1648 617 3000 27
if(server.npcHandler.npcs[attacknpc].npcType == 1620)
{
if(playerLevel[90] >= 10){IsAttackingNPC = true;}
else{IsAttackingNPC = false;
sendMessage("You need a slayer level of 10 to attack Cockatrice's.");}
}
else if (npcs[i].npcType == 1620) {
temp.addSkillXP(50, 90);
}
spawn = 1620 XCORD YCORD 0 0 0 0 0 1 10 Slayernpc
//Cockatrice
npcdrop = 1620 526 1 100
npcdrop = 1620 4131 1 23
npcdrop = 1620 1620 1 10
npcdrop = 1620 5698 1 17
npcdrop = 1620 617 6000 27
if(server.npcHandler.npcs[attacknpc].npcType == 1619)
{
if(playerLevel[180] >= 24){IsAttackingNPC = true;}
else{IsAttackingNPC = false;
sendMessage("You need a slayer level of 24 to attack Bloodveld's.");}
}
else if (npcs[i].npcType == 1619) {
temp.addSkillXP(50, 180);
}
spawn = 1619 XCORD YCORD 0 0 0 0 0 1 10 Slayernpc
//Bloodveld
npcdrop = 1619 526 1 100
npcdrop = 1619 1305 1 12
npcdrop = 1619 6889 1 10
npcdrop = 1619 526 3500 27
npcdrop = 1619 617 9000 27
if(server.npcHandler.npcs[attacknpc].npcType == 1645)
{
if(playerLevel[275] >= 32){IsAttackingNPC = true;}
else{IsAttackingNPC = false;
sendMessage("You need a slayer level of 32 to attack Infernal Mages.");}
}
else if (npcs[i].npcType == 1645) {
temp.addSkillXP(50, 275);
}
spawn = 1645 XCORD YCORD 0 0 0 0 0 1 10 Slayernpc
//Infernal Mage
npcdrop = 1645 526 1 100
npcdrop = 1645 560 100 13
npcdrop = 1645 565 100 9
npcdrop = 1645 6917 1 2.4
npcdrop = 1645 617 12000 27
if(server.npcHandler.npcs[attacknpc].npcType == 1642)
{
if(playerLevel[350] >= 45){IsAttackingNPC = true;}
else{IsAttackingNPC = false;
sendMessage("You need a slayer level of 45 to attack Jellies.");}
}
else if (npcs[i].npcType == 1642) {
temp.addSkillXP(50, 350);
}
spawn = 1642 XCORD YCORD 0 0 0 0 0 1 10 Slayernpc
//Jelly
npcdrop = 1642 526 1 100
npcdrop = 1642 1201 1 23
npcdrop = 1642 6908 1 14
npcdrop = 1642 557 100 17.5
npcdrop = 1642 617 15000 27
if(server.npcHandler.npcs[attacknpc].npcType == 1828)
{
if(playerLevel[400] >= 50){IsAttackingNPC = true;}
else{IsAttackingNPC = false;
sendMessage("You need a slayer level of 50 to attack Giant Frog's.");}
}
else if (npcs[i].npcType == 1828) {
temp.addSkillXP(50, 400);
}
spawn = 1828 XCORD YCORD 0 0 0 0 0 1 10 Slayernpc
//Giant Frog
npcdrop = 1828 532 1 100
npcdrop = 1828 4517 1 100
npcdrop = 1828 1333 1 27.5
npcdrop = 1828 4587 1 11
npcdrop = 1828 617 18000 27
if(server.npcHandler.npcs[attacknpc].npcType == 2610)
{
if(playerLevel[500] >= 65){IsAttackingNPC = true;}
else{IsAttackingNPC = false;
sendMessage("You need a slayer level of to attack Tzhaar-Ket's.");}
}
else if (npcs[i].npcType == 2610) {
temp.addSkillXP(50, 500);
}
spawn = 2610 XCORD YCORD 0 0 0 0 0 1 10 Slayernpc
//Tzhaar-Ket
npcdrop = 2610 526 1 100
npcdrop = 2610 6522 1 12
npcdrop = 2610 6524 1 8
npcdrop = 2610 6528 1 5
npcdrop = 2610 6525 1 22
npcdrop = 2610 617 21000 27
if(server.npcHandler.npcs[attacknpc].npcType == 2888)
{
if(playerLevel[550] >= 75){IsAttackingNPC = true;}
else{IsAttackingNPC = false;
sendMessage("You need a slayer level of 10 to attack Daggonoth's.");}
}
else if (npcs[i].npcType == 2888) {
temp.addSkillXP(50, 550);
}
spawn = 2888 XCORD YCORD 0 0 0 0 0 1 10 Slayernpc
//Daggonoth
npcdrop = 2888 6729 1 100
npcdrop = 2888 6128 1 9
npcdrop = 2888 6129 1 8
npcdrop = 2888 6130 1 7
npcdrop = 2888 617 24000 27
if(server.npcHandler.npcs[attacknpc].npcType == 1615)
{
if(playerLevel[600] >= 80){IsAttackingNPC = true;}
else{IsAttackingNPC = false;
sendMessage("You need a slayer level of 10 to attack Abbyssal Demon's.");}
}
else if (npcs[i].npcType == 1615) {
temp.addSkillXP(50, 600);
}
spawn = 1615 XCORD YCORD 0 0 0 0 0 1 10 Slayernpc
//Abyssal Demon
npcdrop = 1615 592 1 100
npcdrop = 1615 4151 1 13
npcdrop = 1615 1149 1 21
npcdrop = 1615 6916 1 25
npcdrop = 1615 617 27000 27
if(server.npcHandler.npcs[attacknpc].npcType == 1612)
{
if(playerLevel[750] >= 90){IsAttackingNPC = true;}
else{IsAttackingNPC = false;
sendMessage("You need a slayer level of 90 to attack Dark Beast's.");}
}
else if (npcs[i].npcType == 1648) {
temp.addSkillXP(50, 750);
}
spawn = 1612 XCORD YCORD 0 0 0 0 0 1 10 Slayernpc
//Dark Beast
npcdrop = 1612 532 1 100
npcdrop = 1612 7622 1 12
npcdrop = 1612 7625 1 1
npcdrop = 1612 7921 1 1
npcdrop = 1612 617 30000 27
if(server.npcHandler.npcs[attacknpc].npcType == 2881)
{
if(playerLevel[950] >= 95){IsAttackingNPC = true;}
else{IsAttackingNPC = false;
sendMessage("You need a slayer level of 95 to attack Daggonoth Supreme.");}
}
else if (npcs[i].npcType == 2881) {
temp.addSkillXP(50, 950);
}
spawn = 2881 XCORD YCORD 0 0 0 0 0 1 10 Slayernpc
//Daggonoth Supreme
npcdrop = 2881 6729 1 100
npcdrop = 2881 6739 1 12
npcdrop = 2881 6563 1 11
npcdrop = 2881 6731 1 9
npcdrop = 2881 617 100000 27
if(server.npcHandler.npcs[attacknpc].npcType == 2882)
{
if(playerLevel[950] >= 95){IsAttackingNPC = true;}
else{IsAttackingNPC = false;
sendMessage("You need a slayer level of 95 to attack Daggonoth Prime.");}
}
else if (npcs[i].npcType == 2882) {
temp.addSkillXP(50, 950);
}
spawn = 2882 XCORD YCORD 0 0 0 0 0 1 10 Slayernpc
//Daggonoth Prime
npcdrop = 2882 6729 1 100
npcdrop = 2882 6739 1 12
npcdrop = 2882 6724 1 11
npcdrop = 2882 6733 1 9
npcdrop = 2882 617 100000 27
if(server.npcHandler.npcs[attacknpc].npcType == 2883)
{
if(playerLevel[950] >= 95){IsAttackingNPC = true;}
else{IsAttackingNPC = false;
sendMessage("You need a slayer level of 95 to attack Daggonoth Rex.");}
}
else if (npcs[i].npcType == 2883) {
temp.addSkillXP(50, 950);
}
spawn = 2883 XCORD YCORD 0 0 0 0 0 1 10 Slayernpc
//Daggonoth Rex
npcdrop = 2883 6729 1 100
npcdrop = 2883 6739 1 12
npcdrop = 2883 7158 1 12
npcdrop = 2883 6735 1 9
npcdrop = 2883 617 100000 27