SphereServer BugTracker - SphereServer
View Issue Details
0002466SphereServerexecutable - genericpublic27-01-15 00:5031-01-15 17:07
Terrikate 
Ben 
normaltweakrandom
closedno change required 
0.56c Nightly 
0.56c Nightly 
Automated (specify build number)
None
None
0002466: Alchemy spends more resources when fail than it costs to make the potion
Same with Cartography
EFFECT=0.0,100.0
No tags attached.
Issue History
27-01-15 00:50TerrikateNew Issue
27-01-15 01:16BenNote Added: 0002655
27-01-15 01:33TerrikateNote Added: 0002656
31-01-15 17:07BenNote Added: 0002664
31-01-15 17:07BenStatusnew => closed
31-01-15 17:07BenAssigned To => Ben
31-01-15 17:07BenResolutionopen => no change required

Notes
(0002655)
Ben   
27-01-15 01:16   
Since all crafting skills use the same code, it can't be just those 2 skills...
(0002656)
Terrikate   
27-01-15 01:33   
I know... it is logical that also fail since they are based on the same system. They are the only ones I could try...
(0002664)
Ben   
31-01-15 17:07   
you need to change your EFFECT= line to a value of 0,100 and not 0.0,100.0
As you should know, decimals are usually ignored so using this value makes you have a 0 to 1000 % consume on fail.
There is a note in the comment at the top of sphere_skill.scp that reads:
EFFECT=0,100
// Healing: Effect of bandages
// Crafting Skills: Percentage of resources lost on failure.

I could change it to have a limit of 100%, but I'd rather leave it open incase someone wants to go above that limit.