public CastSpellAction(Recipe recipe, int repeat, RepeatCalculationType repeatType)
     : this()
 {
     Recipe = recipe;
     Repeat = new DynamicProperty<int>(this,repeat.ToString(CultureInfo.InvariantCulture));
     Entry = recipe.ID;
     RepeatType = repeatType;
     //Properties["Recipe"].Show = true;
     Properties["SpellName"].Value = SpellName;
     Pb.UpdateMaterials();
 }
Exemple #2
0
 public CastSpellAction(Recipe recipe, int repeat, RepeatCalculationType repeatType)
     : this()
 {
     Recipe          = recipe;
     Repeat          = repeat;
     Entry           = recipe.ID;
     this.RepeatType = repeatType;
     //Properties["Recipe"].Show = true;
     Properties["SpellName"].Value = SpellName;
     Pb.UpdateMaterials();
 }
 public CastSpellAction(Recipe recipe, int repeat, RepeatCalculationType repeatType)
     : this()
 {
     Recipe     = recipe;
     Repeat     = new DynamicProperty <int>(this, repeat.ToString(CultureInfo.InvariantCulture));
     Entry      = recipe.SpellId;
     RepeatType = repeatType;
     //Properties["Recipe"].Show = true;
     Properties["SpellName"].Value = SpellName;
     Pb.UpdateMaterials();
 }
 public CastSpellAction(Recipe recipe, int repeat, RepeatCalculationType repeatType)
     : this() {
     Recipe = recipe;
     Repeat = repeat;
     Entry = recipe.ID;
     this.RepeatType = repeatType;
     //Properties["Recipe"].Show = true;
     Properties["SpellName"].Value = SpellName;
     Pb.UpdateMaterials();
 }