fixes
This commit is contained in:
@@ -70,7 +70,10 @@ Difficulty: Extremely Hard
|
||||
|
||||
/mob/living/simple_animal/hostile/megafauna/demonic_frost_miner/OpenFire()
|
||||
check_enraged()
|
||||
projectile_speed_multiplier = 1 - enraged * 0.25
|
||||
if(enraged)
|
||||
projectile_speed_multiplier = 1.33
|
||||
else
|
||||
projectile_speed_multiplier = 1
|
||||
SetRecoveryTime(100, 100)
|
||||
|
||||
if(client)
|
||||
|
||||
@@ -144,6 +144,7 @@
|
||||
|
||||
/mob/living/simple_animal/hostile/megafauna/proc/SetRecoveryTime(buffer_time)
|
||||
recovery_time = world.time + buffer_time
|
||||
ranged_cooldown = max(ranged_cooldown, world.time + buffer_time) // CITADEL BANDAID FIX FOR MEGAFAUNA NOT RESPECTING RECOVERY TIME.
|
||||
|
||||
/mob/living/simple_animal/hostile/megafauna/proc/grant_achievement(medaltype, scoretype, crusher_kill)
|
||||
if(!medal_type || (flags_1 & ADMIN_SPAWNED_1)) //Don't award medals if the medal type isn't set
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
/// Minimum projectile pixels to move before it animate()S, below this it's a direct set.
|
||||
#define MINIMUM_PIXELS_TO_ANIMATE 4
|
||||
/// Pixels to instantly travel on firing.
|
||||
#define PROJECTILE_FIRING_INSTANT_TRAVEL_AMOUNT 32
|
||||
#define PROJECTILE_FIRING_INSTANT_TRAVEL_AMOUNT 16
|
||||
|
||||
/obj/item/projectile
|
||||
name = "projectile"
|
||||
@@ -427,7 +427,7 @@
|
||||
return
|
||||
if(!(datum_flags & DF_ISPROCESSING))
|
||||
START_PROCESSING(SSprojectiles, src)
|
||||
pixel_move(round(PROJECTILE_FIRING_INSTANT_TRAVEL_AMOUNT / pixel_increment_amount), FALSE, allow_animation = TRUE) //move it now!
|
||||
pixel_move(round(PROJECTILE_FIRING_INSTANT_TRAVEL_AMOUNT / pixel_increment_amount), FALSE, allow_animation = FALSE) //move it now!
|
||||
|
||||
/obj/item/projectile/proc/setAngle(new_angle, hitscan_store_segment = TRUE) //wrapper for overrides.
|
||||
Angle = new_angle
|
||||
|
||||
Reference in New Issue
Block a user