Eamon CS  3.1.0
EamonRT.Framework.Components.ICombatComponent Interface Reference

More...

Inheritance diagram for EamonRT.Framework.Components.ICombatComponent:
EamonRT.Framework.Components.IComponent EamonRT.Framework.Components.IComponentSignatures ARuncibleCargo.Game.Components.CombatComponent BeginnersForest.Game.Components.CombatComponent EamonRT.Game.Components.CombatComponent LandOfTheMountainKing.Game.Components.CombatComponent OrbOfMyLife.Game.Components.CombatComponent StrongholdOfKahrDur.Game.Components.CombatComponent TheDeepCanyon.Game.Components.CombatComponent TheSubAquanLaboratory.Game.Components.CombatComponent TheTempleOfNgurct.Game.Components.CombatComponent TheVileGrimoireOfJaldial.Framework.Components.ICombatComponent TheWayfarersInn.Game.Components.CombatComponent WrenholdsSecretVigil.Game.Components.CombatComponent

Public Member Functions

void ExecuteCalculateDamage (long numDice, long numSides, long mod=0, bool nonCombat=true)
 
void ExecuteCheckMonsterStatus ()
 
void ExecuteAttack ()
 
- Public Member Functions inherited from EamonRT.Framework.Components.IComponentSignatures
void PrintAttack (IRoom room, IMonster actorMonster, IMonster dobjMonster, IArtifact weapon, long attackNumber, WeaponRevealType weaponRevealType)
 
void PrintMiss (IMonster monster, IArtifact weapon)
 
void PrintFumble ()
 
void PrintRecovered ()
 
void PrintWeaponDropped (IRoom room, IMonster monster, IArtifact weapon, WeaponRevealType weaponRevealType)
 
void PrintWeaponHitsUser ()
 
void PrintSparksFly (IRoom room, IMonster monster, IArtifact weapon, WeaponRevealType weaponRevealType)
 
void PrintWeaponDamaged ()
 
void PrintWeaponBroken ()
 
void PrintBrokenWeaponHitsUser ()
 
void PrintStarPlus (IMonster monster)
 
void PrintHit ()
 
void PrintCriticalHit ()
 
void PrintBlowTurned (IMonster monster, bool omitBboaPadding)
 
void PrintBlowDoesDamage (bool useCurlyBraces, bool omitBboaPadding, long damage, bool appendNewLine)
 
void PrintHealthStatus (IRoom room, IMonster actorMonster, IMonster dobjMonster, bool blastSpell, bool nonCombat)
 
void PrintZapDirectHit ()
 
void PrintHackToBits (IArtifact artifact, IMonster monster, bool blastSpell)
 
void PrintAlreadyBrokeIt (IArtifact artifact)
 
void PrintNothingHappens ()
 
void PrintWhamHitObj (IArtifact artifact)
 
void PrintSmashesToPieces (IRoom room, IArtifact artifact, bool spillContents)
 
void PrintWeaponAbilityIncreases (Weapon w, IWeapon weapon)
 
void PrintArmorExpertiseIncreases ()
 
void PrintSpellOverloadsBrain (Spell s, ISpell spell)
 
void PrintSpellAbilityIncreases (Spell s, ISpell spell)
 
void PrintSpellCastFailed (Spell s, ISpell spell)
 
void PrintHealthImproves (IMonster monster)
 
void PrintHealthStatus (IMonster monster, bool includeUninjuredGroupMonsters)
 
void PrintFeelNewAgility ()
 
void PrintSonicBoom (IRoom room)
 
void PrintFortuneCookie ()
 
void PrintTunnelCollapses (IRoom room)
 
void PrintAllWoundsHealed ()
 
void PrintTeleportToRoom ()
 
void PrintArmorThickens ()
 
void PrintMagicSkillsIncrease ()
 

Properties

long MemberNumber [get, set]
 Gets or sets which member of ActorMonster's group is attacking (always 1 for single Monsters). More...
 
long AttackNumber [get, set]
 Gets or sets which attack number the ActorMonster's group member is performing (may be >= 1 based on AttackCount). More...
 
bool BlastSpell [get, set]
 Gets or sets a value indicating whether this CombatComponent was created to inflict Blast spell damage. More...
 
bool MaxDamage [get, set]
 Gets or sets a value indicating whether this CombatComponent always calculates initial damage done to be the maximum allowed. More...
 
bool OmitArmor [get, set]
 Gets or sets a value indicating whether DobjMonster's armor should be omitted from damage calculations. More...
 
bool OmitMonsterStatus [get, set]
 Gets or sets a value indicating whether this CombatComponent should omit printing DobjMonster's health status after damage is calculated. More...
 
AttackResult FixedResult [get, set]
 
WeaponRevealType WeaponRevealType [get, set]
 
- Properties inherited from EamonRT.Framework.Components.IComponentSignatures
Action< IStateSetNextStateFunc [get, set]
 Gets or sets the function used to set the NextState property of the Eamon CS game engine's current State or Command. More...
 
Action< ICommandCopyCommandDataFunc [get, set]
 Gets or sets the function used to copy the data of the Eamon CS game engine's current Command. More...
 
IMonster ActorMonster [get, set]
 
IRoom ActorRoom [get, set]
 
IGameBase Dobj [get, set]
 
IArtifact DobjArtifact [get]
 
IMonster DobjMonster [get]
 
IGameBase Iobj [get, set]
 
IArtifact IobjArtifact [get]
 
IMonster IobjMonster [get]
 
ICommand RedirectCommand [get, set]
 
IArtifactCategory DobjArtAc [get, set]
 
bool OmitSkillGains [get, set]
 Gets or sets a value indicating whether this Component should omit skill gains if the player character's action is successful. More...
 
bool OmitFinalNewLine [get, set]
 Gets or sets a value indicating whether this Component should print a final newline after processing completes. More...
 

Detailed Description

Member Function Documentation

◆ ExecuteAttack()

◆ ExecuteCalculateDamage()

void EamonRT.Framework.Components.ICombatComponent.ExecuteCalculateDamage ( long  numDice,
long  numSides,
long  mod = 0,
bool  nonCombat = true 
)

Parameters
numDice
numSides
mod
nonCombat

Implemented in EamonRT.Game.Components.CombatComponent.

◆ ExecuteCheckMonsterStatus()

void EamonRT.Framework.Components.ICombatComponent.ExecuteCheckMonsterStatus ( )

Property Documentation

◆ AttackNumber

long EamonRT.Framework.Components.ICombatComponent.AttackNumber
getset

Gets or sets which attack number the ActorMonster's group member is performing (may be >= 1 based on AttackCount).

◆ BlastSpell

bool EamonRT.Framework.Components.ICombatComponent.BlastSpell
getset

Gets or sets a value indicating whether this CombatComponent was created to inflict Blast spell damage.

◆ FixedResult

AttackResult EamonRT.Framework.Components.ICombatComponent.FixedResult
getset

◆ MaxDamage

bool EamonRT.Framework.Components.ICombatComponent.MaxDamage
getset

Gets or sets a value indicating whether this CombatComponent always calculates initial damage done to be the maximum allowed.

When this is true initial damage done is set to (D*S) where D=Dice and S=Sides.

◆ MemberNumber

long EamonRT.Framework.Components.ICombatComponent.MemberNumber
getset

Gets or sets which member of ActorMonster's group is attacking (always 1 for single Monsters).

◆ OmitArmor

bool EamonRT.Framework.Components.ICombatComponent.OmitArmor
getset

Gets or sets a value indicating whether DobjMonster's armor should be omitted from damage calculations.

◆ OmitMonsterStatus

bool EamonRT.Framework.Components.ICombatComponent.OmitMonsterStatus
getset

Gets or sets a value indicating whether this CombatComponent should omit printing DobjMonster's health status after damage is calculated.

◆ WeaponRevealType

WeaponRevealType EamonRT.Framework.Components.ICombatComponent.WeaponRevealType
getset


The documentation for this interface was generated from the following file: