Beispiel #1
0
    private void Start()
    {
        characterPresenter = gameObject.GetComponent <CharacterPresenter>();
        myStats            = characterPresenter.MyStats;

        characterPresenter.AddStatusEffect(this);

        characterPresenter.MyStats.OnChangedCurrentHealth += CheckCurrentHealth;
    }
Beispiel #2
0
    private void Start()
    {
        characterPresenter = gameObject.GetComponent <CharacterPresenter>();
        characterPresenter.AddStatusEffect(this);

        characterPresenter.MyStats.attackSpeed.AddModifier(attackSpeedModifier);
        characterPresenter.MyStats.criticalChance.AddModifier(criticalChanceModifier);
        characterPresenter.MyStats.criticalMultiplier.AddModifier(criticalPowerModifier);

        characterPresenter.MyStats.OnChangedCurrentHealth += SetAllAttackModifiersValue;
    }
Beispiel #3
0
    private void Start()
    {
        characterPresenter = gameObject.GetComponent <CharacterPresenter>();

        characterPresenter.AddStatusEffect(this);
    }