If (player.getEquipment().getId().SLOT_HELMET() == helmetIdHere && target instanceof slayerTask/NPC && NPC.getId() == slayermonster.getId()) {
Damage =* 1.5;
}
Some shit like that in player combat. On my phone atm, soz
|
So, the items that I' want to talk about is
-- Slayer Helm --
-- Leaf Bladed Sword --
So, making the Slayer helm give bonus damage TO ONLY slayer Npcs and same for leaf bladed sword, make them do bonus damage to slayer npcs only. How would this be done?
If (player.getEquipment().getId().SLOT_HELMET() == helmetIdHere && target instanceof slayerTask/NPC && NPC.getId() == slayermonster.getId()) {
Damage =* 1.5;
}
Some shit like that in player combat. On my phone atm, soz
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |