mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[12632] Revert previous commit (see Notes)
This commit is contained in:
parent
1cd806c02e
commit
ef445ea523
1462 changed files with 9689 additions and 7080 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* This file is part of the CMaNGOS Project. See AUTHORS file for Copyright information
|
||||
* This code is part of MaNGOS. Contributor & Copyright details are in AUTHORS/THANKS.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
@ -6609,7 +6609,7 @@ int32 Unit::SpellBonusWithCoeffs(SpellEntry const* spellProto, int32 total, int3
|
|||
return total;
|
||||
};
|
||||
|
||||
/**
|
||||
/*
|
||||
* Calculates caster part of spell damage bonuses,
|
||||
* also includes different bonuses dependent from target auras
|
||||
*/
|
||||
|
|
@ -6949,7 +6949,7 @@ uint32 Unit::SpellDamageBonusDone(Unit* pVictim, SpellEntry const* spellProto, u
|
|||
return tmpDamage > 0 ? uint32(tmpDamage) : 0;
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* Calculates target part of spell damage bonuses,
|
||||
* will be called on each tick for periodic damage over time auras
|
||||
*/
|
||||
|
|
@ -7336,7 +7336,7 @@ uint32 Unit::SpellCriticalHealingBonus(SpellEntry const* spellProto, uint32 dama
|
|||
return damage;
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* Calculates caster part of healing spell bonuses,
|
||||
* also includes different bonuses dependent from target auras
|
||||
*/
|
||||
|
|
@ -7479,7 +7479,7 @@ uint32 Unit::SpellHealingBonusDone(Unit* pVictim, SpellEntry const* spellProto,
|
|||
return heal < 0 ? 0 : uint32(heal);
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* Calculates target part of healing spell bonuses,
|
||||
* will be called on each tick for periodic damage over time auras
|
||||
*/
|
||||
|
|
@ -7696,7 +7696,7 @@ bool Unit::IsImmuneToSpellEffect(SpellEntry const* spellInfo, SpellEffectIndex i
|
|||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* Calculates caster part of melee damage bonuses,
|
||||
* also includes different bonuses dependent from target auras
|
||||
*/
|
||||
|
|
@ -7950,7 +7950,7 @@ uint32 Unit::MeleeDamageBonusDone(Unit* pVictim, uint32 pdamage, WeaponAttackTyp
|
|||
return tmpDamage > 0 ? uint32(tmpDamage) : 0;
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* Calculates target part of melee damage bonuses,
|
||||
* will be called on each tick for periodic damage over time auras
|
||||
*/
|
||||
|
|
@ -11664,7 +11664,7 @@ void Unit::OnRelocated()
|
|||
ScheduleAINotify(World::GetRelocationAINotifyDelay());
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* @param entry entry of the vehicle kit
|
||||
* @param overwriteNpcEntry use to select behaviour (like accessory) for this entry instead of GetEntry()'s result
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue