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
Success chance when acting
Author Message
kn4tseb
Master
**

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



Post: #1
Success chance when acting
Is is possible to read/write/set/modify the chance of an action to succeed?.

for example for musichanship, when using an instrument it may succeed or fail the performance depending on skill level.... so, is it possible to increase the chance of success without modifing the skill?

Thank you very much.
(This post was last modified: 08-03-2014 11:49 AM by kn4tseb.)
08-03-2014 11:37 AM
Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #2
RE: Success chance when acting
Some stuff I've found on wiki
- http://wiki.sphere.torfo.org/index.php/Characters
ACTDIFF RW Gets or sets the difficulty of the character's current action.

- http://wiki.sphere.torfo.org/index.php/R..._Changelog
Search for 'actdiff'

- http://wiki.sphere.torfo.org/index.php/M...own_Skills
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.

For you question: I think you will have to change in the triggers of Musicianship skill to have it as you want.

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
08-03-2014 03:03 PM
Find all posts by this user Like Post Quote this message in a reply
kn4tseb
Master
**

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



Post: #3
RE: Success chance when acting
Thx Extreme, ill take a look!
08-03-2014 03:37 PM
Find all posts by this user Like Post Quote this message in a reply
kn4tseb
Master
**

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



Post: #4
RE: Success chance when acting
To modify difficulty when performing an skill action (actdiff) which trigger should i use to this purpose @skillstart or @skillprestart ???
08-04-2014 02:35 PM
Find all posts by this user Like Post Quote this message in a reply
XuN
Sphere Developer
*****

Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30



Post: #5
RE: Success chance when acting
You cannot with @PreStart, since the trigger is called before some default behaviour and it will override your valie. You can in @Start, @Stroke (if any)... any trigger other trigger than @PreStart before the @Success will do the job...
08-04-2014 04:56 PM
Find all posts by this user Like Post Quote this message in a reply
kn4tseb
Master
**

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



Post: #6
RE: Success chance when acting
ACTDIFF RW Gets or sets the difficulty of the character's current action.

WHAT's about the CURRENT ACTION?
what is exactly an action?
the skill inuse???

so the lower the actdiff is, more chances the action has to be completed?
need to understand that please.
havent found much info at forum and wiki
08-14-2014 08:47 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: #7
RE: Success chance when acting
Yes, action is the skill in use.

Lower is the action difficulty (actdiff), higher is the chance to succeed.

I also remember that in @HitTry (so in combat) actdiff works in the opposite way.

Anyway i have no idea how actdiff number is actually calculated Tongue
(This post was last modified: 08-14-2014 08:59 AM by darksun84.)
08-14-2014 08:58 AM
Find all posts by this user Like Post Quote this message in a reply
kn4tseb
Master
**

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



Post: #8
RE: Success chance when acting
HOHOHO thanks darksun.... but are you sure about it?

i was sure that lower actdiff values means easier the chance to succed, please anyone that is sure how it works?
08-14-2014 10:05 AM
Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #9
RE: Success chance when acting
Can't you test?
Set actdiff low and high values and see what happens... Many things you can learn testing.
All my doubts are checked doing tests, debugs, etc..

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
08-14-2014 12:07 PM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes Extreme's post
kn4tseb
Master
**

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



Post: #10
RE: Success chance when acting
im going to.. ill let you know what i figured it.... i 's just asking because someone might have already test it and well... never mind Smile
08-14-2014 12:19 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)