View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001758SphereServerexecutable - genericpublic26-05-10 17:2829-05-10 20:08
Reporteralfa2k10 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Version0.56c Nightly 
Target VersionFixed in Version 
Summary0001758: SkillCheck
DescriptionSkillCheck is not cheking, returns 0 if the character has the specified amount of skill.
TagsNo tags attached.
Nightly VersionNot Available
Experimental FlagsNone
Option FlagsNone
Internal Build Number
Attached Files

- Relationships

-  Notes
(0000478)
Incanus (reporter)
27-05-10 20:18

Skillcheck works for me. Be aware that the skill_amount value has to be a whole number (1 to 100).

For example a check for 90.0 Blacksmithing:

IF <SKILLCHECK Blacksmithing 90>
  SAY Success
ELSE
  SAY Fail
ENDIF
(0000480)
MrSugarCube (administrator)
29-05-10 20:08

The function appears to be working fine, but it was the description in the wiki that was incorrect.

The SKILLCHECK function does not check if a character has X amount of skill (this is what SKILLTEST does), but actually performs a check for skill success (similar to SKILLUSEQUICK, but without performing any actions).

Incanus' example above is correct, but even with 90.0% blacksmithing the function can still return 0.

- Issue History
Date Modified Username Field Change
26-05-10 17:28 alfa2k10 New Issue
26-05-10 17:28 alfa2k10 Nightly Version => Not Available
26-05-10 17:28 alfa2k10 Experimental Flags => None
26-05-10 17:28 alfa2k10 Option Flags => None
27-05-10 20:18 Incanus Note Added: 0000478
29-05-10 20:08 MrSugarCube Status new => closed
29-05-10 20:08 MrSugarCube Note Added: 0000480
29-05-10 20:08 MrSugarCube Resolution open => no change required


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker