PDA

Просмотр полной версии : [9496] HomeBind fixes.


newsbot
01.03.2010, 13:10
<pre>m src/game/NPCHandler.cpp
m src/game/ObjectMgr.cpp
m src/game/Player.cpp
m src/game/Player.h
m src/game/Spell.cpp
m src/game/Spell.h
m src/game/SpellEffects.cpp
m src/game/SpellMgr.cpp
m src/shared/revision_nr.h

[9496] HomeBind fixes.

* Use area id instead zone id for home bind zone info as expected.
This will for example proper show capital name in area himebinding for capital; tavern.
* Clarify that player create zone in fact is area (subzone)
* Implement SPELL_EFFECT_BIND for normal homebinding.
Also support spell target position mode used in 53823/53821 spells
* Add Spell::EffectEmpty for mark spell effects that used but not expect any code in handler.
Example weapon spells that used just as known spell markers for client.

Original patch idea inspirit by Sadikum patch suggestion.</pre>



Дальше... (http://github.com/mangos/mangos/commit/ca541da2dbb67b78cab20a99a92065b0dc0504d0)