skill solution
This commit is contained in:
parent
e944e0de19
commit
5f9a983cd0
10 changed files with 110 additions and 9 deletions
|
@ -40,10 +40,20 @@ function divide(val1, val2) {
|
|||
function modulo(val1, val2) {
|
||||
return val1 % val2;
|
||||
}
|
||||
function set(val1, val2) {
|
||||
return val2;
|
||||
}
|
||||
function andop(val1, val2) {
|
||||
return val1 & val2;
|
||||
}
|
||||
function orop(val1, val2) {
|
||||
return val1 | val2;
|
||||
}
|
||||
|
||||
nu stat("hp", "health", "vitality");
|
||||
nu stat("str", "strength", "physical power");
|
||||
nu stat("def", "defense", "physical defense");
|
||||
nu stat("spd", "speed", "avoid and follow-up");
|
||||
nu stat("hit", "hit rate", "chance to hit");
|
||||
nu stat("mov", "movement", "distance travelable");
|
||||
nu stat("mov", "movement", "distance travelable");
|
||||
nu stat("rng", "range", "distance attackable");
|
Loading…
Add table
Add a link
Reference in a new issue