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
Skill gaining system
Author Message
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #2
RE: Skill gaining system
Unfortunately both skill success change and SKILLGAIN function uses some old weird formulas. I never changed these formulas because some ppl like "old style" servers so I avoid change these old formulas/settings

But anyway, I think the best way to master these skill-related formulas is simply write your own scripted formula on char triggers like @SkillStart or @SkillMakeItem

@SkillStart -> here you can create your own success chance formula, ACTDIFF=-100 means fail and ACTDIFF=100 means success
@SkillMakeItem -> this trigger is called -after- skill success when the crafted item is already created (ACT is the created item), here you can insert your own skillgain formula using SKILLGAIN function

You can also use these formulas directly on skilldef triggers like @Start, @Success, @Fail, etc. Also don't forget to set ADV_RATE=0.0,0.0,0.0 on these skills, this will completely disable the hardcoded skillgain formula to avoid conflicts with your scripted formula
09-03-2019 09:03 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Skill gaining system - Indiaret - 08-09-2019, 03:28 AM
RE: Skill gaining system - Coruja - 09-03-2019 09:03 AM

Forum Jump:


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