public static final void processLunarSpell(final Player player, final NPC npc, final int spellId) {
player.stopAll(false);
switch (spellId) {
case 28:
Lunars.MonsterExamine(player, npc);
}
return;
}
and in:
Spoiler for Buttonhandler.java:
} else if (interfaceId == 430) {
if (player.getTemporaryAttributtes().get("JAGGED") == Boolean.TRUE) {
player.getDialogueManager().startDialogue("SimpleM essage",
"You cannot do that until you've verified this device with JAG.");
return;
}
if (componentId == 5)
player.getCombatDefinitions().switchShowCombatSpel ls();
else if (componentId == 7)
player.getCombatDefinitions().switchShowTeleportSk illSpells();
else if (componentId == 9)
player.getCombatDefinitions().switchShowMiscallane ousSpells();
else if (componentId >= 11 & componentId <= 13)
player.getCombatDefinitions().setSortSpellBook(com ponentId - 11);
else if (componentId == 20)
player.getCombatDefinitions().switchDefensiveCasti ng();
else
Magic.processLunarSpell(player, componentId, packetId);