string GenWepText(WeaponStats wep) { string result = "i lost my "; result += wep.GetTitle(); result += " with "; result += wep.GetMagicType(); result += " magic"; result += "\ndo you have it?"; return(result); }
// true if can be owner bool CheckMatch(WeaponStats wep, CharStats charInfo) { if (!charInfo.CheckPref(wep.GetWepType().ToLower())) { return(false); } if (!charInfo.CheckPref(wep.GetMagicType().ToLower() + "_magic")) { return(false); } return(true); }