SphereCommunity
Silly question? (SKILLCHECK) - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Silly question? (SKILLCHECK) (/Thread-Silly-question-SKILLCHECK)



Silly question? (SKILLCHECK) - Capes - 03-21-2018 03:14 AM

I'm having trouble wrapping my head around the syntax for doing a skill check in a trigger.

ON=@DCLICK
if (???)
//passed - do something
else
//failed - do something

I've tried tons of variations of this:
<src.skillcheck src.someskill dif#>
I only get error dumps to the console.

Thanks
Capes


RE: Silly question? (SKILLCHECK) - n1ghtwish - 03-21-2018 03:19 AM

Syntax:
skillcheck <skill id>,<diff>

So skill ID being an integer, (0 = alchemy)


RE: Silly question? (SKILLCHECK) - Capes - 03-21-2018 04:43 AM

I used the above suggestion - THANKS!

Is the difficulty factor 1-100 or 1-1000?


Thanks
Capes


RE: Silly question? (SKILLCHECK) - n1ghtwish - 03-21-2018 07:33 AM

It's 1-100


RE: Silly question? (SKILLCHECK) - Capes - 03-30-2018 04:44 AM

Thanks
Capes