mirror of
https://github.com/SpaxscE/simfphys_armed.git
synced 2025-03-04 03:13:26 -05:00
Update armedvehicles_handler.lua
This commit is contained in:
parent
57386d2ad9
commit
6667191a73
@ -341,9 +341,9 @@ local IsValidDMGType = {
|
||||
|
||||
function simfphys.TankApplyDamage(ent, Damage, Type)
|
||||
if not IsValid( ent ) or not isnumber( Damage ) or not isnumber( Type ) then return end
|
||||
|
||||
|
||||
if Type == DMG_PROPEXPLOSION then Damage = Damage * 10 end
|
||||
|
||||
|
||||
if IsValidDMGType[ Type ] or (DMGTypeException[ Type ] and Damage > 100) then
|
||||
if DMGTypeException[ Type ] then
|
||||
Damage = Damage - 100
|
||||
|
Loading…
Reference in New Issue
Block a user