PDA

Просмотр полной версии : [11215] Replace direct code use in .npc tame by spell cast.


newsbot
03.03.2011, 21:40
автор: VladimirMangos


<pre>m src/game/Level2.cpp
m src/game/Spell.cpp
m src/game/SpellEffects.cpp
m src/game/Unit.cpp
m src/game/Unit.h
m src/shared/revision_nr.h
</pre>
<pre style='white-space:pre-wrap;width:81ex'>[11215] Replace direct code use in .npc tame by spell cast.

Only work different from old way: target creature despawned.
So if this not expected use .respawn to it in gm mode or area respawn.

Code simplification suggested originally by rsa.</pre>




Дальше... (https://github.com/mangos/mangos/commit/c8534f6eb60489f288d4d8dbe9231de59aa0d397)