Repository reorganisation
Unified kotlin and java into just src/main Unified the rs09 and core packages Took all content out of the core package, and placed it into the new content package Reorganised all source code relating to content to be easier to find and explore
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
package content.global.skill.summoning.familiar;
|
||||
|
||||
import core.game.node.entity.combat.equipment.WeaponInterface;
|
||||
import core.plugin.Initializable;
|
||||
import core.game.node.entity.player.Player;
|
||||
|
||||
/**
|
||||
* Represents the Praying Mantis familiar.
|
||||
* @author Aero
|
||||
*/
|
||||
@Initializable
|
||||
public class PrayingMantisNPC extends Familiar {
|
||||
|
||||
/**
|
||||
* Constructs a new {@code PrayingMantisNPC} {@code Object}.
|
||||
*/
|
||||
public PrayingMantisNPC() {
|
||||
this(null, 6798);
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructs a new {@code PrayingMantisNPC} {@code Object}.
|
||||
* @param owner The owner.
|
||||
* @param id The id.
|
||||
*/
|
||||
public PrayingMantisNPC(Player owner, int id) {
|
||||
super(owner, id, 6900, 12011, 6, WeaponInterface.STYLE_ACCURATE);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Familiar construct(Player owner, int id) {
|
||||
return new PrayingMantisNPC(owner, id);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean specialMove(FamiliarSpecial special) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int[] getIds() {
|
||||
return new int[] { 6798, 6799 };
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user