mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-09 16:45:44 -07:00
Added initial version
This commit is contained in:
commit
b452bd670c
13290 changed files with 1178433 additions and 0 deletions
10
dumps/scripts/464.cs2
Normal file
10
dumps/scripts/464.cs2
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
void script_464(int arg0) {
|
||||
if (getSkillActualLvl(4) < 25) {
|
||||
setWidgetText(new WidgetPointer(arg0), "<col=c80000>" + "A Ranged 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(4), 2), 600), 32)) + " XP per Commendation.");
|
||||
}
|
||||
return;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue