mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[7626] Fixed: Typo in InitStatsForLevel
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
361e2eba42
commit
e95ba2814d
2 changed files with 2 additions and 2 deletions
|
|
@ -2408,7 +2408,7 @@ void Player::InitStatsForLevel(bool reapplyMods)
|
||||||
SetUInt32Value(PLAYER_FIELD_MOD_TARGET_PHYSICAL_RESISTANCE,0);
|
SetUInt32Value(PLAYER_FIELD_MOD_TARGET_PHYSICAL_RESISTANCE,0);
|
||||||
for(int i = 0; i < MAX_SPELL_SCHOOL; ++i)
|
for(int i = 0; i < MAX_SPELL_SCHOOL; ++i)
|
||||||
{
|
{
|
||||||
SetFloatValue(UNIT_FIELD_POWER_COST_MODIFIER+i,0.0f);
|
SetUInt32Value(UNIT_FIELD_POWER_COST_MODIFIER+i,0);
|
||||||
SetFloatValue(UNIT_FIELD_POWER_COST_MULTIPLIER+i,0.0f);
|
SetFloatValue(UNIT_FIELD_POWER_COST_MULTIPLIER+i,0.0f);
|
||||||
}
|
}
|
||||||
// Reset no reagent cost field
|
// Reset no reagent cost field
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "7625"
|
#define REVISION_NR "7626"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue