newsbot
08.04.2013, 00:31
Автор: Schmoozerd
<pre>m doc/script_commands.txt
m src/game/ObjectMgr.cpp
m src/game/ObjectMgr.h
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'>[12447] Implement SCRIPT_COMMAND_TERMINATE_COND
This command is used to terminate a script execution based on a condition (from `conditions` table)
* datalong = condition_id
* datalong2 = fail-quest
* data_flags & SCRIPT_FLAG_COMMAND_ADDITIONAL terminate when condition is false. ELSE(normal case) terminate when condition is true</pre>
Подробнее... (https://github.com/cmangos/mangos-wotlk/commit/577de26dcd55f3d116e41f3eeaaaeb318ba9bf54)
<pre>m doc/script_commands.txt
m src/game/ObjectMgr.cpp
m src/game/ObjectMgr.h
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'>[12447] Implement SCRIPT_COMMAND_TERMINATE_COND
This command is used to terminate a script execution based on a condition (from `conditions` table)
* datalong = condition_id
* datalong2 = fail-quest
* data_flags & SCRIPT_FLAG_COMMAND_ADDITIONAL terminate when condition is false. ELSE(normal case) terminate when condition is true</pre>
Подробнее... (https://github.com/cmangos/mangos-wotlk/commit/577de26dcd55f3d116e41f3eeaaaeb318ba9bf54)