PDA

Просмотр полной версии : [11990] More db-script command changes


newsbot
10.05.2012, 01:35
Автор: Schmoozerd


<pre>m doc/script_commands.txt
m src/game/Map.cpp
m src/game/Player.cpp
m src/game/ScriptMgr.cpp
m src/game/ScriptMgr.h
m src/shared/revision_nr.h
</pre>
<pre style='white-space:pre-wrap;width:81ex'>[11990] More db-script command changes

* Allow SCRIPT_COMMAND_KILL_CREDIT to give the kill of an involved npc.
This is marked by datalong (creature-entry) == 0
* Remove immediate execution of commands. This will prevent infinite loops when db-scripts trigger db-scripts which are executed immediately
* Add check for SCRIPT_COMMAND_PLAY_SOUND
* Add check to catch an invalid command

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com></pre>


Подробнее... (https://github.com/mangos/mangos/commit/1bf4280adde64e202c9878cbe19accb866bde420)