mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
Tweak rage calculation
This commit is contained in:
parent
08c70e9ffe
commit
fd8638c742
@ -71,7 +71,7 @@ uint8 RageValue::Calculate()
|
|||||||
if (!target)
|
if (!target)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
return (static_cast<float> (target->GetPower(POWER_RAGE)));
|
return (target->GetPower(POWER_RAGE) / 10.0f);
|
||||||
}
|
}
|
||||||
|
|
||||||
Unit* EnergyValue::GetTarget()
|
Unit* EnergyValue::GetTarget()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user