AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
MageSpellModPred Class Reference

Public Member Functions

 MageSpellModPred ()
 
bool operator() (SpellModifier const *a, SpellModifier const *b) const
 

Detailed Description

Constructor & Destructor Documentation

◆ MageSpellModPred()

MageSpellModPred::MageSpellModPred ( )
inline
9935{}

Member Function Documentation

◆ operator()()

bool MageSpellModPred::operator() ( SpellModifier const *  a,
SpellModifier const *  b 
) const
inline
9937 {
9938 if (a->type != b->type)
9939 return a->type == SPELLMOD_FLAT;
9940 if (a->spellId == 44401)
9941 return true;
9942 if (b->spellId == 44401)
9943 return false;
9944 return a->value < b->value;
9945 }
@ SPELLMOD_FLAT
Definition Player.h:93

References SpellModifier::spellId, SPELLMOD_FLAT, SpellModifier::type, and SpellModifier::value.


The documentation for this class was generated from the following file: