anchor.diff:  				if(!a.friendlyFire) return
   
   				if(a.timedProtection && (lastHostile == 0 || world.time - lastHostile > 600)) return
  +
  +				lastCombat = world.time
  +				p.owner:lastCombat = world.time
  +
   
   		var/dmg = p.damage
   
  
positive.code: 				parent.screenAlert("[name] [t] leveled up to [level]!")
  
  mob/Player
  
  	proc/onDamage(dmg, mob/attacker)
  
  		if((passives & SHIELD_MP) && MP < MMP)
  
negative.code: 	var/mob/Player/p = src
  	if(!p.reflect)
  		if(canUse(src,cooldown=/StatusEffect/UsedProtego,needwand=1,inarena=1,insafezone=1,inhogwarts=1,target=null,mpreq=0,againstocclumens=1))
  			new /StatusEffect/UsedProtego(src,40*p.cooldownModifier,"Protego")
  			p.overlays += /obj/Shield
  			hearers()<< "<b><span style=\"color:red;\">[usr]</b></span>: PROTEGO!"
  			p << "You shield yourself magically"
  			p.reflect = 0.5
  			p.learnSpell("Protego")
  			sleep(30)
  			if(p.reflect)
  				p.reflect = 0
  				p.overlays -= /obj/Shield
  