mob/shikai
verb
Shikai()
set category = "Combat"
if(usr.shikaiactive == 0)
if(usr.shikaivar == 1)
usr.reiatsu *= 7
usr.shikaitype = ("Ashisogi Jizou")
usr.overlays += src.AshisogiJizou
usr.overlays -= src.shinihilt
shikaiactive = 1
usr.shikaivarcheck()
range(10) <<"<I><font color=red><b>[src.name]</b></font>: <B><font color=red><I>[usr.zanpaktoucall] [usr.zanpaktou]!"
else
if(usr.shikaivar == 1)
usr.overlays += src.shinihilt
usr.overlays -= src.AshisogiJizou
usr.HP = usr.maxHP
usr.stamina = src.maxstamina
usr.reiatsu = src.maxreiatsu
usr.swordpower = src.maxswordpower
usr.strength = src.maxstrength
range(10) <<"<I><font color=red><b>[src.name]</b></font>: <B><font color=red><I>Lets his/her [usr.zanpaktou] power down!"
Well the code works fine, when you active it, it removes the current Zanpakto icon but when you de-activate it, it adds the Zanpakto icon again but does nothing to remove the shikai overlay. Can someone please tell me how to fix, and how to avoid these kinds of problems. Also, i apologize im asking so many questions just trying to learn.