mirror of
				https://bitbucket.org/Ioncannon/project-meteor-server.git
				synced 2025-05-20 08:26:59 -04:00 
			
		
		
		
	Fixed bug where when a mob was insta-killed they would disappear (not die). More renames for action -> result. Reverted result packet unknown from 0x801 to 0x810. Added hitnum. Fixed isolation.
This commit is contained in:
		| @@ -227,6 +227,14 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai.utils | ||||
|             if (defender != null) | ||||
|             { | ||||
|  | ||||
|                 //Bugfix, mobs that instantly died were insta disappearing due to lastAttacker == null. | ||||
|                 if (defender is BattleNpc) | ||||
|                 { | ||||
|                     var bnpc = defender as BattleNpc; | ||||
|                     if (bnpc.lastAttacker == null) | ||||
|                         bnpc.lastAttacker = attacker; | ||||
|                 } | ||||
|  | ||||
|                 defender.DelHP((short)action.amount); | ||||
|                 attacker.OnDamageDealt(defender, action, actionContainer); | ||||
|                 defender.OnDamageTaken(attacker, action, actionContainer); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user