v3.0.0: life link no longer shares hunger damage
This commit is contained in:
@@ -769,7 +769,7 @@ public abstract class Char extends Actor {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!(src instanceof LifeLink) && buff(LifeLink.class) != null){
|
||||
if (!(src instanceof LifeLink || src instanceof Hunger) && buff(LifeLink.class) != null){
|
||||
HashSet<LifeLink> links = buffs(LifeLink.class);
|
||||
for (LifeLink link : links.toArray(new LifeLink[0])){
|
||||
if (Actor.findById(link.object) == null){
|
||||
|
||||
Reference in New Issue
Block a user