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
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Big problem.. i'm desperate
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: #1
Big problem.. i'm desperate
Hello guys,
i have a big , very BIG, problem... When a character (of any race) with cap top shoot with bows down the right stat str .... more But in my script does not even mention the str ....

Parts of the script :

[EVENTS e_stat_nano]

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>> > 150)
say @2545 Stat cap superato!
SRC.STR=150
ENDIF

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

IF (<eval <SRC.INT>> > 60)
say @2441 Stat cap superato!
SRC.INT=60
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

ENDIF
ENDIF
//endif

help me pls...
(This post was last modified: 01-09-2013 04:47 AM by admin_teclis.)
01-09-2013 04:46 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Big problem.. i'm desperate - admin_teclis - 01-09-2013 04:46 AM

Forum Jump:


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