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
No stat cap...
Author Message
admin_teclis
Journeyman
*

Posts: 51
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Aug 2012
Reputation: 0

Age of Apocalypse

Post: #3
RE: No stat cap...
the problem is not the race ... or control of the race stat ... The problem is the following control .. precisely this:

[EVENTS e_stat_human]
PHP Code:
ON=@EnvironChange

//IF !(<SRC.FINDID.i_rune_bless>) 
IF ((<SRC.FLAGS> & STATF_POLYMORPH) || (<SRC.FINDLAYER(LAYER_SPELL_STATS)>) || (<SRC.FINDLAYER(LAYER_FLAG_Potion)>) || (<SRC.FINDLAYER(LAYER_FLAG_Hallucination)>))
return 
1
endif
IF !((<
SRC.FLAGS> & STATF_POLYMORPH) || (<SRC.FINDLAYER(LAYER_SPELL_STATS)>) || (<SRC.FINDLAYER(LAYER_FLAG_Potion)>) || (<SRC.FINDLAYER(LAYER_FLAG_Hallucination)>))


IF (<eval <
SRC.STR>> > 120)
say @2545 Stat cap superato!
SRC.STR=120
ENDIF

IF (<eval <
SRC.DEX>> > 120)
say @2444 Stat cap superato!
SRC.DEX=120
ENDIF

IF (<eval <
SRC.INT>> > 120)
say @2441  Stat cap superato!
SRC.INT=120
ENDIF

IF (<EVAL <
SRC.STR>+<SRC.DEX>+<SRC.INT>> > 300)

say @2545 Stat cap superato!
IF (<EVAL <
SRC.DEX>> > <EVAL <SRC.INT>>)
SRC.INT=(<SRC.INT>+(-1))
RETURN 
1
ENDIF

IF (<EVAL <
SRC.STR>+<SRC.DEX>+<SRC.INT>> > 300)
say @2545 Stat cap superato!
IF (<EVAL <
SRC.INT>> > <EVAL <SRC.DEX>>)
SRC.DEX=(<SRC.DEX>+(-1))
RETURN 
1
ENDIF

ENDIF
ENDIF 
(This post was last modified: 01-07-2013 10:56 PM by admin_teclis.)
01-07-2013 10:55 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
No stat cap... - admin_teclis - 01-07-2013, 09:20 AM
RE: No stat cap... - Onirim - 01-07-2013, 05:25 PM
RE: No stat cap... - admin_teclis - 01-07-2013 10:55 PM
RE: No stat cap... - Ultima One - 01-07-2013, 11:33 PM
RE: No stat cap... - Onirim - 01-08-2013, 12:30 AM
RE: No stat cap... - admin_teclis - 01-08-2013, 05:42 AM
RE: No stat cap... - admin_teclis - 01-08-2013, 10:01 AM

Forum Jump:


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