mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-06 07:22:15 +00:00
Additional Pylons (#1870)
This PR adds a new utility mechanic for the cult. Pylons can now be upgraded into arcane defensive turrets, which fire bolts of demonic energy. These turrets are entirely automated, somewhat-rapid firing, extremely accurate and quite long ranged, but their damage is very low, and thus their total DPS, even with the fire rate, is still far lower than most real ranged weapons.
This commit is contained in:
@@ -259,3 +259,39 @@
|
||||
var/mob/living/M = A
|
||||
M.apply_effect(1, INCINERATE, 0)
|
||||
..()
|
||||
|
||||
|
||||
|
||||
//Beams of magical veil energy fired by empowered pylons. Some inbuilt armor penetration cuz magic.
|
||||
//Ablative armor is still overwhelmingly useful
|
||||
//These beams are very weak but rapid firing, ~twice per second.
|
||||
/obj/item/projectile/beam/cult
|
||||
name = "energy bolt"
|
||||
//For projectiles name is only shown in onhit messages, so its more of a layman's description
|
||||
//of what the projectile looks like
|
||||
damage = 4 //Very weak
|
||||
armor_penetration = 10
|
||||
accuracy = 4 //Guided by magic, unlikely to miss
|
||||
var/mob/living/ignore
|
||||
|
||||
muzzle_type = /obj/effect/projectile/cult/muzzle
|
||||
tracer_type = /obj/effect/projectile/cult/tracer
|
||||
impact_type = /obj/effect/projectile/cult/impact
|
||||
|
||||
/obj/item/projectile/beam/cult/attack_mob(var/mob/living/target_mob, var/distance, var/miss_modifier=0)
|
||||
//Harmlessly passes through cultists and constructs
|
||||
if (target_mob == ignore)
|
||||
return 0
|
||||
if (iscult(target_mob))
|
||||
return 0
|
||||
|
||||
return ..()
|
||||
|
||||
/obj/item/projectile/beam/cult/heavy
|
||||
name = "glowing energy bolt"
|
||||
damage = 12 //Stronger and better armor penetration, though still much weaker than a typical laser
|
||||
armor_penetration = 15
|
||||
|
||||
muzzle_type = /obj/effect/projectile/cult/heavy/muzzle
|
||||
tracer_type = /obj/effect/projectile/cult/heavy/tracer
|
||||
impact_type = /obj/effect/projectile/cult/heavy/impact
|
||||
Reference in New Issue
Block a user