running-coder / nanolooker

Explore the Nano cryptocurrency blockchain
https://www.nanolooker.com
MIT License
92 stars 60 forks source link

Update guide.md #182

Closed BillybobIII closed 10 months ago

BillybobIII commented 10 months ago

Small thing i lost the other stuff when i refreshed page while still in edit just this for now

tombertrand commented 10 months ago

you may add some of those details?

´´´ export const attackBonuPercentsFromWeightMap = { light: -15, normal: 0, heavy: 25, "Super heavy": 35, }; export const getAttackSpeedBonusFromStringMap = { light: 20, normal: 0, heavy: -15, "Super heavy": -20, };

export const getWeaponWeightbyKind = (kind: number): string => { let weights = ["light", "normal", "heavy", "Super heavy"];

if (typeof kind !== "number") return;

if (Types.Entities.LightWeapons.includes(kind)) { return weights[0]; } else if (Types.Entities.HeavyWeapons.includes(kind)) { return weights[2]; } else if (Types.Entities.SuperHeavyWeapons.includes(kind)) { return weights[3]; } else { return weights[1]; }´´´

BillybobIII commented 10 months ago

Hold on so light weapons +15% attack speed heavy weapons have a 25% penalty? Normal is just normal attack speed

BillybobIII commented 10 months ago

Oh wait hold on it read it wrong 15% penalty for heavy super heavy 20% penalty and light is 20% boost and normal is just normal sry i got it

tombertrand commented 10 months ago

do you think you can rebase on master and resolve conflicts using masterr or redo your PR with only your changes?

tombertrand commented 10 months ago
image