Skip to content

Commit 951edd5

Browse files
committed
Server/Player: Agility does not provide armor.
Signed-off-by: AriDEV <aridev666@gmail.com>
1 parent c88f1da commit 951edd5

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

‎src/server/game/Entities/Player/Player.cpp‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3414,8 +3414,6 @@ void Player::InitStatsForLevel(bool reapplyMods)
34143414
//set create powers
34153415
SetCreateMana(basemana);
34163416

3417-
SetArmor(int32(m_createStats[STAT_AGILITY]*2));
3418-
34193417
InitStatBuffMods();
34203418

34213419
//reset rating fields values
@@ -3473,8 +3471,8 @@ void Player::InitStatsForLevel(bool reapplyMods)
34733471
SetFloatValue(PLAYER_FIELD_PVP_POWER_DAMAGE, 0.0f);
34743472
SetFloatValue(PLAYER_FIELD_PVP_POWER_HEALING, 0.0f);
34753473

3476-
// set armor (resistance 0) to original value (create_agility*2)
3477-
SetArmor(int32(m_createStats[STAT_AGILITY]*2));
3474+
// set armor (resistance 0) to original value
3475+
SetArmor(0);
34783476
SetResistanceBuffMods(SpellSchools(0), true, 0.0f);
34793477
SetResistanceBuffMods(SpellSchools(0), false, 0.0f);
34803478
// set other resistance to original value (0)

0 commit comments

Comments
 (0)