예제 #1
0
        public override void SetDefaults()
        {
            //holds the universal defaults for all wands
            //make sure that in the SetDefaults() for any wand includes base.setdefaults()
            item.damage    = BASEDAMAGEFORMODIFIER;
            item.knockBack = BASEKNOCKBACKFORMODIFIER;
            item.autoReuse = true;
            item.magic     = true;
            item.noMelee   = true;

            shotobject    = new CustomShot(CastsPerUse, Spread);
            ComponentList = new List <SpellComponent>(wandsize);
            for (int i = 0; i < wandsize; i++)
            {
                ComponentList.Add(null);
            }
        }
예제 #2
0
 public override void ApplyMetaValues(CustomShot currentShot)
 {
     //for meta stuff like double cast or reducing the accuracy or anything else that effects the spellcast itself
     //only for modifiercomponents
     currentShot.RemainingCasts += ExtraCasts;
 }
예제 #3
0
 public virtual void ApplyMetaValues(CustomShot currentShot)
 {
 }