mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-09 22:25:46 +01:00
No more magic missiling fellow wizards or your apprentice.
This commit is contained in:
@@ -239,6 +239,9 @@ var/list/spells = typesof(/obj/effect/proc_holder/spell) //needed for the badmin
|
||||
switch(max_targets)
|
||||
if(0) //unlimited
|
||||
for(var/mob/living/target in view_or_range(range, user, selection_type))
|
||||
for(var/F in user.faction)
|
||||
if(F in target.faction)
|
||||
continue
|
||||
targets += target
|
||||
if(1) //single target can be picked
|
||||
if(range < 0)
|
||||
|
||||
Reference in New Issue
Block a user