_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ T H E W A R B E G I N S Stratagus - A free fantasy real time strategy game engine
#include <spell_capture.h>
Public Member Functions | |
Spell_Capture () | |
spell_capture.cpp - The spell Capture. | |
virtual int | Cast (CUnit &caster, const SpellType &spell, CUnit *target, const Vec2i &goalPos) |
virtual void | Parse (lua_State *l, int startIndex, int endIndex) |
![]() | |
SpellActionType (int mod=0) | |
virtual | ~SpellActionType () |
Additional Inherited Members | |
![]() | |
const int | ModifyManaCaster |
|
inline |
|
virtual |
Cast capture.
caster | Unit that casts the spell |
spell | Spell-type pointer |
target | Target unit that spell is addressed to |
goalPos | coord of target spot when/if target does not exist |
Implements SpellActionType.
|
virtual |
Implements SpellActionType.