Показать сообщение отдельно
Старый 08.02.2010, 01:00   #1
newsbot
News Bot
 
Аватар для newsbot
 
Регистрация: 20.11.2009
Сообщений: 1,290
Сказал(а) спасибо: 0
Поблагодарили 5 раз(а) в 5 сообщениях
newsbot На верном пути
По умолчанию [9323] Fixes in code work with original caster guid.

<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>



Дальше...
newsbot вне форума   Ответить с цитированием