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
"Show Real"
Author Message
Coruja
Sphere Developer
*****

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

Dimension Shard

Post: #5
RE: "Show Real"
sounds interesting, never had tried it but on some quick testing it seems to work. This will make sphere show the real skill value by default, but it doesn't disable the "show real" button, which now are useless because the real values will be the same as the adjusted values

on sphere source I also found this quick info about how BONUS_STATS and BONUS_[STR/DEX/INT] works on skills. So I presume sphere have some basic support for this feature
Quote:m_SkillStat is used to figure out how much
of the total bonus comes from the stats
so if it's 80, then 20% (100% - 80%) comes from
the stat (str,int,dex) bonuses

example:

These are the cchar's stats:
m_Skill[x] = 50.0
m_Stat[str] = 50, m_Stat[int] = 30, m_Stat[dex] = 20

these are the skill "defs":
m_SkillStat = 80
m_StatBonus[str] = 50
m_StatBonus[int] = 50
m_StatBonus[dex] = 0

Pure bonus is:
50% of str (25) + 50% of int (15) = 40

Percent of pure bonus to apply to raw skill is
20% = 100% - m_SkillStat = 100 - 80

adjusted bonus is: 8 (40 * 0.2)

so the effective skill is 50 (the raw) + 8 (the bonus)
which is 58 in total.
01-01-2017 02:11 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
"Show Real" - Leonidas - 12-31-2016, 11:04 AM
RE: "Show Real" - Coruja - 12-31-2016, 12:09 PM
RE: "Show Real" - Kanibal - 01-04-2017, 08:57 PM
RE: "Show Real" - Criminal - 12-31-2016, 05:53 PM
RE: "Show Real" - darksun84 - 12-31-2016, 08:31 PM
RE: "Show Real" - Coruja - 01-01-2017 02:11 AM
RE: "Show Real" - Leonidas - 01-02-2017, 01:08 PM
RE: "Show Real" - RoyaL - 01-03-2017, 08:05 PM

Forum Jump:


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