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
12
dumps/scripts/807.cs2
Normal file
12
dumps/scripts/807.cs2
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
int script_807(int arg0) {
|
||||
int ivar1;
|
||||
ivar1 = 0;
|
||||
if (getSkillActualLvl(arg0) > 0) {
|
||||
if (arg0 == 5) {
|
||||
ivar1 = divide(multiply(100, bitconfig_9816), script_5255());
|
||||
} else {
|
||||
ivar1 = divide(multiply(100, getSkillCurrentLvl(arg0)), getSkillActualLvl(arg0));
|
||||
}
|
||||
}
|
||||
return ivar1;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue