parent
096d39609e
commit
8e9221bb5a
400 changed files with 3688 additions and 5969 deletions
|
|
@ -234,7 +234,7 @@ namespace Server.Items
|
|||
|| Core.SE && petPatient is FactionWarHorse && petPatient.ControlMaster == Healer
|
||||
) //TODO: Dbl check doesn't check for faction of the horse here?
|
||||
{
|
||||
if (Patient.Map == null || !Patient.Map.CanFit(Patient.Location, 16, false, false))
|
||||
if (Patient.Map?.CanFit(Patient.Location, 16, false, false) != true)
|
||||
{
|
||||
healerNumber = 501042; // Target can not be resurrected at that location.
|
||||
patientNumber = 502391; // Thou can not be resurrected there!
|
||||
|
|
@ -442,7 +442,7 @@ namespace Server.Items
|
|||
{
|
||||
healer.SendLocalizedMessage(500955); // That being is not damaged!
|
||||
}
|
||||
else if (!patient.Alive && (patient.Map == null || !patient.Map.CanFit(patient.Location, 16, false, false)))
|
||||
else if (!patient.Alive && patient.Map?.CanFit(patient.Location, 16, false, false) != true)
|
||||
{
|
||||
healer.SendLocalizedMessage(501042); // Target cannot be resurrected at that location.
|
||||
}
|
||||
|
|
|
|||
|
|
@ -118,15 +118,12 @@ namespace Server.Items
|
|||
if (skill >= 5)
|
||||
return 1061123 + skill - 5;
|
||||
|
||||
switch (skill)
|
||||
return skill switch
|
||||
{
|
||||
case 4:
|
||||
return "a Novice";
|
||||
case 3:
|
||||
return "a Neophyte";
|
||||
default:
|
||||
return "a Newbie"; //On OSI, it shouldn't go below 50, but, this is for 'custom' support.
|
||||
}
|
||||
4 => "a Novice",
|
||||
3 => "a Neophyte",
|
||||
_ => "a Newbie"
|
||||
};
|
||||
}
|
||||
|
||||
public static RepairSkillType GetTypeFor(CraftSystem s)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue