PDA

Просмотр полной версии : [9323] Fixes in code work with original caster guid.


newsbot
08.02.2010, 01:00
<pre>m src/game/Spell.cpp
m src/game/Spell.h
m src/game/SpellEffects.cpp
m src/shared/revision_nr.h

[9323] Fixes in code work with original caster guid.

* Add 2 function for 2 used way for original caster
- GetAffectiveCaster(), is posible NULL unit as source spell affects
(explcit caster, GO owner, caster of aura that trigering affect)..
- GetCastingObject(), possible NULL world object as in game spell effects
source, cast center, etc, need because original caster can store GO
guid that apply effect around. In other cases m_caster
* Use functions and avoid use explicitly m_originalCaster
* Use GetAffectiveCaster() for fix explicit GO cast at near unit, like now fixed campfire bonus.</pre>



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

tempura
09.02.2010, 17:45
Порталы тут сломали?

Обидели... :(

Vladimir
10.02.2010, 07:23
Угу, уже увидел где...