| Modifier and Type | Method and Description |
|---|---|
CasterProperties |
CastContext.getCasterProperties(String propertyType) |
CasterProperties |
CastContext.getTargetCasterProperties(String propertyType) |
| Modifier and Type | Method and Description |
|---|---|
void |
Currency.deduct(Mage mage,
CasterProperties caster,
double amount)
Deduct some currency from the specified Mage
|
double |
Currency.getBalance(Mage mage,
CasterProperties caster)
Get the amount of this currency type a Mage has.
|
boolean |
Currency.give(Mage mage,
CasterProperties caster,
double amount)
Give some currency to the specified Mage
|
boolean |
Currency.has(Mage mage,
CasterProperties caster,
double amount)
Whether or not a mage has at least a certain amount of this currency.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Cost.deduct(Mage mage,
CasterProperties caster,
CostReducer reducer)
Deduct these costs from the specified Mage
|
double |
Cost.getBalance(Mage mage,
CasterProperties caster)
Get the amount of this cost type a Mage has.
|
boolean |
Cost.give(Mage mage,
CasterProperties caster)
Give these costs to the specified Mage
|
boolean |
Cost.has(Mage mage,
CasterProperties caster,
CostReducer reducer)
Whether or not a mage has the required costs.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
MageClass |
| Modifier and Type | Method and Description |
|---|---|
CasterProperties |
MageContext.getActiveProperties() |
CasterProperties |
Mage.getActiveProperties()
This will return properties for the mage's active wand, if holding one, or if not then the active class.
|
CasterProperties |
Mage.getCasterProperties(String propertyType) |
CasterProperties |
Mage.getProperties() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ProgressionPath.canProgress(CasterProperties properties) |
boolean |
ProgressionPath.checkUpgradeRequirements(CasterProperties caster,
boolean quiet) |
| Modifier and Type | Method and Description |
|---|---|
static Collection<PrerequisiteSpell> |
PrerequisiteSpell.getMissingRequirements(CasterProperties caster,
SpellTemplate spell) |
static boolean |
PrerequisiteSpell.hasPrerequisites(CasterProperties caster,
SpellTemplate spell) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Wand
Represents a Wand that a Mage may use to cast a Spell.
|
Copyright © 2021 elMakers. All rights reserved.