Vadelius / swlsimNET

Combat-Simulator for Secret World Legends
Other
10 stars 7 forks source link

Finish Save/Load (current forms values to LocalStorage) #81

Open Vadelius opened 6 years ago

Vadelius commented 6 years ago

The functions exist (albeit empty) in import.component atm. On save they should get saved to like localStorage(formname,value) and on load well... the same, but value gets patched in.

Vadelius commented 6 years ago

@sajeetharan

Basically if Primary Weapon is set to "Chaos" then chaosProc: string[] = ["None", "Anima Touched", "Plasma Forged", "Shadowbound", "Warped Visage", "Otherwordly Artifact", "Sov Tech Paradox Generator"];

Should populate the Primary Proc dropdown. And say "Plasma Forged" is selected- then the value of primaryProc should be PlasmaForged.

And same if say.. You select secondary weapon as blood, then the blodProc object should populate secondaryProc.