Title: Add rarity points · Issue #24 · NosCoreIO/NosCore.Algorithm · GitHub
Open Graph Title: Add rarity points · Issue #24 · NosCoreIO/NosCore.Algorithm
X Title: Add rarity points · Issue #24 · NosCoreIO/NosCore.Algorithm
Description: Add rarity points Add rarity rates public int RarityPoint(short rarity, short lvl) { var p = rarity switch { 0 => 0, 1 => 1, 2 => 2, 3 => 3, 4 => 4, 5 => 5, 6 => 7, 7 => 10, 8 => 15, _ => rarity * 2, }; return p * (lvl / 5 + 1); }
Open Graph Description: Add rarity points Add rarity rates public int RarityPoint(short rarity, short lvl) { var p = rarity switch { 0 => 0, 1 => 1, 2 => 2, 3 => 3, 4 => 4, 5 => 5, 6 => 7, 7 => 10, 8 => 15, _ => rarity * ...
X Description: Add rarity points Add rarity rates public int RarityPoint(short rarity, short lvl) { var p = rarity switch { 0 => 0, 1 => 1, 2 => 2, 3 => 3, 4 => 4, 5 => 5, 6 => 7, 7 => 10,...
Opengraph URL: https://github.com/NosCoreIO/NosCore.Algorithm/issues/24
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add rarity points","articleBody":"Add rarity points\r\nAdd rarity rates\r\n```\r\n public int RarityPoint(short rarity, short lvl)\r\n {\r\n var p = rarity switch\r\n {\r\n 0 =\u003e 0,\r\n 1 =\u003e 1,\r\n 2 =\u003e 2,\r\n 3 =\u003e 3,\r\n 4 =\u003e 4,\r\n 5 =\u003e 5,\r\n 6 =\u003e 7,\r\n 7 =\u003e 10,\r\n 8 =\u003e 15,\r\n _ =\u003e rarity * 2,\r\n };\r\n return p * (lvl / 5 + 1);\r\n }\r\n```","author":{"url":"https://github.com/erwan-joly","@type":"Person","name":"erwan-joly"},"datePublished":"2020-05-14T07:12:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/24/NosCore.Algorithm/issues/24"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:543fb0a9-d6b0-de62-89af-f8e9d6761e94 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A5F8:198581:AF5434:ECF93C:6A5A8F4A |
| html-safe-nonce | 48d699aa0a47ede0d66a824adbccf9cd53de4e5fca1e4960614a1075624cd0da |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNUY4OjE5ODU4MTpBRjU0MzQ6RUNGOTNDOjZBNUE4RjRBIiwidmlzaXRvcl9pZCI6IjIxMzU0NTg5MzUzNTY0MjgxMDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 681cbb9ae4f252147c9072dce87542fd87710ece5ee045f20846a6fe1e5c5dc8 |
| hovercard-subject-tag | issue:617983017 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/NosCoreIO/NosCore.Algorithm/24/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5d73de97d02bea7bf21169b9cbc58a55acb9a947c9bc68b7668465092144612b/NosCoreIO/NosCore.Algorithm/issues/24 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5d73de97d02bea7bf21169b9cbc58a55acb9a947c9bc68b7668465092144612b/NosCoreIO/NosCore.Algorithm/issues/24 |
| og:image:alt | Add rarity points Add rarity rates public int RarityPoint(short rarity, short lvl) { var p = rarity switch { 0 => 0, 1 => 1, 2 => 2, 3 => 3, 4 => 4, 5 => 5, 6 => 7, 7 => 10, 8 => 15, _ => rarity * ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | erwan-joly |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9989a1a1d89aa5a38a19e5d0c7ee88a8ffde84acde90048990492aae52f235db |
| turbo-cache-control | no-preview |
| go-import | github.com/NosCoreIO/NosCore.Algorithm git https://github.com/NosCoreIO/NosCore.Algorithm.git |
| octolytics-dimension-user_id | 37359054 |
| octolytics-dimension-user_login | NosCoreIO |
| octolytics-dimension-repository_id | 213315371 |
| octolytics-dimension-repository_nwo | NosCoreIO/NosCore.Algorithm |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 213315371 |
| octolytics-dimension-repository_network_root_nwo | NosCoreIO/NosCore.Algorithm |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ba6769fbf719c56dbf7bed650ce454dafc5b1528 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width