Mod equip score calculation

This commit is contained in:
Yunfan Li
2024-04-08 21:38:36 +08:00
parent 3700ee3a12
commit 44b7615fbe

View File

@@ -3669,12 +3669,12 @@ float PlayerbotFactory::CalculateItemScore(uint32 item_id, Player* bot)
{
case SPELL_AURA_MOD_DAMAGE_DONE:
// case SPELL_AURA_MOD_HEALING_DONE: duplicated
spell_power += spellInfo->Effects[i].BasePoints + 1;
spell_power += (spellInfo->Effects[i].BasePoints + 1) * 0.2;
break;
case SPELL_AURA_MOD_ATTACK_POWER:
attack_power += spellInfo->Effects[i].BasePoints + 1;
attack_power += (spellInfo->Effects[i].BasePoints + 1) * 0.2;
case SPELL_AURA_MOD_SHIELD_BLOCKVALUE:
block += spellInfo->Effects[i].BasePoints + 1;
block += (spellInfo->Effects[i].BasePoints + 1) * 0.2;
default:
break;
}