flyxiv / ffxiv_simhelper_public

4 stars 0 forks source link

Add Default Input for Weapons/Pots/Party Ilvl #15

Closed flyxiv closed 2 months ago

flyxiv commented 2 months ago

these three are essential inputs, so it can't be left undefined. Fill with default values if it is the case.

flyxiv commented 2 months ago

In FFXIV you can't unequip your weapon while you're in a certain job, as your current weapon decides the current class you're in.

That's why the backend server assumes the Weapon Damage power is never 0.

Make the frontend part sync with the backend server by 1) assigning the very first weapon in the list if the weapon slot is undefined 2) removing empty button in weapon

flyxiv commented 2 months ago

image

every time we switch jobs, find the first equipment in the database and assign that weapon

flyxiv commented 2 months ago

image

only generate empty select if slot isn't weapon

flyxiv commented 2 months ago

image

make default load do the same. Assign first item of the default job

flyxiv commented 2 months ago

image

Now it gives default weapon

image

No empty select so we can't disable weapon

flyxiv commented 2 months ago

image

added default fallbacks for pots and ilvl