|
|
@ -99,7 +99,21 @@ public class PromotionClass extends AbstractGameObject { |
|
|
|
this.effectsGrantedRogue = DbManager.RuneBaseEffectQueries.GET_EFFECTS_FOR_RUNEBASE((this.getObjectUUID() * 10) + 2502); |
|
|
|
this.effectsGrantedRogue = DbManager.RuneBaseEffectQueries.GET_EFFECTS_FOR_RUNEBASE((this.getObjectUUID() * 10) + 2502); |
|
|
|
this.effectsGrantedMage = DbManager.RuneBaseEffectQueries.GET_EFFECTS_FOR_RUNEBASE((this.getObjectUUID() * 10) + 2503); |
|
|
|
this.effectsGrantedMage = DbManager.RuneBaseEffectQueries.GET_EFFECTS_FOR_RUNEBASE((this.getObjectUUID() * 10) + 2503); |
|
|
|
this.effectsList = DbManager.MobBaseQueries.GET_RUNEBASE_EFFECTS(this.getObjectUUID()); |
|
|
|
this.effectsList = DbManager.MobBaseQueries.GET_RUNEBASE_EFFECTS(this.getObjectUUID()); |
|
|
|
|
|
|
|
switch(this.getName()){ |
|
|
|
|
|
|
|
case "Barbarian": |
|
|
|
|
|
|
|
case "Warlock": |
|
|
|
|
|
|
|
case "Warrior": |
|
|
|
|
|
|
|
case "Channeler": |
|
|
|
|
|
|
|
case "Druid": |
|
|
|
|
|
|
|
case "Priest": |
|
|
|
|
|
|
|
case "Doomsayer": |
|
|
|
|
|
|
|
case "Assassin": |
|
|
|
|
|
|
|
case "Scout": |
|
|
|
|
|
|
|
case "Thief": |
|
|
|
|
|
|
|
case "Wizard": |
|
|
|
|
|
|
|
case "Necromancer": |
|
|
|
|
|
|
|
this.allowedRunes.add(19991999); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -145,12 +159,7 @@ public class PromotionClass extends AbstractGameObject { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public boolean isAllowedRune(int token) { |
|
|
|
public boolean isAllowedRune(int token) { |
|
|
|
for (int b : this.allowedRunes) { |
|
|
|
return this.allowedRunes.contains(token); |
|
|
|
if (token == b) { |
|
|
|
|
|
|
|
return true; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
return false; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public ArrayList<Integer> getRuneList() { |
|
|
|
public ArrayList<Integer> getRuneList() { |
|
|
|