public CardTemplate ManaAbility(Action <ManaAbilityParameters> set) { _init.Add(cp => { var p = new ManaAbilityParameters { Priority = GetDefaultManaSourcePriority(cp), }; set(p); cp.ActivatedAbilities.Add(new ManaAbility(p)); cp.ManaColorsThisCardCanProduce.AddRange(p.Colors); }); return(this); }
public CardTemplate ManaAbility(Action<ManaAbilityParameters> set) { _init.Add(cp => { var p = new ManaAbilityParameters { Priority = GetDefaultManaSourcePriority(cp), }; set(p); cp.ActivatedAbilities.Add(new ManaAbility(p)); cp.ManaColorsThisCardCanProduce.AddRange(p.Colors); }); return this; }
public ManaAbility(ManaAbilityParameters p) : base(p) { _p = p; }
public ManaAbility(ManaAbilityParameters p) : base(p) { _p = p; }