forked from MagicBane/Server
ABS char skill system
This commit is contained in:
@@ -1188,8 +1188,8 @@ public enum PowersManager {
|
||||
PlayerCharacter pc = (PlayerCharacter) target;
|
||||
int raceID = 0;
|
||||
|
||||
if (pc.getRace() != null)
|
||||
raceID = pc.getRace().getRaceRuneID();
|
||||
if (pc.race != null)
|
||||
raceID = pc.race.getRaceRuneID();
|
||||
|
||||
switch (mtp) {
|
||||
case "Shade":
|
||||
@@ -1334,7 +1334,7 @@ public enum PowersManager {
|
||||
timers.get("Summon").cancelJob();
|
||||
|
||||
// get time to wait before summons goes through
|
||||
BaseClass base = source.getBaseClass();
|
||||
BaseClass base = source.baseClass;
|
||||
PromotionClass promo = source.getPromotionClass();
|
||||
int duration;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user