mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-09 16:45:44 -07:00
10 lines
484 B
Text
10 lines
484 B
Text
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;
|
|
}
|