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
Help with FULLTRIGGER
Author Message
Rizz
Master
**

Posts: 396
Likes Given: 21
Likes Received: 14 in 9 posts
Joined: Oct 2012
Reputation: 0



Post: #1
Help with FULLTRIGGER
Code:
[SKILL 17]
DEFNAME=Skill_Healing
KEY=Healing
TITLE=Healer
PROMPT_MSG=Who will you use the bandages on?
DELAY=2.4
EFFECT=2.0,20.0
ADV_RATE=3.0,15.0,60.0
STAT_STR=0
STAT_INT=0
STAT_DEX=0
BONUS_STATS=20
BONUS_STR=0
BONUS_DEX=30
BONUS_INT=70

ON=@Start
serv.b healing


ON=@Success

ON=@Fail
    SRC.SYSMESSAGE You apply the bandages, but they barely help.

ON=@Abort
    SRC.SYSMESSAGE You stop applying the bandages.

Using the normal skill triggers there are no ways to force a skills to fire @Fail or @Success as i want to do.
Is possible to do this using fulltrigger? If yes, how?
10-14-2014 05:49 AM
Find all posts by this user Like Post Quote this message in a reply
Ben
Sphere Developer
*****

Posts: 612
Likes Given: 2
Likes Received: 123 in 70 posts
Joined: Mar 2010
Reputation: 18

SphereCommunity

Post: #2
RE: Help with FULLTRIGGER
I don't think it's possible using FULLTRIGGER or TRIGGER since it's a skill and not an in-game object.

AxisII's current version: 2.0.4j
AxisII SourceCode on Github
AxisII up to date changelog
10-14-2014 08:24 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Rizz
Master
**

Posts: 396
Likes Given: 21
Likes Received: 14 in 9 posts
Joined: Oct 2012
Reputation: 0



Post: #3
RE: Help with FULLTRIGGER
Is possible to add and ARGN on @Start to manage this?
Maybe a value from 0 to 1 where

0 fail
1 success
(This post was last modified: 10-14-2014 08:52 AM by Rizz.)
10-14-2014 08:50 AM
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: #4
RE: Help with FULLTRIGGER
if you want to fail a skill just set a super high actdiff, like 10000 (and test it with gm off Tongue)
10-14-2014 09:16 AM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes darksun84's post
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #5
RE: Help with FULLTRIGGER
try set your char action to skill_healing, if it works, you can control it using ACTDIFF 1 (success) / -1 (fail) and TIMER=0 to end the action
10-14-2014 11:15 AM
Find all posts by this user Like Post Quote this message in a reply
Rizz
Master
**

Posts: 396
Likes Given: 21
Likes Received: 14 in 9 posts
Joined: Oct 2012
Reputation: 0



Post: #6
RE: Help with FULLTRIGGER
Thx Big Grin

Anyway on this page i found something not correct: http://wiki.sphere.torfo.org/index.php/M...own_Skills

Code:
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.

ACTION=-1 fires @abort
ACTDIFF=-1, negative values become 0
(This post was last modified: 10-14-2014 07:30 PM by Rizz.)
10-14-2014 07:25 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: #7
RE: Help with FULLTRIGGER
in @start actdiff value must be very high for automatically failing the skill while in @hittry is the opposite.
10-14-2014 08:34 PM
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)