public void SetMyAttacker(Transform attacker) { nPCStatePattern.myAttacker = attacker; if (nPCRelationsMaster != null) { nPCRelationsMaster.CallEventNPCRelationChange(transform.tag, attacker.tag, -factionChangeAmount, applyRelationChainEffect); } }
void ApplyRelationChangeOnDestruction() { if (factionInstigating == null) { return; } nPCRelationsMaster.CallEventNPCRelationChange(factionAffected, factionInstigating, relationChangeOnDestroy, applyRelationChainEffect); }