Core/Misc: Fix compile and char creation

- Added very basic honor/conquest support, no idea if its works even a little since there's no possibility of testing yet
This commit is contained in:
kaelima
2011-11-26 01:46:41 +01:00
parent e8c3a3ac9c
commit aa215e5e80
14 changed files with 87 additions and 170 deletions
@@ -1972,7 +1972,7 @@ void AuraEffect::HandleAuraModShapeshift(AuraApplication const* aurApp, uint8 mo
if (PowerType != POWER_MANA)
{
uint32 oldPower = target->GetPower(PowerType);
int32 oldPower = target->GetPower(PowerType);
// reset power to default values only at power change
if (target->getPowerType() != PowerType)
target->setPowerType(PowerType);
@@ -1999,7 +1999,7 @@ void AuraEffect::HandleAuraModShapeshift(AuraApplication const* aurApp, uint8 mo
break;
case FORM_BEAR:
case FORM_DIREBEAR:
if (urand(0, 99) < FurorChance)
if (irand(0, 99) < FurorChance)
target->CastSpell(target, 17057, true);
default:
{