public PickerButton() { if (HasSlider) { Image = "/GUILib;component/Themes/Image/device_picker withtray.png"; } else { Image = "/GUILib;component/Themes/Image/device_Picker withouttray.png"; } LifeTimeStr = LifeTime.ToString(); }
public override string Compile() { string output = ""; if (Amount < 0) { output += "Disables all movements " + GetTarget(); } if (LifeTime > 0) { output += " for " + LifeTime.ToString() + " seconds."; } return(output); }
public override string Compile() { string output = ""; if (Parent is SkillInfo) { if (Amount > 0) { output += "Enables infiltration " + GetTarget(); } else { output += "Disables infiltration " + GetTarget(); } if (LifeTime > 0) { output += " for " + LifeTime.ToString() + " seconds."; } } return(output); }
public override string Compile() { string output = ""; if (Parent is SkillInfo) { if (Amount > 0) { output += "Disables morale immunity " + Regex.Replace(GetTarget(), "of", "for"); } else { output += "Enables morale immunity " + Regex.Replace(GetTarget(), "of", "for"); } if (LifeTime > 0) { output += " for " + LifeTime.ToString() + " seconds."; } output += "<li>Restores morale " + Regex.Replace(GetTarget(), "of", "for") + "</li>"; } return(output); }
public override string ToString() { return(lifeTime.ToString()); }