mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-27 02:22:26 +00:00
Ports Technomancer from Polaris. (#11595)
This commit is contained in:
@@ -79,6 +79,7 @@
|
||||
//Fired processing vars
|
||||
var/fired = FALSE //Have we been fired yet
|
||||
var/paused = FALSE //for suspending the projectile midair
|
||||
var/reflected = FALSE
|
||||
var/last_projectile_move = 0
|
||||
var/last_process = 0
|
||||
var/time_offset = 0
|
||||
@@ -310,6 +311,8 @@
|
||||
/obj/item/projectile/proc/old_style_target(atom/target, atom/source)
|
||||
if(!source)
|
||||
source = get_turf(src)
|
||||
starting = get_turf(source)
|
||||
original = target
|
||||
setAngle(get_projectile_angle(source, target))
|
||||
|
||||
/obj/item/projectile/proc/fire(angle, atom/direct_target)
|
||||
@@ -573,6 +576,9 @@
|
||||
trajectory.set_angle(new_angle)
|
||||
return TRUE
|
||||
|
||||
/obj/item/projectile/proc/redirect(x, y, starting, source)
|
||||
old_style_target(locate(x, y, z), starting? get_turf(starting) : get_turf(source))
|
||||
|
||||
/obj/item/projectile/forceMove(atom/target)
|
||||
. = ..()
|
||||
if(trajectory && !trajectory_ignore_forcemove && isturf(target))
|
||||
|
||||
@@ -427,7 +427,7 @@
|
||||
/obj/item/projectile/beam/tesla/on_impact(atom/target)
|
||||
. = ..()
|
||||
if(isliving(target))
|
||||
tesla_zap(target, 3, 5000)
|
||||
tesla_zap(target, 5, 5000)
|
||||
|
||||
/obj/item/projectile/beam/tesla/master
|
||||
damage = 15
|
||||
|
||||
@@ -280,7 +280,7 @@
|
||||
|
||||
if(isanimal(target))
|
||||
target.visible_message("<b>[target]</b> twitches, foaming at the mouth.")
|
||||
L.apply_damage(35, TOX) //temporary until simple_mob paralysis actually works.
|
||||
L.apply_damage(35, TOX) //temporary until simple_animal paralysis actually works.
|
||||
..()
|
||||
|
||||
/* Miscellaneous */
|
||||
|
||||
Reference in New Issue
Block a user