Code:
mob/var/list/JutsuPassives = list()
mob
proc
LearnJutsuPassive(Passive)
if(locate(Passive) in usr.JutsuPassives) return
JutsuPassives += new Passive()
RemovePassive(Passive)
if(locate(Passive) in usr.JutsuPassives)
JutsuPassives -= new Passive()
mob/verb/Learnpassives()
LearnJutsuPassive(/obj/Passives/Taijutsu/Eight_Gates_Mastery)
mob
verb
RemovePassivex()
RemovePassive(/obj/Passives/Taijutsu/Eight_Gates_Mastery)
I tried using del() i tried using -= i Tried using usr.JutsuPassives.Remove(Passive) and so far nothing worked so Im quite lost