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
Stat drops
Author Message
xwerswoodx
Journeyman
*

Posts: 86
Likes Given: 4
Likes Received: 7 in 4 posts
Joined: Jun 2012
Reputation: 0

UoMMO

Post: #1
Stat drops
Hi, I have little problem with new sphere Smile Before when we pass our hits like MAXHITS=100, HITS=200, it drops slowly, maybe 1 in 30 seconds, but now after 20seconds it drops to 100 directly, I found this setting in sphere.ini

// When player skills/stats goes this times more than skillclass allowed, drop
// them to skillclass level. Setting this to 0 disables the action.
OverSkillMultiply=0

I disabled it but still has same problem.

I have a weapon which has bloodthirsty event on it, so sometimes health maybe more than MAXHITS and I don't want it drops directly to MAXHITS. Is there any setting for it?
02-02-2017 08:58 PM
Find all posts by this user Like Post Quote this message in a reply
Anarch Cassius
Master
**

Posts: 273
Likes Given: 19
Likes Received: 10 in 9 posts
Joined: Mar 2012
Reputation: 2



Post: #2
RE: Stat drops
https://forum.spherecommunity.net/Thread...oubt--5104

It was changed. I assume the reason is that faster hp regenerating characters would also be faster hp degenerating characters, which is a little weird.

ModMaxHits and a memory event is probably the solution.

Current Projects: Necromancy SCP overhaul. Custom Faction AI/System. Imbuing.
02-03-2017 05:06 AM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes Anarch Cassius's post
xwerswoodx
Journeyman
*

Posts: 86
Likes Given: 4
Likes Received: 7 in 4 posts
Joined: Jun 2012
Reputation: 0

UoMMO

Post: #3
RE: Stat drops
Thank you, I agree with you it's little weird, I liked old system Sad But yeah I can do it by memory but honestly I prefer the old system Smile
02-03-2017 10:18 AM
Find all posts by this user Like Post Quote this message in a reply
xwerswoodx
Journeyman
*

Posts: 86
Likes Given: 4
Likes Received: 7 in 4 posts
Joined: Jun 2012
Reputation: 0

UoMMO

Post: #4
RE: Stat drops
I remember there is a very easy way to do it. I don't know why I didn't remember that trigger before Smile

Code:
On=@RegenStat
IF ((<DLOCAL.STATID> == 0) && (<HITS> > <MAXHITS>))
  HITS -=1
  RETURN 1
ENDIF
02-06-2017 10:28 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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