37 Posts
Posts
0
Warning level
2
Likes
0
Dislikes
Joined: 2022-04-25
Quote fromBlueFace on April 25, 2022, 6:16 pm
Nocturne RS3 - Defender Ability Usage
A lot of people coming over from the guide I made a while back keep asking about how to make defenders use shield abilities. So here you go:
Find and Open Equipment.java and look for the method hasShield() and add/edit it as you want, example:
Code:public boolean hasShield() { Item item = items.get(5); return items.get(5) != null && (item != null && (item.getDefinitions().isShield() || item.getDefinitions().getName().contains("defender") || item.getDefinitions().getName().contains("shieldbow") || item.getDefinitions().getName().contains("dark bow") || item.getDefinitions().getName().contains("repriser"))); }
Nocturne RS3 - Defender Ability Usage
A lot of people coming over from the guide I made a while back keep asking about how to make defenders use shield abilities. So here you go:
Find and Open Equipment.java and look for the method hasShield() and add/edit it as you want, example:
Code:
public boolean hasShield() {
Item item = items.get(5);
return items.get(5) != null && (item != null && (item.getDefinitions().isShield() ||
item.getDefinitions().getName().contains("defender") ||
item.getDefinitions().getName().contains("shieldbow") ||
item.getDefinitions().getName().contains("dark bow") ||
item.getDefinitions().getName().contains("repriser")));
}