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
Stats (hits) change trigger
Author Message
RanXerox
Master
**

Posts: 550
Likes Given: 1
Likes Received: 12 in 9 posts
Joined: Dec 2010
Reputation: 19



Post: #6
RE: Stats (hits) change trigger
I use something similar (mine is a 10 second timer object in every player's memory) for the focus skill:

Code:
[ITEMDEF i_focus_timer]
ID=i_candle_thin_lit
TYPE=t_eq_script
LAYER=layer_special
WEIGHT=0
ON=@Create
   ATTR=attr_decay|attr_can_decay
   TIMER=10
ON=@Timer
   IF (<CONT.STAM> < <CONT.MAXSTAM>) || (<CONT.HITS> < <CONT.MAXHITS>) || (<CONT.MANA> < <CONT.MAXMANA>)
      LOCAL.Difficulty=<EVAL <CONT.Focus> / 10>
      IF (<LOCAL.Difficulty> > 90)
         LOCAL.Difficulty=90
      ENDIF
      IF (<LOCAL.Difficulty> < 10)
         LOCAL.Difficulty=10
      ENDIF
      CONT.SKILLGAIN focus <LOCAL.Difficulty>
   ENDIF
   TIMER=10
   RETURN 1
01-25-2013 05:38 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Stats (hits) change trigger - tleilax - 01-24-2013, 06:45 AM
RE: Stats (hits) change trigger - Skul - 01-25-2013, 01:45 AM
RE: Stats (hits) change trigger - tleilax - 01-25-2013, 01:56 AM
RE: Stats (hits) change trigger - Skul - 01-25-2013, 03:38 AM
RE: Stats (hits) change trigger - tleilax - 01-25-2013, 04:31 AM
RE: Stats (hits) change trigger - RanXerox - 01-25-2013 05:38 AM
RE: Stats (hits) change trigger - Ben - 01-25-2013, 11:36 AM
RE: Stats (hits) change trigger - RanXerox - 01-25-2013, 02:07 PM
RE: Stats (hits) change trigger - Skul - 01-25-2013, 04:05 PM
RE: Stats (hits) change trigger - tleilax - 01-25-2013, 06:59 PM
RE: Stats (hits) change trigger - Ben - 01-25-2013, 09:53 PM
RE: Stats (hits) change trigger - tleilax - 01-25-2013, 09:54 PM

Forum Jump:


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