Fix ranged attack power on 1.9.4.
This commit is contained in:
@@ -233,7 +233,7 @@ void Player::UpdateAttackPowerAndDamage(bool ranged)
|
||||
{
|
||||
index = UNIT_FIELD_RANGED_ATTACK_POWER;
|
||||
index_mod = UNIT_FIELD_RANGED_ATTACK_POWER_MODS;
|
||||
#if SUPPORTED_CLIENT_BUILD > CLIENT_BUILD_1_9_4
|
||||
#if SUPPORTED_CLIENT_BUILD > CLIENT_BUILD_1_8_4
|
||||
index_mult = UNIT_FIELD_RANGED_ATTACK_POWER_MULTIPLIER;
|
||||
#endif
|
||||
|
||||
@@ -761,7 +761,7 @@ void Creature::UpdateAttackPowerAndDamage(bool ranged)
|
||||
{
|
||||
index = UNIT_FIELD_RANGED_ATTACK_POWER;
|
||||
index_mod = UNIT_FIELD_RANGED_ATTACK_POWER_MODS;
|
||||
#if SUPPORTED_CLIENT_BUILD > CLIENT_BUILD_1_9_4
|
||||
#if SUPPORTED_CLIENT_BUILD > CLIENT_BUILD_1_8_4
|
||||
index_mult = UNIT_FIELD_RANGED_ATTACK_POWER_MULTIPLIER;
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user