diff --git a/README.md b/README.md
index 0c83cde..bae8f62 100644
--- a/README.md
+++ b/README.md
@@ -1,70 +1,17 @@
-# Getting Started with Create React App
+# NGS Planner
-This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
+
-## Available Scripts
+This tool was created for Phantasy Star Online 2: New Genesis. It is used to therorycraft builds and share them with other players!
-In the project directory, you can run:
+The goal of NGS Planner is be accurate, accessible, and shareable.
-### `npm start`
+### Contributers
-Runs the app in the development mode.\
-Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
+ - Developer, Database Designer - [sigonasr2](https://twitter.com/sigonasr2)
+ - UI & Game Consultant - [Dudley](https://twitter.com/dudleyc_)
-The page will reload if you make edits.\
-You will also see any lint errors in the console.
+### Resources Used:
-### `npm test`
-
-Launches the test runner in the interactive watch mode.\
-See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
-
-### `npm run build`
-
-Builds the app for production to the `build` folder.\
-It correctly bundles React in production mode and optimizes the build for the best performance.
-
-The build is minified and the filenames include the hashes.\
-Your app is ready to be deployed!
-
-See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
-
-### `npm run eject`
-
-**Note: this is a one-way operation. Once you `eject`, you can’t go back!**
-
-If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
-
-Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.
-
-You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.
-
-## Learn More
-
-You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
-
-To learn React, check out the [React documentation](https://reactjs.org/).
-
-### Code Splitting
-
-This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)
-
-### Analyzing the Bundle Size
-
-This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)
-
-### Making a Progressive Web App
-
-This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)
-
-### Advanced Configuration
-
-This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)
-
-### Deployment
-
-This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)
-
-### `npm run build` fails to minify
-
-This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)
+ - [NGS Verification Data Storage](https://docs.google.com/spreadsheets/d/1_OgubzM5QFe4rua4Xu0GSMAI8Idoq8r2yI8Ioyec6oY/edit#gid=661779228) created by [ものさし](https://twitter.com/flowerint1034) & [Theuberelite](https://twitter.com/TheuberClips)
+ - [Arks-Visiphone](https://pso2na.arks-visiphone.com/wiki/Portal:New_Genesis)
diff --git a/src/App.js b/src/App.js
index e7e33eb..7315041 100644
--- a/src/App.js
+++ b/src/App.js
@@ -24,9 +24,19 @@ const parse = require('csv-parse/lib/sync')
const BACKEND_URL = process.env.REACT_APP_GITPOD_WORKSPACE_URL||process.env.REACT_APP_BACKEND_URL||'https://projectdivar.com:4504'; //You can specify a .env file locally with REACT_APP_BACKEND_URL defining a URL to retrieve data from.
-/*const MELEE_DMG = 0
+/*
+Damage types
+const MELEE_DMG = 0
const RANGE_DMG = 1
-const TECH_DMG = 2 //NOT USED YET*/
+const TECH_DMG = 2
+
+Art properties
+const NORMAL = 0
+const PHOTON_ART = 1
+const WEAPON_ACTION = 2
+const STEP_COUNTER = 3
+const PARRY_COUNTER = 4
+//NOT USED YET*/
function Col(p) {
return
+
diff --git a/src/NOTES.md b/src/NOTES.md
new file mode 100644
index 0000000..e4d34a0
--- /dev/null
+++ b/src/NOTES.md
@@ -0,0 +1,152 @@
+useEffect(()=>{
+ setRawDmg(((weaponTotalAtk*dmgVariance)+baseAtk-enemyDef)*multipliers/5)
+},[weaponTotalAtk,dmgVariance,baseAtk,enemyDef,multipliers])
+
+**Hello**
+
+
+
+
+
+Base Damage = (Attack Power - Enemy Defense)
+* (all multipliers, including Attack Multiplier, Part Multiplier, Main Class Weapon Boost, Class Skill Multiplier, etc.)/5
+
+Attack Multiplier based on Normal Atk or PA used NEED TO ADD TO DB
+Part Multiplier Usually 1 or 1.5 CUSTOM FIELD - db way later?
+Elemental Weakness Multiplier 1.2 CHECKBOX - db way later?
+Main Class Weapon Boost 1.1 AUTO - already in db
+Class Skill Multiplier NEED TO ADD TO DB
+Equip Multipliers
+ Augment AUTO - already in db
+ Elemental Weapon 1.15 against weak, 1.1 against non-weak DROPDOWN
+Crit Multis 1.2 base + whatever AUTO - (preset skill termina, already in db)
+Appropriate Distance FOR UI, CHECK IF BELOW THEN SHOW DROPDOWN
+ Assault Rifle Close Range 1.1, Mid Range 1.2, Long Range 1.0
+ TMG Close Range 1.1, Mid Range 1.2, Long Range 1.0
+ Wired Lance Short Range 1.0, Mid Range 1.2
+Food Boost AUTO - ALREADY IN DB
+Field Effects Region Mag 1.05, Drone Boost 1.1 CHECKBOX
+Status Ailment to Player burn 0.9-0.95 IDC RN - IMPLEMENTED VIA CUSTOM BOX
+Enemy Special Corrections
+ UQ Boss BREAK damage 2.0 CHECKBOX -> ENEMY
+ Gigantix 0.5 CHECKBOX -> ENEMY
+ Enemy Shifta/Deband worry later
+
+High-Level Enemy Enemy level >=5 player level, dmg x 0
+
+
+
+https://docs.google.com/spreadsheets/d/1F952a5BxqlbnB2DWQWWdjiCB_6xI70Gc6FQDU2OUOT4/edit#gid=0
+Data Verfication Data
+https://docs.google.com/spreadsheets/d/1_OgubzM5QFe4rua4Xu0GSMAI8Idoq8r2yI8Ioyec6oY/edit#gid=661779228
+
+
+MORE DATABASE STUFF
+LATER Enemy Data
+ Level
+ Defense
+ Attack Power
+
+-> custom field [Level, Defense, Atk Power] <-
+
+
+Patty Size
+ 5oz
+ 7oz
+
+2. The players maximum Attack Power is determined by the level of the enemy. If the attack power is over a certain value, it will be corrected down (e.g. Lv1=900, Lv10=1068, Lv20=1292).
+3. Calculate the Base Damage using the following formula.
+ Base Damage = (Attack Power - Enemy Defense) * (all multipliers, including Attack Multiplier, Part Multiplier, Main Class Weapon Boost, Class Skill Multiplier, etc.)/5
+4. Round the Base Damage to the nearest whole number to get the final damage."
+
+___
+
+**Edge Cases**
+ **Hunter** Volkraptor
+ **Gunner Sux** Chain Boost
+ **Force** Photon Flare Short Charge
+ **Techter** Deband PP Recovery Boost
+ Deband Ward Bad Condition
+
+Chain Build Power = 60 * (Power when building 100 chain with that PA + (Power of 100 Chain, C Point Blank * 1 + Point Blank * 2 + Onslaught) + (Power of S Roll * 3))
+÷ (Frame Count when building 100 chain with that PA + (Frame Count of C Point Blank * 1 + Point Blank * 2 + Onslaught) + (Frames of S Roll * 3)) = 60 * (PA power * (100 / hit count) + 2*(C Point*1 + Point*2 + Onslaught) + S Roll*3 power)/((PA frames / 1.2)*(100 / hit count)+30+(62*3+38+38*3)/1.2)
+
+___
+
+
+
+TABLE class_skill{
+ id int [pk,increment,unique]
+ name text
+ class_id int
+ icon text
+ description text
+}
+
+TABLE class_skill_data{
+ id int [pk,increment,unique]
+ name text
+ class_skill_id int
+ dependency text
+ level int
+ effect text
+ duration int
+ cooldown int
+ damage_taken float
+ pa_potency float
+ conditional_buff boolean
+ pp_recovery float
+ property text
+ all_damage_buff float
+ active_pp_recovery float
+ status_ailment_accum float
+ status_ailment_duration float
+ pp_consumption float
+ max_hp_decrease float
+ natural_pp_recovery float
+ added_pp int
+ pb_gauge_fortification float
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+*/
\ No newline at end of file
diff --git a/src/TestPanel.js b/src/TestPanel.js
index cf5f329..af5161a 100644
--- a/src/TestPanel.js
+++ b/src/TestPanel.js
@@ -2,65 +2,197 @@ import React from 'react';
function TestPanel() {
return ( //Futasuke is a genius
-
-
-
+
+
+
-
Weapon Select
+
Basic Information
+
+
+
+
+
Author
+
+
Dudley
+
+
+
Build Name
+
+
Fatimah
+
+
+
Class
+
Ranger
+
Lv.20
+
+
+
+
Force
+
Lv.15
+
+
+
+
+
+
Current Effects
-
Rifle
-
Launcher
-
Rod
-
Talis
+
1
+
2
-
-
-
-
-
-
-
-
-
-
-
Primm Rifle 177Recycler UnitLv.4: Potency +24%/ 20% chance of Restasigne not being consumed on use. Effect starts 10 sec after equip
-
Tzvia Rifle 195Indomitable UnitLv.4: Potency +26%/ All Down Resistances +20%
-
Theseus Rifle 223Defensive FormationLv.4: Potency +22%/ Critical Hit Rate increases based on Defense, up to a maximum of +18% at 1,000 Defense.
-
Resurgir Rifle 240Dynamo UnitLv.4: Potency +21%/ Critical Hit Rate +18% for 30 seconds after a successful Sidestep.
-
Foursis Rifle 242Bastion UnitLv.4: Potency +24%/ Creates a barrier that provides Damage Resistance +50% when at Max HP.
-
Test 999TestTest
-
Test 999TestTest
-
Test 999TestTest
+
Effect Name
+
+
Food Bost Effect
+
+
[Meat] Potency +10.0%
+
[Crisp] Potency to Weak Point +5.0%
+
+
+
Shifta / Deband
+
+
Potency +5.0%
+
Damage Resistance +10.0%
+
+
+
Region Mag Boost
+
+
Potency +5.0%
+
+
-
+
+
-
Food List
+
Equip
-
-
+
+
Weapons
1
+
Armor 1
+
Armor 2
+
Armor 3
-
-
+
+
+
Equipped Weapon
+
-
-
-
Rich Aelio Herb 177
+
Resurgir Rifle+40
+
+
1
+
2
+
3
+
4
+
5
+
6
+
+
+
+
Abilitiy Details
+
+
Potency +20%/ Critical Hit Rage +15% for 30 seconds after a successful sidestep