Turned remote talk into a spell and optimized it, giving it it's action button

This commit is contained in:
ZomgPonies
2014-07-18 02:38:53 -04:00
parent f0d38e1845
commit 4ad8b741a2
4 changed files with 37 additions and 75 deletions
+3 -1
View File
@@ -243,8 +243,10 @@ var/list/spells = typesof(/obj/effect/proc_holder/spell) //needed for the badmin
for(var/mob/living/target in view_or_range(range, user, selection_type))
targets += target
if(1) //single target can be picked
if(range < 0)
if(range == -1)
targets += user
else if(range == -2)
targets += input("Choose the target for the spell.", "Targeting") as mob in living_mob_list
else
var/possible_targets = list()