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); } }
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; }
public virtual void ApplyMetaValues(CustomShot currentShot) { }