movementspeed dimond
This commit is contained in:
parent
342611819e
commit
10c426d18d
@ -179,6 +179,7 @@ var itemAttrs = {
|
||||
lvl: 1,
|
||||
},
|
||||
"item_item_schatz": {
|
||||
changeMovementSpeed: -0.5,
|
||||
lvl: -1,
|
||||
},
|
||||
"item_consumable_fish1": {
|
||||
@ -189,10 +190,6 @@ var itemAttrs = {
|
||||
lvl: 1,
|
||||
hp: 10
|
||||
},
|
||||
"item_item_dimond1": {
|
||||
lvl: 10,
|
||||
changeMovementSpeed: -0.5
|
||||
},
|
||||
"item_item_woods1": {
|
||||
lvl: 1,
|
||||
//changeMovementSpeed: -0.5
|
||||
@ -624,7 +621,7 @@ setInterval(function () {
|
||||
player["mvnt"] = mvnt;
|
||||
}
|
||||
|
||||
if (player["slots"]["item"] && player["slots"]["item"]["changeMovementSpeed"]) {
|
||||
if (player["slots"]["item"] && itemAttrs[player["slots"]["item"]] && itemAttrs[player["slots"]["item"]]["changeMovementSpeed"]) {
|
||||
player["mvnt"] = mvnt + itemAttrs[player["slots"]["item"]]["changeMovementSpeed"];
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user