newsbot
24.04.2013, 17:40
Автор: 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'>[c12608] 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
(based on commit [12447] - 577de26)
Signed-off-by: Dramacydal <PulLumBerMal@gmail.com></pre>
Подробнее... (https://github.com/cmangos/mangos-cata/commit/ea63ecb0752f4e622fdb7a422ada068ea04b9b7e)
<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'>[c12608] 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
(based on commit [12447] - 577de26)
Signed-off-by: Dramacydal <PulLumBerMal@gmail.com></pre>
Подробнее... (https://github.com/cmangos/mangos-cata/commit/ea63ecb0752f4e622fdb7a422ada068ea04b9b7e)