mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 04:37:00 +00:00
[8659] Restore less restcricted call format for Unit::AddThreat
Mostly for scripting use, core cases already fixed anyway.
This commit is contained in:
parent
b258a17ba4
commit
9fd87a644b
3 changed files with 3 additions and 4 deletions
|
|
@ -10209,7 +10209,7 @@ float Unit::ApplyTotalThreatModifier(float threat, SpellSchoolMask schoolMask)
|
|||
|
||||
//======================================================================
|
||||
|
||||
void Unit::AddThreat(Unit* pVictim, float threat, bool crit, SpellSchoolMask schoolMask, SpellEntry const *threatSpell /*= NULL*/)
|
||||
void Unit::AddThreat(Unit* pVictim, float threat /*= 0.0f*/, bool crit /*= false*/, SpellSchoolMask schoolMask /*= SPELL_SCHOOL_MASK_NONE*/, SpellEntry const *threatSpell /*= NULL*/)
|
||||
{
|
||||
// Only mobs can manage threat lists
|
||||
if(CanHaveThreatList())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue