mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
[MIRROR] refactors most spans (#9139)
Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Co-authored-by: Kashargul <KashL@t-online.de>
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
if(!allow_stacking)
|
||||
for(var/obj/item/inserted_spell/IS in L.contents)
|
||||
if(IS.type == inserting)
|
||||
to_chat(user, "<span class='warning'>\The [L] is already affected by \the [src].</span>")
|
||||
to_chat(user, span_warning("\The [L] is already affected by \the [src]."))
|
||||
return
|
||||
var/obj/item/inserted_spell/inserted = new inserting(L,user,src)
|
||||
inserted.spell_power_at_creation = calculate_spell_power(1.0)
|
||||
@@ -56,4 +56,4 @@
|
||||
/obj/item/spell/insert/on_ranged_cast(atom/hit_atom, mob/user)
|
||||
if(istype(hit_atom, /mob/living))
|
||||
var/mob/living/L = hit_atom
|
||||
insert(L,user)
|
||||
insert(L,user)
|
||||
|
||||
Reference in New Issue
Block a user