SphereCommunity
skill cap question - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: skill cap question (/Thread-skill-cap-question)



skill cap question - dabritmusic - 02-13-2014 03:47 PM

what is the correct tag to find if a player is gm in a skill?

On=@dclick
IF (<SRC.BLACKSMITHING> < 100.0)
SRC.MESSAGE @0481 You are at maximum skill and cannot consume this!
return 1
else
SRC.EMOTE feel a bit wiser
SRC.BLACKSMITHING=<SRC.BLACKSMITHING>+1.0
remove
return 1


RE: skill cap question - Pidrila - 02-13-2014 06:16 PM

IF (<isgm>)


RE: skill cap question - pinku - 02-14-2014 04:12 AM

(02-13-2014 06:16 PM)Pidrila Wrote:  IF (<isgm>)

I am sure this is made to check if the character is Game Master, not Grandmaster... xd


RE: skill cap question - Mordaunt - 02-14-2014 10:17 AM

*facepalm* I have no words for that so... moving on.

On=@dclick
IF (<SRC.BLACKSMITHING> >= 100.0)
SRC.MESSAGE @0481 You are at maximum skill and cannot consume this!

You had the equation backwards


RE: skill cap question - dabritmusic - 02-17-2014 07:18 AM

(02-14-2014 10:17 AM)Mordaunt Wrote:  *facepalm* I have no words for that so... moving on.

On=@dclick
IF (<SRC.BLACKSMITHING> >= 100.0)
SRC.MESSAGE @0481 You are at maximum skill and cannot consume this!

You had the equation backwards

thanks man.