Table of Contents

Class CombatBehaviour

Namespace
GrindFest
Assembly
GrindFest.dll
public class CombatBehaviour : MonoBehaviour
Inheritance
object
CombatBehaviour

Fields

ArmorItemBonus
Attack
BaseArmor
BaseAttackSpeed
BaseCriticalHitChance
BaseCriticalHitMultiplier
BaseHitRecoverySpeed
BaseMaxDamage
BaseMinDamage
BloodEffectPrefab
Character
DamageItemAdditiveBonuse
DamageItemMultiplicativeBonuse
EffectPosition
Equipment
FactionMember
GetHit
Health
InCombatMode
IsArmored
ItemBonusBlockChance
Kill
LastAttackEvent
ShowDamage
SkillUser
UnarmedAttackSound
UnarmedAttackTypeName

Fallback attack used when nothing is equipped, by type name.

lastHitRecoveryTime

Properties

Armor
AttackSkill

Attack skill of the current weapon, falling back to the unarmed attack. Both are named by type (DefaultAttackTypeNameUnarmedAttackTypeName) because skills are plain classes: the character owns the instance, the type is the identity.

AttackSpeed
BlockAmount
BlockChance
CriticalHitChance
CriticalHitMultiplier
HitRecoverySpeed
MaxDamage
MinDamage

Methods

FloatText(Vector3, Vector3, string, string)
FloatTextStack(Transform, float, string)
OnAttack(AttackEvent)
OnGetHit(GetHitEvent)
OnKill(DeathEvent)