Required levels are defined in the XML file.
|
I want to make an abstract like this
And I want it to return the required levelCode:public abstract int getRequiredLevel();
But I have no idea how to use the @Override or abstract in javaCode:@Override public int getRequiredLevel() { return 55; }
Examples, examples, examples. Please?
I want this because all of the spells in Dementhium [637] have no requirement
Mine are in an xml file named MagicSpells.xml looking like this
No requirements and I can cast any spell at level 1Code:<magicSpell> <spellHandler>org.dementhium.model.combat.impl.spells.modern.HellSurge</spellHandler> <spellId>98</spellId> <spellType>MODERN</spellType> </magicSpell>
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |