mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-12 15:45:25 +01:00
Rebalance of the melee damage system.
- Heavy objects now take longer to swing and deal more damage. - A hit to the head is more likely to knock you out. - A hit to the torso with a heavy object is more likely to knock you down.
This commit is contained in:
@@ -269,6 +269,12 @@ mob/proc/flash_weak_pain()
|
||||
/////////////////////////
|
||||
|
||||
var/power = src.force
|
||||
|
||||
// EXPERIMENTAL: scale power and time to the weight class
|
||||
if(w_class >= 4.0)
|
||||
power = power * 2
|
||||
user.next_move = max(user.next_move, world.time + 20)
|
||||
|
||||
if(!istype(M, /mob/living/carbon/human))
|
||||
if(istype(M, /mob/living/carbon/metroid))
|
||||
var/mob/living/carbon/metroid/Metroid = M
|
||||
|
||||
Reference in New Issue
Block a user