Description: When u use drag fire shield drag hit less
Difficulty: 1
Assumed Knowledge: Now how to make a npc attack C+P
Tested Server: Cleaned v2
Files/Classes Modified: Npchandler.java
Procedure
Step 1: Open npchandler.java and search for attackplayer
add with ur other attacks:
That will make it so when u have dragonfire shield max will be 10 but if u dont max will be 40Code:if (npcs[NPCID].npcType == 50) {
if (p.playerEquipment[p.playerShield] == 1540) {
hitDiff = misc.random(10);
} else {
hitDiff = 0 + misc.random(40) ;
}
If u dont have add : to attackplayer void
really simple lol but very effectiveCode:int Player = npcs[NPCID].StartKilling;
client p = (client) server.playerHandler.players[Player];
