fix: use correct damage check for power stone

This commit is contained in:
punchready 2021-07-25 22:09:08 +02:00
parent a86e75014f
commit 910fd5cc3b

View File

@ -147,7 +147,7 @@ public class GameLogic {
requireAlive(target); requireAlive(target);
requireOppositeTeam(origin, target); requireOppositeTeam(origin, target);
if(origin.rangedDamage * 2 != data.value) { if(origin.meleeDamage * 2 != data.value) {
throw new InvalidRequestException("Invalid power stone damage"); throw new InvalidRequestException("Invalid power stone damage");
} }
} }