Skip to main content

ForgingHeartCall

A class in Root.Township, the global namespace.

Heart Call skill variant that also swaps the tool's forged hit effect while the skill is active.

Constructors​

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

Fields​

1 private and internal field
MemberWhat it is
private ForgedHitEffectOverride hitOverrideForged hit effect used while the skill is active.

Methods​

MemberWhat it is
override void InputChangedState(bool isEnabled, ISkillInputMethod input)Registers or removes the hit override on the tool when the skill input turns on or off.
protected override void EffectsRequested(NetworkEntity targetEntity, ToolBasedSkillStatus status, bool isLocalPlayer)Client: registers the hit override when charged and removes it when cancelled.
1 private and internal method
MemberWhat it is
private void RegisterOverrides(NetworkEntity toolEntity, bool isEnabled)Registers or deregisters hitOverride for a tool entity with ForgedHitEffectOverride.