PDA

Просмотр полной версии : Initial support for multiple charms


newsbot
24.01.2018, 03:50
Автор: Warlockbugs

Initial support for multiple charms* Add underlying storage for more than one simultaneous charm- Charms are logically split into unique advertised one (aka "public") and multiple non-advertised ones ("private").- Introduce changes into approriate parts of charm routine to support it* Significant change in Unit::BreakCharmOutgoing() semantics:- Introduce override method which breaks all charms or just advertised one- Existing method no longer has default probe to GetCharm() and requires a unit* Modify Unit::TakeCharmOf() to allow specifying type of the charm- Allows charming one advertised (public) and many private charms* Some cleanup in aura handlers* Introduce handler for SPELL_AURA_AOE_CHARM

Подробнее... (https://github.com/cmangos/mangos-wotlk/commit/15b999d5038929198f9fcbb231226f5f9df1a803)