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
Meditation while fighting
Author Message
Leonidas
Master
**

Posts: 277
Likes Given: 3
Likes Received: 13 in 12 posts
Joined: May 2013
Reputation: 1



Post: #11
RE: Meditation while fighting
My meditation actually gives mana as soon as they use the skill, it not time based. But this will definitely help me with my poisoning I've been wanting to do.

So i've been trying to work around this using @UserExtCommand on a player event.

Code:
ON=@UserExtCmd
IF (<ARGN1>==024) && (<ARGS>=46)
say <ARGS>
say yes
return 1
else
say <ARGS>
say no
RETURN 1
ENDIF

When I use the meditation skill, the <ARGS> is "46 0", which is that skills number. But when I use hiding or any other skill, it still says "yes" but the ARGS change for the different skill used. For some reason "&& (<ARGS>=46)" isn't working properly and I don't know why.

Also, is this a good way to work around the combat problem?
(This post was last modified: 01-19-2017 06:52 PM by Leonidas.)
01-19-2017 06:10 PM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #12
RE: Meditation while fighting
Missing a = in the args check ( <args> == 46)
01-19-2017 07:44 PM
Find all posts by this user Like Post Quote this message in a reply
Leonidas
Master
**

Posts: 277
Likes Given: 3
Likes Received: 13 in 12 posts
Joined: May 2013
Reputation: 1



Post: #13
RE: Meditation while fighting
Well i tried that aswell and it still didnt work
01-20-2017 02:32 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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