mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-31 01:15:57 -04:00
Only medics and NPCs can heal others now
This commit is contained in:
@@ -855,6 +855,12 @@ public class CombatService implements INetworkDispatch {
|
||||
if(healer == target)
|
||||
return true;
|
||||
|
||||
PlayerObject healerPo = healer.getSlottedObject("ghost");
|
||||
|
||||
if (healerPo != null && !healerPo.getProfession().startsWith("medic")) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (areInDuel(healer, target)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user