SphereCommunity
Success chance when acting - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Success chance when acting (/Thread-Success-chance-when-acting)

Pages: 1 2


Success chance when acting - kn4tseb - 08-03-2014 11:37 AM

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.


RE: Success chance when acting - Extreme - 08-03-2014 03:03 PM

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/Revisions_Changelog
Search for 'actdiff'

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


RE: Success chance when acting - kn4tseb - 08-03-2014 03:37 PM

Thx Extreme, ill take a look!


RE: Success chance when acting - kn4tseb - 08-04-2014 02:35 PM

To modify difficulty when performing an skill action (actdiff) which trigger should i use to this purpose @skillstart or @skillprestart ???


RE: Success chance when acting - XuN - 08-04-2014 04:56 PM

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


RE: Success chance when acting - kn4tseb - 08-14-2014 08:47 AM

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


RE: Success chance when acting - darksun84 - 08-14-2014 08:58 AM

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


RE: Success chance when acting - kn4tseb - 08-14-2014 10:05 AM

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?


RE: Success chance when acting - Extreme - 08-14-2014 12:07 PM

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


RE: Success chance when acting - kn4tseb - 08-14-2014 12:19 PM

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