8 public override bool CanStack
18 public override bool CanBeStolen
28 public override bool CanBeDestroyed
38 public override float DropChance
47 public override string GetName()
49 if (this.owner.c_DNA ==
null ||
this.owner.c_DNA.type ==
DNA.Type.Default ||
this.owner.c_DNA.type ==
DNA.Type.Brain)
51 return base.GetName();
53 return (
"dna_" + this.owner.c_DNA.type.ToString()).lang() + Lang.space + this.owner.sourceCard.GetText(
"name",
false);
57 public override void WriteNote(UINote n,
bool identified)
59 if (this.owner.c_DNA !=
null)
61 if (this.owner.c_DNA.cost > 0)
63 n.AddText(
"isCostFeatPoint".lang(this.owner.c_DNA.cost.ToString() ??
"",
null,
null,
null,
null), FontColor.DontChange);
65 if (
EClass.debug.showExtra)
67 n.AddText(
"duration:" + this.owner.c_DNA.GetDurationHour().ToString(), FontColor.DontChange);
69 this.owner.c_DNA.WriteNote(n);
74 public override int GetValue()
76 return base.GetValue() * ((this.owner.c_DNA ==
null) ? 100 : (100 + this.owner.c_DNA.cost * 10)) / 100;