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
SKF_SCRIPTED
Author Message
kn4tseb
Master
**

Posts: 392
Likes Given: 45
Likes Received: 10 in 10 posts
Joined: May 2014
Reputation: 0



Post: #1
SKF_SCRIPTED
Guys, i set skill veterinary as SKF_SCRIPTED and i have an issue, i cant make the skill fail.

when set action to -1 it fires @Abort and i dont know how to make fire @Fail

ON=@Start
// Fires when the skill begins.
// RETURN 1 = Prevent using the skill
// RETURN 0/2 = Allow skill to be used
// ACTION = -1 = Fail (@Fail).
// ACTDIFF = Skill required to succeed (0-100). Set to a negative value to fail the skill.

any clues

Code:
ON=@Start
ACTDIFF = <R1,<EVAL <EVAL <EVAL <ACT.STR>+<ACT.DEX>+<ACT.INT>>*10>/<EVAL <VETERINARY>+1>>>
IF <ACTDIFF> >= <VETERINARY>
ACTION = -1
ENDIF
(This post was last modified: 09-11-2014 05:23 AM by kn4tseb.)
09-11-2014 04:38 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
SKF_SCRIPTED - kn4tseb - 09-11-2014 04:38 AM
RE: SKF_SCRIPTED - Extreme - 09-11-2014, 06:09 AM
RE: SKF_SCRIPTED - kn4tseb - 09-11-2014, 06:19 AM
Re: RE: SKF_SCRIPTED - Extreme - 09-11-2014, 06:50 AM
RE: SKF_SCRIPTED - Coruja - 09-11-2014, 08:14 AM
RE: SKF_SCRIPTED - kn4tseb - 09-11-2014, 08:15 AM
RE: SKF_SCRIPTED - XuN - 09-12-2014, 12:38 AM
RE: SKF_SCRIPTED - kn4tseb - 09-12-2014, 05:24 AM
RE: SKF_SCRIPTED - XuN - 09-12-2014, 03:27 PM
RE: SKF_SCRIPTED - kn4tseb - 09-13-2014, 08:25 AM

Forum Jump:


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