mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 15:17:01 +01:00
Ladders take left/right clicks to go up or down (+ extra balance and QOL) (#67913)
You now left click to climb up and right click to climb down a ladder. A delay of 1 second has also been added, since otherwise it'd take only one click to immediately move vertically and would be much more spammable. Ghosts still use the old radials, because their right clicks are bound to the default byond popup menu.
This commit is contained in:
@@ -87,7 +87,7 @@
|
||||
log_combat(user, src, "attacked")
|
||||
return 1
|
||||
|
||||
/mob/living/basic/attack_larva(mob/living/carbon/alien/larva/L)
|
||||
/mob/living/basic/attack_larva(mob/living/carbon/alien/larva/L, list/modifiers)
|
||||
. = ..()
|
||||
if(. && stat != DEAD) //successful larva bite
|
||||
var/damage = rand(5, 10)
|
||||
@@ -107,7 +107,7 @@
|
||||
var/damage = rand(user.melee_damage_lower, user.melee_damage_upper)
|
||||
return attack_threshold_check(damage, user.melee_damage_type)
|
||||
|
||||
/mob/living/basic/attack_slime(mob/living/simple_animal/slime/M)
|
||||
/mob/living/basic/attack_slime(mob/living/simple_animal/slime/M, list/modifiers)
|
||||
if(..()) //successful slime attack
|
||||
var/damage = rand(15, 25)
|
||||
if(M.is_adult)
|
||||
@@ -119,6 +119,11 @@
|
||||
return
|
||||
return ..()
|
||||
|
||||
/mob/living/basic/attack_drone_secondary(mob/living/simple_animal/drone/M)
|
||||
if(M.combat_mode)
|
||||
return SECONDARY_ATTACK_CANCEL_ATTACK_CHAIN
|
||||
return ..()
|
||||
|
||||
/mob/living/basic/proc/attack_threshold_check(damage, damagetype = BRUTE, armorcheck = MELEE, actuallydamage = TRUE)
|
||||
var/temp_damage = damage
|
||||
if(!damage_coeff[damagetype])
|
||||
|
||||
Reference in New Issue
Block a user