Exemple #1
0
    public void BulletInitialization(CharacterStats ownerStats, DamageType damageType, float attackDamage, bool isCritical, int ownerMastery, List <IAttackModifier> attackModifiers)
    {
        this.ownerStats   = ownerStats;
        this.damageType   = (DamageType)damageType.Clone();
        this.attackDamage = attackDamage;
        this.isCritical   = isCritical;
        this.ownerMastery = ownerMastery;

        this.attackModifiers = (List <IAttackModifier>)GameLogic.Clone(attackModifiers);
    }