1package com.osroyale.content.skill.impl.magic.spell.impl;
3import com.osroyale.Config;
4import com.osroyale.content.skill.impl.magic.Spellbook;
5import com.osroyale.content.skill.impl.magic.spell.Spell;
6import com.osroyale.content.skill.impl.smithing.Smelting;
7import com.osroyale.content.skill.impl.smithing.SmeltingData;
8import com.osroyale.game.Graphic;
9import com.osroyale.game.world.entity.mob.player.Player;
10import com.osroyale.game.world.entity.skill.Skill;
11import com.osroyale.game.world.items.Item;
12import com.osroyale.net.packet.out.SendForceTab;
14import java.util.Optional;
59 return new Item[] {
new Item(554, 1),
new Item(561, 1) };
71 if (!data.isPresent()) {
72 player.message(
"You can not super heat this item!");
76 if (!player.inventory.
containsAll(data.get().required)) {
77 player.message(
"You do not contain the required items to super heat!");
82 player.message(
"You need a smithing level of " + data.get().requirement +
" to do super heat this item!");
87 player.graphic(
new Graphic(148,
false));
89 player.inventory.
removeAll(data.get().required);
90 player.inventory.
addAll(data.get().produced);
static final double SMITHING_MODIFICATION
static final double MAGIC_MODIFICATION
void execute(Player player, Item item)
static final int SMITHING
void addExperience(int id, double experience)
final boolean containsAll(int... identifiers)
boolean addAll(Collection<? extends Item > items)
boolean removeAll(Collection<? extends Item > items)
static Optional< SmeltingData > getDefinitionByItem(int itemId)