Hello Devs,
I was searching today for a line that would give Infinity Weapons enchanted to +7,
i've tryied to use this line
st.setEnchantLevel(7);
to this part of the code:
@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
{
QuestState st = player.getQuestState(getName());
int weaponId = Integer.valueOf(event);
if (Util.contains(weaponIds, weaponId))
st.giveItems(weaponId, 1);
st.exitQuest(true);
return null;
}
Any suggestions?
Thanks in advance,
-Rev