The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Stats and skills
Author Message
Andragh'on
Apprentice
*

Posts: 14
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Mar 2017
Reputation: 0



Post: #1
Stats and skills
Greetings,

Before i start to chance something and i am not sure if i am in the correct file.

If i change in the next file sphere_skills.scp the following lines:
STATSUM=300
SKILLSUM=10000.0
Will this affect the max stats and skill settings?
I asume the max skill is now set to 10000 instead of 1000.

So for example i would like to see that players can only have 1300 skills to use i should chance the SKILLSUM=10000.0 to SKILLSUM=1300.0?
03-07-2017 05:15 PM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #2
RE: Stats and skills
Remember that Skillsum is the sum of all the skill values, and 1300.0 is actually 13,000 (that means 10 skills with a value of 130%)
03-08-2017 02:45 AM
Find all posts by this user Like Post Quote this message in a reply
Capes
Journeyman
*

Posts: 57
Likes Given: 0
Likes Received: 4 in 4 posts
Joined: Mar 2018
Reputation: 0



Post: #3
RE: Stats and skills
Question -
When changing
STATSUM=*, SKILLSUM=*
in sphere_skills.scp will it effect all player classes or just [SKILLCLASS 0]?

Thanks
Capes
04-04-2018 06:07 AM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #4
RE: Stats and skills
Just skillclass 0, but by default all players belong to skillclass 0, hovewer,you can create different skillclass.

In addition you can override the cap for a single player by using tag.override.skillsum/statsum/skillcap_numberofskill (cap for a single skill)

see https://wiki.spherecommunity.net/index.p...rride_TAGs
(This post was last modified: 04-04-2018 07:47 AM by darksun84.)
04-04-2018 07:47 AM
Find all posts by this user Like Post Quote this message in a reply
Capes
Journeyman
*

Posts: 57
Likes Given: 0
Likes Received: 4 in 4 posts
Joined: Mar 2018
Reputation: 0



Post: #5
RE: Stats and skills
To effect a player do I edit the sphere.ini and allow player_events, then place that in the login trigger?

Thanks
Capes

UPDATE

I did the above. Seems to work.
(This post was last modified: 04-08-2018 12:56 AM by Capes.)
04-07-2018 04:32 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 3 Guest(s)