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:
Ceikry
2023-01-26 13:59:28 +00:00
committed by Ryan
parent e4b799c44a
commit a100affda2
3156 changed files with 24205 additions and 30585 deletions
@@ -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 };
}
}