Class SpellCasting.Casting
java.lang.Object
SpellCasting.Casting
- Direct Known Subclasses:
SpellCasting.CharmMonsterCasting
,SpellCasting.CharmPersonCasting
,SpellCasting.CloudkillCasting
,SpellCasting.ConfusionCasting
,SpellCasting.ConjureElementalCasting
,SpellCasting.DarknessCasting
,SpellCasting.DeathSpellCasting
,SpellCasting.DisintegrateCasting
,SpellCasting.DispelMagicCasting
,SpellCasting.FearCasting
,SpellCasting.FeeblemindCasting
,SpellCasting.FireballCasting
,SpellCasting.HoldMonsterCasting
,SpellCasting.HoldPersonCasting
,SpellCasting.IceStormCasting
,SpellCasting.LightningBoltCasting
,SpellCasting.MagicMissileCasting
,SpellCasting.PolymorphOtherCasting
,SpellCasting.SleepCasting
,SpellCasting.SuggestionCasting
,SpellCasting.WebCasting
- Enclosing class:
- SpellCasting
Casting abstract base class.
-
Field Summary
Modifier and TypeFieldDescription(package private) SpecialType
(package private) EnergyType
(package private) boolean
(package private) int
(package private) Spell
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) abstract void
Cast the spell at a target party.(package private) void
castCondition
(Monster target, int level, int saveMod) Cast condition at a given monster.(package private) void
castConditionOnArea
(Party targets, int level, int saveMod) Cast condition on random targets as per area.(package private) void
castEnergy
(Monster target, int level, int damage) Cast energy at a given monster.(package private) void
castEnergyOnArea
(Party targets, int level, int damage) Cast energy on random targets as per area.(package private) int
Get the effective maximum targets we can hit.(package private) String
getName()
Get short name of this spell casting.(package private) boolean
See if this spell is a threat to a given monster.(package private) void
Set the linked spell object.
-
Field Details
-
spellInfo
Spell spellInfo -
maxTargetNum
int maxTargetNum -
indirect
boolean indirect -
energy
EnergyType energy -
condition
SpecialType condition
-
-
Constructor Details
-
Casting
public Casting()
-
-
Method Details
-
setSpellInfo
Set the linked spell object. -
getName
String getName()Get short name of this spell casting. -
getMaxTargetNum
int getMaxTargetNum()Get the effective maximum targets we can hit. -
castEnergy
Cast energy at a given monster. -
castCondition
Cast condition at a given monster. -
castEnergyOnArea
Cast energy on random targets as per area. -
castConditionOnArea
Cast condition on random targets as per area. -
isThreatTo
See if this spell is a threat to a given monster. -
cast
Cast the spell at a target party.
-