Skip to main content

ForgingHeartCallModifier

A class in Root.Township, the global namespace.

Skill modifier that adds a forging hit effect and damage multiplier to Heart Call hits.

Constructors​

MemberWhat it is
ForgingHeartCallModifier()Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets.

Fields​

2 private and internal fields
MemberWhat it is
private float activeMultiplierMultiplier applied to modified hits.
private ForgedHitEffectOverride hitOverrideForged hit effect used for modified hits.

Methods​

MemberWhat it is
protected override void Modify(ISkillInputMethod input)Registers the hit override on the tool and attaches this modifier to the Heart Call skill.
protected override void RequestToolEffect(NetworkEntity entity)Client: registers the hit override on the tool entity.
1 private and internal method
MemberWhat it is
private void IHeartCallModifier.ModifyHit(ImpactHitWithTool hitWithTool)Multiplies the hit's multipliers by activeMultiplier and runs the skill for the hitting player.