[10217] Update playercreateinfo_action/playercreateinfo_spell

* Drop some food action buttons
* Drop attack spells for caster classes
* Use expected simlifed spell version 20154 (it replaced by full version at learn spell 53408 and similar)
  In code used helper code for support 2 versions as fake non-stacking ranks.
* Some other old "max ranks" of talents and spells now are permanent bonuses known from start (only "max rank" for spell exist)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
crackm 2010-07-18 10:35:33 +04:00 committed by VladimirMangos
parent 238b57f93e
commit 7bb8b2bedb
10 changed files with 498 additions and 228 deletions

View file

@ -1664,6 +1664,9 @@ bool SpellMgr::canStackSpellRanks(SpellEntry const *spellInfo)
// Paladin aura Spell
if (spellInfo->Effect[i]==SPELL_EFFECT_APPLY_AREA_AURA_RAID)
return false;
// Seal of Righteousness, 2 version of same rank
if ((spellInfo->SpellFamilyFlags & UI64LIT(0x0000000008000000)) && spellInfo->SpellIconID == 25)
return false;
break;
case SPELLFAMILY_DRUID:
// Druid form Spell