|
|
|
@ -14,7 +14,6 @@ import org.pmw.tinylog.Logger;
@@ -14,7 +14,6 @@ import org.pmw.tinylog.Logger;
|
|
|
|
|
|
|
|
|
|
import java.util.ArrayList; |
|
|
|
|
import java.util.HashMap; |
|
|
|
|
import java.util.concurrent.ConcurrentHashMap; |
|
|
|
|
import java.util.concurrent.ThreadLocalRandom; |
|
|
|
|
|
|
|
|
|
import static engine.math.FastMath.acos; |
|
|
|
@ -401,7 +400,9 @@ public enum NPCManager {
@@ -401,7 +400,9 @@ public enum NPCManager {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static void applyMobbaseSkills(Mob mob) { |
|
|
|
|
|
|
|
|
|
public static void applyMobbaseSkill(Mob mob) { |
|
|
|
|
SkillsBase baseSkill = DbManager.SkillsBaseQueries.GET_BASE_BY_TOKEN(mob.mobBase.getMobBaseStats().getBaseSkill()); |
|
|
|
|
if(baseSkill != null) |
|
|
|
|
mob.getSkills().put(baseSkill.getName(),new CharacterSkill(baseSkill,mob,mob.mobBase.getMobBaseStats().getBaseSkillAmount())); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|