ID:138815
 
I worked on this since a long time. its a system to learn skills with souls, when you equip them. and i will delete this skills if you unequip. i got alot of bugs with this like that i cant use the skills etc.
now it worked that i learn skills, but i have problems with the unequip. i get the message two times and it didnt remove the skills.
    verb
Equip_Rare_Body_Soul()
if(usr.S3_equipped == 0)
usr.S3_equipped = 1
usr.S3Stamm=src.BodyS3Stamm
usr.MaxHP+=src.BodyS3Stamm
usr.S3Energy=src.BodyS3Energy
usr.MaxMP+=src.BodyS3Energy
usr.S3Str=src.BodyS3Str
usr.Str+=src.BodyS3Str
usr.S3Def=src.BodyS3Def
usr.Def+=src.BodyS3Def
usr.S3Lvl=src.BodyS3Lvl
usr.S3Exp=src.BodyS3Exp
usr.S3NExp=src.BodyS3NExp
usr.SubClassS3="RareBodySoul"
ListCheck()
suffix += "{-EQUIPPED-}"
view() << "[usr] use a Rare_Body Soul Lvl[BodyS3Lvl]."
for(var/obj/Skills/O in SkillList)
if(O.LearnedBy==usr.SubClassS3)
if(O.LearnedOn<=usr.S3Lvl)
usr.contents+=new O.type
usr<<"<I><B><small>You learned [O]!" //it works that i learn the skills with equip

else
usr << "You are already using something else."
verb
Unequip_Rare_Body_Soul()
if(usr.S3_equipped == 1)
suffix = ""
usr.MaxHP-=src.BodyS3Stamm
src.BodyS3Stamm=usr.S3Stamm
usr.MaxMP-=src.BodyS3Energy
src.BodyS3Energy=usr.S3Energy
usr.Str-=src.BodyS3Str
src.BodyS3Str=usr.S3Str
usr.Def-=src.BodyS3Def
src.BodyS3Def=usr.S3Def
src.BodyS3Lvl=usr.S3Lvl
src.BodyS3Exp=usr.S3Exp
src.BodyS3NExp=usr.S3NExp
usr.SubClassS3="RareBodySoul"
usr.S3_equipped = 0
view() << "[usr] removes Rare_Body Soul Lvl[BodyS3Lvl]."
for(var/obj/Skills/O in SkillList)
if(O.LearnedBy==usr.SubClassS3)
usr.contents-=new O.type //problem: it didnt delete the skills
usr<<"<I><B><small>You Forgot all your Rare Skills!" //i get this message two time, i dont no why
else
usr << "It isn't equipped"


Anyone know how i can fix the problem that i get the message two times?
And that i remove skills!


usr.verbs-=/obj/Skills/Heal/verb/Cast_Heal
usr.contents-=new O.type//old try

saw it in another topic but again-.- cant delete the skill, i can still use it. can pls anyone tell me how i can delete my verbs.
In response to HerzogCasa
usr.contents -= locate(O.type) in usr
In response to Jemai1
Man you are my Hero;)
My Game Name is Soul War and this was the the last bug with the Souls;)
I add you in my thx List