_________ __ __
/ _____// |_____________ _/ |______ ____ __ __ ______
\_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
/ \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
/_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
\/ \/ \//_____/ \/
______________________ ______________________
T H E W A R B E G I N S
Stratagus - A free fantasy real time strategy game engine
#include <spells.h>
Public Member Functions | |
| AutoCastInfo () | |
| ~AutoCastInfo () | |
Public Attributes | |
| int | Range |
| int | MinRange |
| Max range of the target. More... | |
| int | PriorytyVar |
| Min range of the target. More... | |
| bool | ReverseSort |
| Variable to sort autocast targets by priority. More... | |
| ConditionInfo * | Condition |
| If true, small values have the highest priority. More... | |
| int | Combat |
| Conditions to cast the spell. More... | |
| int | Attacker |
| If it should be casted in combat. More... | |
| int | Corpse |
| If it should be casted on unit which attacks. More... | |
| LuaCallback * | PositionAutoCast |
| If it should be casted on corpses. More... | |
information about the autocasting mode.
|
inline |
|
inline |
| int AutoCastInfo::Attacker |
If it should be casted in combat.
| int AutoCastInfo::Combat |
Conditions to cast the spell.
Detailed generic conditions (not per-target, where Condition is evaluated.) Combat mode is when there are hostile non-coward units around
| ConditionInfo* AutoCastInfo::Condition |
If true, small values have the highest priority.
| int AutoCastInfo::Corpse |
If it should be casted on unit which attacks.
| int AutoCastInfo::MinRange |
Max range of the target.
| LuaCallback* AutoCastInfo::PositionAutoCast |
If it should be casted on corpses.
| int AutoCastInfo::PriorytyVar |
Min range of the target.
| int AutoCastInfo::Range |
| bool AutoCastInfo::ReverseSort |
Variable to sort autocast targets by priority.
1.8.17
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.