Skip to content

Commit

Permalink
Update for 2.14.4-beta.dev.20241229.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Spacetech committed Dec 29, 2024
1 parent 8719009 commit d09427b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"watch": "npx tsc --build --watch --pretty --preserveWatchOutput"
},
"devDependencies": {
"@wayward/types": "^2.14.4-beta.dev.20241228.1",
"@wayward/types": "^2.14.4-beta.dev.20241229.1",
"rimraf": "3.0.2",
"typescript": "^5.7.2"
}
Expand Down
3 changes: 2 additions & 1 deletion src/OddMagicks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import Jump from "@wayward/game/game/entity/action/actions/Jump";
import type { IGetUseInfo } from "@wayward/game/game/inspection/infoProviders/UseInfo";
import ItemEquipInfo from "@wayward/game/game/inspection/infoProviders/item/use/ItemEquipInfo";
import type MagicalPropertyType from "@wayward/game/game/magic/MagicalPropertyType";
import { MagicalPropertyInfoHelper } from "@wayward/game/game/magic/MagicalPropertyType";
import type Tile from "@wayward/game/game/tile/Tile";
import Message from "@wayward/game/language/dictionary/Message";
import Mod from "@wayward/game/mod/Mod";
Expand All @@ -23,7 +24,7 @@ export default class OddMagicks extends Mod {
getInfo: item => ({
min: 0.05,
max: 0.3,
value: () => 0.05 + item.island.seededRandom.float(0.2),
value: () => 0.05 + MagicalPropertyInfoHelper.randomFloat(item, 0.2),
}),
})
public readonly magicalPropertyFloaty: MagicalPropertyType;
Expand Down

0 comments on commit d09427b

Please sign in to comment.