new spell ATR

This commit is contained in:
FatBoy committed 2025-02-21 11:53:32 -06:00
1 parent c8a95cab41
commit 3d199a9362
3 files changed
+18 -7

No files matched your search

+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)) {