Misc: Some engrish fixes, thanks to ZxBiohazardZx, closes issue 4740
--HG-- branch : trunk
This commit is contained in:
1 parent
a3ade4a49a
commit
48d90fab32
27 files changed
+149
-149
No files matched your search
@@ -2812,8 +2812,8 @@ void Spell::EffectSummonChangeItem(SpellEffIndex effIndex)
|
||||
|
||||
if (m_CastItem->GetUInt32Value(ITEM_FIELD_DURABILITY) < m_CastItem->GetUInt32Value(ITEM_FIELD_MAXDURABILITY))
|
||||
{
|
||||
double loosePercent = 1 - m_CastItem->GetUInt32Value(ITEM_FIELD_DURABILITY) / double(m_CastItem->GetUInt32Value(ITEM_FIELD_MAXDURABILITY));
|
||||
player->DurabilityLoss(pNewItem, loosePercent);
|
||||
double lossPercent = 1 - m_CastItem->GetUInt32Value(ITEM_FIELD_DURABILITY) / double(m_CastItem->GetUInt32Value(ITEM_FIELD_MAXDURABILITY));
|
||||
player->DurabilityLoss(pNewItem, lossPercent);
|
||||
}
|
||||
|
||||
if (player->IsInventoryPos(pos))
|
||||
|
||||
Reference in new issue
Block a user