mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 21:18:37 +01:00
Constructs now have their respective factions (#90690)
## About The Pull Request Holy constructs are now part of a new Holy faction, that all Chaplains get once they choose a sect. Wizard constructs are now part of the Wizard faction Juggernaut's Gaunlet Echo spell now respects factions (so ignores cult as cult, wizards as wizard, and their creator as holy) https://github.com/user-attachments/assets/e56f958d-fffa-4534-8b39-a95f9d160865 ## Why It's Good For The Game Makes constructs less likely to friendly fire and makes holy constructs able to use their spells to fight Cult. ## Changelog 🆑 Ezel/Improvedname, JohnFulpWillard fix: Constructs now have their proper factions, so Wizard constructs can't hit Wizard Apprentices. fix: Juggernaut's Gauntlet echo spell now respects factions. /🆑
This commit is contained in:
@@ -28,3 +28,4 @@
|
||||
to_fire.aim_projectile(target, caster)
|
||||
SEND_SIGNAL(caster, COMSIG_MOB_SPELL_PROJECTILE, src, target, to_fire)
|
||||
to_fire.fire()
|
||||
return to_fire
|
||||
|
||||
@@ -12,3 +12,8 @@
|
||||
spell_requirements = NONE
|
||||
|
||||
projectile_type = /obj/projectile/magic/aoe/juggernaut
|
||||
|
||||
/datum/action/cooldown/spell/basic_projectile/juggernaut/fire_projectile(atom/target, mob/caster)
|
||||
var/obj/projectile/magic/aoe/juggernaut/to_fire = ..()
|
||||
to_fire.ignored_factions = caster.faction
|
||||
return to_fire
|
||||
|
||||
Reference in New Issue
Block a user