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
help me to remember
Author Message
mrkarlo
Journeyman
*

Posts: 160
Likes Given: 3
Likes Received: 6 in 5 posts
Joined: Mar 2012
Reputation: 1



Post: #21
RE: help me to remember
thanks! I dont want to bother you anymore, but:
Code:
IF (<LOCAL.SKILL> > 750)                                                     
    LOCAL.RAND = <EVAL Rand(<EVAL Rand(100, 150)>, 400)>
    IF (<EVAL <EVAL <LOCAL.SKILL> / 10> + 50> > <EVAL <LOCAL.RAND>>)

then, boys will chop wit 75 lumber ye?
07-16-2014 07:31 PM
Find all posts by this user Like Post Quote this message in a reply
mrkarlo
Journeyman
*

Posts: 160
Likes Given: 3
Likes Received: 6 in 5 posts
Joined: Mar 2012
Reputation: 1



Post: #22
RE: help me to remember
I dont understand, why we need in these code
Code:
IF (<EVAL <EVAL <LOCAL.SKILL> / 10> + 50> > <EVAL <LOCAL.RAND>>)
if we have
Code:
IF (<LOCAL.SKILL> > 750)
07-20-2014 09:24 PM
Find all posts by this user Like Post Quote this message in a reply
XuN
Sphere Developer
*****

Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30



Post: #23
RE: help me to remember
Because the first line makes sure only people with more than 75.0 skill can do it, the second one is a chance check, if skill/10 +50 is greater than the local.rand value ... then there's a success in the check.
07-21-2014 03:52 AM
Find all posts by this user Like Post Quote this message in a reply
mrkarlo
Journeyman
*

Posts: 160
Likes Given: 3
Likes Received: 6 in 5 posts
Joined: Mar 2012
Reputation: 1



Post: #24
RE: help me to remember
oouh yee, thanks overlord! thats what I need to know!
07-21-2014 04:59 AM
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)