____ _ __
/ __ )____ _____ | | / /___ ___________
/ __ / __ \/ ___/ | | /| / / __ `/ ___/ ___/
/ /_/ / /_/ (__ ) | |/ |/ / /_/ / / (__ )
/_____/\____/____/ |__/|__/\__,_/_/ /____/
A futuristic real-time strategy game.
This file is part of Bos Wars.
(C) Copyright 2001-2007 by the Bos Wars and Stratagus Project.
Distributed under the "GNU General Public License"#include <spells.h>

Public Member Functions | |
| AdjustVariable () | |
| ~AdjustVariable () | |
| virtual int | Cast (CUnit *caster, const SpellType *spell, CUnit *target, int x, int y) |
Public Attributes | |
| SpellActionTypeAdjustVariable * | Var |
Definition at line 197 of file spells.h.
| AdjustVariable::~AdjustVariable | ( | ) | [inline] |
| int AdjustVariable::Cast | ( | CUnit * | caster, | |
| const SpellType * | spell, | |||
| CUnit * | target, | |||
| int | x, | |||
| int | y | |||
| ) | [virtual] |
Adjust User Variables.
| caster | Unit that casts the spell | |
| spell | Spell-type pointer | |
| target | Target | |
| x | X coord of target spot when/if target does not exist | |
| y | Y coord of target spot when/if target does not exist |
Implements SpellActionType.
Definition at line 378 of file spells.cpp.
References SpellActionTypeAdjustVariable::AddIncrease, SpellActionTypeAdjustVariable::AddMax, SpellActionTypeAdjustVariable::AddValue, SpellActionTypeAdjustVariable::Enable, CVariable::Enable, SpellActionTypeAdjustVariable::Increase, CVariable::Increase, SpellActionTypeAdjustVariable::IncreaseTime, SpellActionTypeAdjustVariable::InvertEnable, SpellActionTypeAdjustVariable::Max, CVariable::Max, CUnitTypeVar::NumberVariable, SpellActionTypeAdjustVariable::TargetIsCaster, UnitTypeVar, SpellActionTypeAdjustVariable::Value, CVariable::Value, Var, and CUnit::Variable.
Definition at line 204 of file spells.h.
Referenced by Cast(), CclSpellAction(), and ~AdjustVariable().
1.5.6