mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-02 13:42:32 +00:00
Reworks sentient swords (#20585)
* initial changes * fixes attack animations * we lunging out here * lunge sprite by ATP engineer * rare oldcoder w * more stuff * polished * removes testing stuff * no longer works on backpack slot * moving damage values around * shawn reviews + cheese reduction * Update code/game/objects/items/weapons/holy_weapons.dm Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> * Update code/game/objects/items/weapons/holy_weapons.dm Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> * Update code/game/objects/items/weapons/holy_weapons.dm Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> * reviews * re-upload * Update code/datums/spells/sentient_sword_lunge.dm Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com> * Update code/game/objects/items/weapons/holy_weapons.dm Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com> * merge conflict fix and readds debug spawn * Update code/game/objects/items/weapons/holy_weapons.dm Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com> * deconflict * ryan's reviews * improvements --------- Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>
This commit is contained in:
@@ -58,13 +58,20 @@
|
||||
|
||||
/mob/living/simple_animal/shade/sword
|
||||
faction = list("neutral")
|
||||
a_intent = INTENT_HARM // scuffed sword mechanics bad
|
||||
can_change_intents = FALSE // same here
|
||||
health = 100
|
||||
maxHealth = 100
|
||||
|
||||
/mob/living/simple_animal/shade/sword/Initialize(mapload)
|
||||
.=..()
|
||||
status_flags |= GODMODE
|
||||
AddSpell(new /obj/effect/proc_holder/spell/sentient_sword_lunge)
|
||||
var/obj/item/nullrod/scythe/talking/host_sword = loc
|
||||
if(istype(host_sword))
|
||||
health = host_sword.obj_integrity
|
||||
|
||||
/mob/living/simple_animal/shade/update_runechat_msg_location()
|
||||
if(istype(loc, /obj/item/soulstone))
|
||||
if(istype(loc, /obj/item/soulstone) || istype(loc, /obj/item/nullrod/scythe/talking))
|
||||
runechat_msg_location = loc.UID()
|
||||
else
|
||||
return ..()
|
||||
|
||||
Reference in New Issue
Block a user