obj
sharingan
icon='Jutsu.dmi'
icon_state="Sharingan"
verb
Sharingan()
set category = "Jutsu"
switch(usr.sharingan)
if(1)
usr.sharingan=0
else
usr.sharingan=1
usr<<"Your sharingan has activited."
usr.Speed+=25
usr.Endurance+=25
usr.Intellect+=25
usr.movedelay-=0.7
usr.icon_state = ""
sleep(100)
usr<<"Your sharingan has deactivited."
usr.Speed-=25
usr.Endurance-=25
usr.Intellect-=25
usr.movedelay+=0.7
stat(contents)
src.contents+= new/obj/sharingan
Problem description:
The first problem is i wish to make it Doubleclick the skill for it to be use but i have to right click then select sharingan. The second problem is in my contents the skill constant add on, I just wanted to add one.
#2:
And as for your <code>src.contents+= new/obj/sharingan</code> you might want to find another place in your code to add this skill to the player. Maybe the </code>mob/Login()</code> so it doesn't add it every tick, which is the result your getting from putting it under a </code>stat()</code>
Hope this helped. Happy Programming.