$treeview $search $mathjax
Stratagus
2.2.7
$projectbrief
|
$projectbrief
|
$searchbox |
_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ 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 | |
bool | IsCasterOnly () const |
Sound played if cast. | |
spells.cpp - The spell cast action. | |
SpellType (int slot, const std::string &ident) | |
~SpellType () | |
Public Attributes | |
std::string | Ident |
std::string | Name |
Spell unique identifier (spell-holy-vision). | |
int | Slot |
Spell name shown by the engine. | |
TargetType | Target |
Spell numeric identifier. | |
std::vector< SpellActionType * > | Action |
Targetting information. See TargetType. | |
int | Range |
More arguments for spell (damage, delay, additional sounds...). | |
int | ManaCost |
int | RepeatCast |
Required mana for each cast. | |
int | DependencyId |
If the spell will be cast again until out of targets. | |
ConditionInfo * | Condition |
Id of upgrade, -1 if no upgrade needed for cast the spell. | |
AutoCastInfo * | AutoCast |
Conditions to cast the spell. (generic (no test for each target)). | |
AutoCastInfo * | AICast |
AutoCast information for your own units. | |
SoundConfig | SoundWhenCast |
AutoCast information for ai. More detalied. |
SpellType::SpellType | ( | int | slot, | |
const std::string & | ident | |||
) |
SpellType constructor.
SpellType::~SpellType | ( | ) |
SpellType destructor.
bool SpellType::IsCasterOnly | ( | ) | const [inline] |
Sound played if cast.
std::string SpellType::Ident |
std::string SpellType::Name |
Spell unique identifier (spell-holy-vision).
int SpellType::Slot |
Spell name shown by the engine.
Spell numeric identifier.
std::vector<SpellActionType *> SpellType::Action |
Targetting information. See TargetType.
int SpellType::Range |
More arguments for spell (damage, delay, additional sounds...).
Required mana for each cast.
If the spell will be cast again until out of targets.
Id of upgrade, -1 if no upgrade needed for cast the spell.
Conditions to cast the spell. (generic (no test for each target)).
AutoCast information for your own units.
AutoCast information for ai. More detalied.