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:
cib
2012-03-21 20:10:13 -08:00
parent a1f4738a67
commit f041bc7063
3 changed files with 70 additions and 45 deletions
+6
View File
@@ -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