_________ __                 __
        /   _____//  |_____________ _/  |______     ____  __ __  ______
        \_____  \\   __\_  __ \__  \\   __\__  \   / ___\|  |  \/  ___/
        /        \|  |  |  | \// __ \|  |  / __ \_/ /_/  >  |  /\___ \
       /_______  /|__|  |__|  (____  /__| (____  /\___  /|____//____  >
               \/                  \/          \//_____/            \/
    ______________________                           ______________________
                          T H E   W A R   B E G I N S
                   Stratagus - A free fantasy real time strategy game engine

Public Member Functions | Public Attributes | List of all members
AutoCastInfo Class Reference

#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...
 
ConditionInfoCondition
 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...
 
LuaCallbackPositionAutoCast
 If it should be casted on corpses. More...
 

Detailed Description

information about the autocasting mode.

Constructor & Destructor Documentation

◆ AutoCastInfo()

AutoCastInfo::AutoCastInfo ( )
inline

◆ ~AutoCastInfo()

AutoCastInfo::~AutoCastInfo ( )
inline

Member Data Documentation

◆ Attacker

int AutoCastInfo::Attacker

If it should be casted in combat.

◆ 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

◆ Condition

ConditionInfo* AutoCastInfo::Condition

If true, small values have the highest priority.

◆ Corpse

int AutoCastInfo::Corpse

If it should be casted on unit which attacks.

◆ MinRange

int AutoCastInfo::MinRange

Max range of the target.

◆ PositionAutoCast

LuaCallback* AutoCastInfo::PositionAutoCast

If it should be casted on corpses.

◆ PriorytyVar

int AutoCastInfo::PriorytyVar

Min range of the target.

◆ Range

int AutoCastInfo::Range
Todo:
this below is SQUARE!!!

◆ ReverseSort

bool AutoCastInfo::ReverseSort

Variable to sort autocast targets by priority.


The documentation for this class was generated from the following file:
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.
All trademarks and copyrights on this page are owned by their respective owners.