fix: use correct damage check for power stone
This commit is contained in:
parent
a86e75014f
commit
910fd5cc3b
@ -147,7 +147,7 @@ public class GameLogic {
|
||||
requireAlive(target);
|
||||
requireOppositeTeam(origin, target);
|
||||
|
||||
if(origin.rangedDamage * 2 != data.value) {
|
||||
if(origin.meleeDamage * 2 != data.value) {
|
||||
throw new InvalidRequestException("Invalid power stone damage");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user