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
Couple Questions
Author Message
BladeCraft
Apprentice
*

Posts: 42
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Feb 2013
Reputation: 2



Post: #2
RE: Couple Questions
Calculating Skill:
Try something that uses the skill as the denominator so as it increases, that 1 in X chance gets tougher. For example, I have this under @ hit to make my combats gain very quickly

//CUSTOM COMBAT SKILL GAIN
If (!rand(<<serv.skill.<action>.name>>/80))
gainskill <serv.skill.<action>.name> //gainskill is a custom function that does all of my checks before it allows the gain.
endif (!rand(<<serv.skill.<action>.name>>/80))

[Image: topsitesbanner4.gif]
03-07-2013 09:29 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Couple Questions - Soulless - 03-07-2013, 08:40 AM
RE: Couple Questions - BladeCraft - 03-07-2013 09:29 AM
RE: Couple Questions - RanXerox - 03-08-2013, 07:27 AM
RE: Couple Questions - Soulless - 03-08-2013, 09:58 AM
RE: Couple Questions - Soulless - 03-08-2013, 11:39 AM

Forum Jump:


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