mob/var
Hatake_Sharingan = 1
Hatake_Mangekyou = 0
Hshari = 0
Hmangekyou = 0
HSuses
mob/Hatake
verb
HatakeMangekyouPrep()
set category="Doujutsu"
set name = "Use Hatake_Mangekyou"
if(usr.firing)
return
if(usr.froze)
usr<<"You are froze"
return
if(usr.resting)
usr<<"Not while your resting"
return
if(usr.meditating)
usr<<"Not while your meditating"
return
if(usr.Frozen)
usr<<"You are froze"
return
if(usr.caught)
usr<<"Your captured"
return
if(usr.captured)
usr<<"Your captured"
return
usr.goingHmange=1
usr.Hatake_Sharingan=0
if(usr.HSuses<=100)
usr.HSuses=101
usr<<"Now use Sharingan"
sleep(100)
usr.goingHmange=0
usr.Hatake_Sharingan = 1
mob/Hatake
verb
Sharingan() // Verb used for firing the beam
set category = "Doujutsu"
set name = "Use_Sharingan"
if(usr.froze)
usr<<"You are frozen"
return
if(usr.resting)
usr<<"Not while your resting"
return
if(usr.meditating)
usr<<"Not while meditating"
return
if(usr.Frozen)
usr<<"Your are froze"
return
if(usr.captured)
usr<<"Your captured"
return
if(usr.caught)
usr<<"Your captured"
return
if(usr.Hshari == 0&&Hatake_Sharingan == 1) // If the mob's firing var is one...
usr.overlays+='hatakecounter.dmi'
usr.icon_state="1"
usr.overlays += 'hatakesharingan.dmi'
view()<<"<font size=1><font face=verdana><b><font color=white>[usr]<font color=green> Says: <FONT COLOR=#8b0000>S</FONT><FONT COLOR=#a0050f>h</FONT><FONT COLOR=#b40b1f>a</FONT><FONT COLOR=#c9102e>r</FONT><FONT COLOR=#dc143c>i</FONT><FONT COLOR=#ca1131>n</FONT><FONT COLOR=#b80d25>g</FONT><FONT COLOR=#a50818>a</FONT><FONT COLOR=#93040c>n</FONT><FONT COLOR=#800000>!</FONT>"
view()<<"[usr]'s left pupil dialates to form Hatake Sharingan (thank you obito)!"
usr.Hshari=1
usr.ST=1
usr.HSuses += 1
usr.gen = usr.gen*1.5
usr.nin = usr.nin*1.5
usr.tai = usr.tai*1.5
usr.verbs += /mob/Hatake/verb/Sharinganilluminate
usr.verbs += /mob/Hatake/verb/Counter
usr.see_invisible = 1
sleep(15)
usr.overlays-='hatakecounter.dmi'
usr.overlays-='hatakecounter.dmi'
usr.overlays-='hatakecounter.dmi'
usr.overlays-='hatakecounter.dmi'
if(usr.Mnin>=5000&&usr.HSuses>=300)
usr.Hmangekyou=1
usr.Hatake_Sharingan=0
return
if(usr.Hshari == 1&&usr.Hmangekyou == 1&&usr.ST == 1&&usr.goingHmange == 1)
usr.overlays+='hatakecounter.dmi'
usr.overlays += 'hatakesharingan.dmi'
usr.icon_state="mangekyou"
view()<<"<font size=1><font face=verdana><b><font color=white>[usr]<font color=green> Says: <FONT COLOR=#696969>M</FONT><FONT COLOR=#766065>a</FONT><FONT COLOR=#835760>n</FONT><FONT COLOR=#904d5b>g</FONT><FONT COLOR=#9d4456>e</FONT><FONT COLOR=#a93a50>k</FONT><FONT COLOR=#b6314b>y</FONT><FONT COLOR=#c32746>o</FONT><FONT COLOR=#d01e41>u</FONT><FONT COLOR=#dc143c> </FONT><FONT COLOR=#d41337>S</FONT><FONT COLOR=#ca1131>h</FONT><FONT COLOR=#c10f2b>a</FONT><FONT COLOR=#b80d25>r</FONT><FONT COLOR=#af0b1f>i</FONT><FONT COLOR=#a50818>n</FONT><FONT COLOR=#9c0612>g</FONT><FONT COLOR=#93040c>a</FONT><FONT COLOR=#890206>n</FONT><FONT COLOR=#800000>!</FONT>"
view()<<"[usr]'s left eye dilates to form Hatake Mangekyou Sharingan"
usr.HSuses += 1
usr.goingHmange=0
usr.shari=1
usr.gen = usr.gen*2
usr.nin = usr.nin*2
usr.tai = usr.tai*2
usr.ST=1
usr.sharingan3=1
usr.verbs += /mob/Hatake/verb/Sharinganilluminate
usr.verbs += /mob/Hatake/verb/Counter
usr.verbs += /mob/Hatake/verb/Susanoo
usr.see_invisible = 1
sleep(15)
usr.overlays-='hatakecounter.dmi'
usr.overlays-='hatakecounter.dmi'
return
else
usr<<"You release your Sharingan."
usr.overlays -= 'hatakesharingan.dmi'
usr.overlays -= 'hatakesharingan.dmi'
usr.see_invisible = 0
usr.nin=usr.Mnin
usr.gen=usr.Mgen
usr.tai=usr.Mtai
usr.goingmange=0
usr.Hatake_Sharingan = 1
usr.verbs -= /mob/Hatake/verb/Sharinganilluminate
usr.verbs -= /mob/Hatake/verb/Counter
usr.verbs -= /mob/Hatake/verb/Susanoo
usr.Hshari = 0
sleep(50)
usr.ST=0
return
Problem description:
When I use it i press the mangekyou then sharingan is says you release sharingan even while its not in use so i tried it over and over please help