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

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



Post: #3
RE: SKF_SCRIPTED
HAHAHAHAHAHA well i needed a lot evals

im doing my own bandage system, but i dont know what it has to do with the wrong fired trigger.... when ACTION = -1 it is suppose to fire a @FAIL trigger, instead it fires @abort
so i would code a simulated failing behavior but it may be a waste of time cause it might be a small bug or i m doing something wrong in the SKF SKILL
thats why i ask.

PD: i also tried with negative actdiff values and it prevents the skill success but fire trigger isnt fired neither.

is it possible to call the trigger when failing?? i mean something like:
Code:
[ITEMDEF 0e21]
DEFNAME=i_bandage
TYPE=t_bandage
blabla bla ...

ON=@Targon_Char
IF <ARGO.ISCREATURE>  // BRAINS 1, 10 and 13  which include tameable creatures
SKILLVETERINARY <ARGO> // function.
RETURN 1
ENDIF

Code:
ON=@Start
ACTDIFF = <R1,<EVAL <EVAL <EVAL <ACT.STR>+<ACT.DEX>+<ACT.INT>>*10>/<EVAL <EVAL <VETERINARY>/10>+1>>>
IF <ACTDIFF> >= <VETERINARY>
FULLTRIGGER @FAIL  // <--------something like this?
RETURN 1
ENDIF
(This post was last modified: 09-11-2014 06:48 AM by kn4tseb.)
09-11-2014 06:19 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: 1 Guest(s)