new spell ATR

This commit is contained in:
2025-02-21 11:53:32 -06:00
parent c8a95cab41
commit 3d199a9362
3 changed files with 18 additions and 7 deletions
+2 -1
View File
@@ -2435,7 +2435,8 @@ public enum PowersManager {
public static boolean testAttack(PlayerCharacter pc, AbstractWorldObject awo,
PowersBase pb, PerformActionMsg msg) {
// Get defense for target
float atr = CharacterSkill.getATR(pc, pb.getSkillName());
//float atr = CharacterSkill.getATR(pc, pb.getSkillName());
float atr = PlayerCombatStats.getSpellAtr(pc, pb);
float defense;
if (AbstractWorldObject.IsAbstractCharacter(awo)) {