mirror of
				https://github.com/coop-deluxe/sm64coopdx.git
				synced 2025-10-30 08:01:01 +00:00 
			
		
		
		
	Arena - prevent self-bombing from stealing kills
This commit is contained in:
		
							parent
							
								
									60db46a6fa
								
							
						
					
					
						commit
						17edd42b5d
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -53,7 +53,9 @@ function bhv_arena_bobomb_expode(obj, directHitLocal)
 | 
			
		|||
            obj.oDamageOrCoinValue = 3
 | 
			
		||||
        end
 | 
			
		||||
        interact_damage(m, INTERACT_DAMAGE, obj)
 | 
			
		||||
        if np.globalIndex ~= obj.oArenaBobombGlobalOwner then
 | 
			
		||||
            e.lastDamagedByGlobal = obj.oArenaBobombGlobalOwner
 | 
			
		||||
        end
 | 
			
		||||
 | 
			
		||||
        -- knockback
 | 
			
		||||
        local ownerNp = network_player_from_global_index(obj.oArenaBobombGlobalOwner)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue