mirror of
https://github.com/morbalint/kemkas.git
synced 2026-07-17 19:03:46 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e2c9b605aa | |||
| a6ecbfe927 |
@@ -27,7 +27,7 @@
|
||||
"react-router-dom": "^6.17.0",
|
||||
"typescript": "^5.2.2",
|
||||
"workbox-background-sync": "^7.1.0",
|
||||
"workbox-broadcast-update": "^7.1.0",
|
||||
"workbox-broadcast-update": "^7.4.0",
|
||||
"workbox-cacheable-response": "^7.1.0",
|
||||
"workbox-core": "^7.1.0",
|
||||
"workbox-expiration": "^7.1.0",
|
||||
|
||||
@@ -13,7 +13,8 @@ function availableKezpettsegListFajjal(faj: Faj2E, ...osztalyok: Osztaly2E[]): K
|
||||
}
|
||||
|
||||
export function GetNumberOfKepzettsegek(t_int: number, faj: Faj2E, max: number = 11) {
|
||||
//max = 3 + 1 + 3 + 4 + 2 = 13 // 3 base, 1 human, 3 from max ability modifier, 4 from Thief +1 at 5th and +1 at 9th level
|
||||
// Default cap is 11. Base calculation is 3 + 1 (human) + 3 (max ability modifier) = 7;
|
||||
// thief-specific extra selections are handled elsewhere and are not part of this default max.
|
||||
let numberOfKepzettseg = 3 + Modifier(t_int) + (faj === Faj2E.Ember ? 1 : 0)
|
||||
|
||||
if (numberOfKepzettseg < 1) {
|
||||
|
||||
+11
-6
@@ -2901,12 +2901,12 @@ workbox-background-sync@7.1.0, workbox-background-sync@^7.1.0:
|
||||
idb "^7.0.1"
|
||||
workbox-core "7.1.0"
|
||||
|
||||
workbox-broadcast-update@^7.1.0:
|
||||
version "7.1.0"
|
||||
resolved "https://registry.yarnpkg.com/workbox-broadcast-update/-/workbox-broadcast-update-7.1.0.tgz#fe21c491cc70f1e037898bba63de0752ef59bd82"
|
||||
integrity sha512-O36hIfhjej/c5ar95pO67k1GQw0/bw5tKP7CERNgK+JdxBANQhDmIuOXZTNvwb2IHBx9hj2kxvcDyRIh5nzOgQ==
|
||||
workbox-broadcast-update@^7.4.0:
|
||||
version "7.4.0"
|
||||
resolved "https://registry.yarnpkg.com/workbox-broadcast-update/-/workbox-broadcast-update-7.4.0.tgz#f0ee7d2af51d199e32213a429dff03f14ba76dea"
|
||||
integrity sha512-+eZQwoktlvo62cI0b+QBr40v5XjighxPq3Fzo9AWMiAosmpG5gxRHgTbGGhaJv/q/MFVxwFNGh/UwHZ/8K88lA==
|
||||
dependencies:
|
||||
workbox-core "7.1.0"
|
||||
workbox-core "7.4.0"
|
||||
|
||||
workbox-cacheable-response@^7.1.0:
|
||||
version "7.1.0"
|
||||
@@ -2915,11 +2915,16 @@ workbox-cacheable-response@^7.1.0:
|
||||
dependencies:
|
||||
workbox-core "7.1.0"
|
||||
|
||||
workbox-core@7.1.0, workbox-core@^7.1.0:
|
||||
workbox-core@7.1.0:
|
||||
version "7.1.0"
|
||||
resolved "https://registry.yarnpkg.com/workbox-core/-/workbox-core-7.1.0.tgz#1867576f994f20d9991b71a7d0b2581af22db170"
|
||||
integrity sha512-5KB4KOY8rtL31nEF7BfvU7FMzKT4B5TkbYa2tzkS+Peqj0gayMT9SytSFtNzlrvMaWgv6y/yvP9C0IbpFjV30Q==
|
||||
|
||||
workbox-core@7.4.0, workbox-core@^7.1.0:
|
||||
version "7.4.0"
|
||||
resolved "https://registry.yarnpkg.com/workbox-core/-/workbox-core-7.4.0.tgz#5cb59ae7655f2727423268fb1ba698f37809189d"
|
||||
integrity sha512-6BMfd8tYEnN4baG4emG9U0hdXM4gGuDU3ectXuVHnj71vwxTFI7WOpQJC4siTOlVtGqCUtj0ZQNsrvi6kZZTAQ==
|
||||
|
||||
workbox-expiration@^7.1.0:
|
||||
version "7.1.0"
|
||||
resolved "https://registry.yarnpkg.com/workbox-expiration/-/workbox-expiration-7.1.0.tgz#c9d348ffc8c3d1ffdddaf6c37bf5be830a69073e"
|
||||
|
||||
Reference in New Issue
Block a user