SphereCommunity
Skill Percentage - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Skill Percentage (/Thread-Skill-Percentage)



Skill Percentage - Van Glan Bloom - 04-02-2014 12:29 PM

Hi guys,

I wonder if it is possible the new players start with only 2 skills at 50% and the remaining at 0%?
When I create a character when he has skills with some percentage. I've been watching on Sphere.ini and Sphere_skills, but do not where I discovered the change.

Can help me pls


RE: Skill Percentage - Alaric - 04-02-2014 02:05 PM

scripts/sphere_serv_triggers.scp

Code:
[FUNCTION f_onchar_create]
// The f_onchar_create function is called after client created a new char.
// SRC   --> char being created
// ARGN1 --> flags
// ARGN2 --> profession chosen
// ARGN3 --> race (1=human, 2=elf, 3=gargoyle)
// ARGS  --> account name
// ARGO  --> the client creating the character
// RETURN
//      0 --> normal action (create character)
//      1 --> denyes creation



RE: Skill Percentage - Van Glan Bloom - 04-03-2014 02:24 PM

problem solved, thx