Example #1
0
        public PassiveSpell(LivingEntity caller, EntityStatKind statKind, int baseFactor = 30) : base(caller, null)
        {
            BaseFactor = baseFactor;
            manaCost   = (float)(BaseManaCost * 2);
            StatKind   = statKind;

            StatKindPercentage = CalcFactor(CurrentLevel);
            StatKindEffective  = caller.CalcEffectiveFactor(StatKind, StatKindPercentage.Value);
            TurnLasting        = CalcTourLasting();
        }