Added initial version
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
void script_463(int arg0) {
|
||||
if (getSkillActualLvl(3) < 25) {
|
||||
setWidgetText(new WidgetPointer(arg0), "<col=c80000>" + "A Constitution level of " + intToStr(25) + " is required." + "</col>");
|
||||
} else if (bitconfig_2086 < 1) {
|
||||
setWidgetText(new WidgetPointer(arg0), "<col=c80000>" + "1 Commendation required." + "</col>");
|
||||
} else {
|
||||
setWidgetText(new WidgetPointer(arg0), intToStr(multiply(divide(pow(getSkillActualLvl(3), 2), 600), 35)) + " XP per Commendation.");
|
||||
}
|
||||
return;
|
||||
}
|
||||
Reference in New Issue
Block a user