mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-05-01 01:59:21 +02:00
remove unused var
This commit is contained in:
parent
dca9e61345
commit
f8de994f4b
@ -869,12 +869,6 @@ bool Combat::closeAttack(Creature* attacker, Creature* target, fightMode_t fight
|
||||
|
||||
Combat::getAttackValue(attacker, attackValue, skillValue, skill);
|
||||
|
||||
int32_t defense = target->getDefense();
|
||||
|
||||
if (OTSYS_TIME() < target->earliestDefendTime) {
|
||||
defense = 0;
|
||||
}
|
||||
|
||||
CombatParams combatParams;
|
||||
combatParams.blockedByArmor = true;
|
||||
combatParams.blockedByShield = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user