Compare commits
No commits in common. 'gh-pages' and 'master' have entirely different histories.
@ -0,0 +1,58 @@ |
|||||||
|
name: Build & deploy |
||||||
|
|
||||||
|
on: |
||||||
|
push: |
||||||
|
branches: |
||||||
|
- master |
||||||
|
pull_request: |
||||||
|
branches: |
||||||
|
- master |
||||||
|
|
||||||
|
jobs: |
||||||
|
build: |
||||||
|
name: Build |
||||||
|
runs-on: ubuntu-latest |
||||||
|
|
||||||
|
steps: |
||||||
|
- name: Checkout code |
||||||
|
uses: actions/checkout@v2 |
||||||
|
|
||||||
|
- name: Install Node.js |
||||||
|
uses: actions/setup-node@v1 |
||||||
|
with: |
||||||
|
node-version: 13.x |
||||||
|
|
||||||
|
- name: Install NPM packages |
||||||
|
run: npm ci |
||||||
|
|
||||||
|
- name: Build project |
||||||
|
run: npm run build |
||||||
|
|
||||||
|
- name: Run tests |
||||||
|
run: npm run test |
||||||
|
|
||||||
|
- name: Upload production-ready build files |
||||||
|
uses: actions/upload-artifact@v2 |
||||||
|
with: |
||||||
|
name: production-files |
||||||
|
path: ./build |
||||||
|
|
||||||
|
deploy: |
||||||
|
name: Deploy |
||||||
|
needs: build |
||||||
|
runs-on: ubuntu-latest |
||||||
|
if: github.ref == 'refs/heads/master' |
||||||
|
|
||||||
|
steps: |
||||||
|
- name: Download artifact |
||||||
|
uses: actions/download-artifact@v2 |
||||||
|
with: |
||||||
|
name: production-files |
||||||
|
path: ./build |
||||||
|
|
||||||
|
- name: Deploy to gh-pages |
||||||
|
uses: peaceiris/actions-gh-pages@v3 |
||||||
|
with: |
||||||
|
github_token: ${{ secrets.GITHUB_TOKEN }} |
||||||
|
publish_dir: ./build |
||||||
|
cname: ngsplanner.com |
@ -0,0 +1,28 @@ |
|||||||
|
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. |
||||||
|
|
||||||
|
# dependencies |
||||||
|
/node_modules |
||||||
|
/.pnp |
||||||
|
.pnp.js |
||||||
|
|
||||||
|
# testing |
||||||
|
/coverage |
||||||
|
|
||||||
|
# production |
||||||
|
/build |
||||||
|
|
||||||
|
# misc |
||||||
|
.DS_Store |
||||||
|
.env.local |
||||||
|
.env.development.local |
||||||
|
.env.test.local |
||||||
|
.env.production.local |
||||||
|
.env |
||||||
|
|
||||||
|
# Dudley's crap |
||||||
|
/public/test.html |
||||||
|
|
||||||
|
npm-debug.log* |
||||||
|
yarn-debug.log* |
||||||
|
yarn-error.log* |
||||||
|
.vscode/settings.json |
@ -0,0 +1,14 @@ |
|||||||
|
The backend can be run for local testing by loading a |
||||||
|
new docker-compose workspace provided by the projectdivar |
||||||
|
git repository. |
||||||
|
|
||||||
|
once loaded, you can seed the database using the seed files |
||||||
|
from the ngsplanner_backend repository. You can use the locally |
||||||
|
created .docker_terminal command to access the terminal of the |
||||||
|
projectdivar_postgres_1 instance. Finally, you need to |
||||||
|
add a .env file for your environment that includes: |
||||||
|
|
||||||
|
REACT_APP_BACKEND_URL=https://4501-scarlet-echidna-bpwfvar6.ws-us11.gitpod.io/ngsplanner |
||||||
|
|
||||||
|
Replacing the URL with the URL that points to the /server docker |
||||||
|
hosted backend. |
@ -0,0 +1,19 @@ |
|||||||
|
# NGS Planner |
||||||
|
|
||||||
|
![](https://ngsplanner.com/spinner.gif "") |
||||||
|
|
||||||
|
This tool was created for Phantasy Star Online 2: New Genesis. It is used to therorycraft builds and share them with other players! |
||||||
|
|
||||||
|
The goal of NGS Planner is be accurate, accessible, and shareable. |
||||||
|
|
||||||
|
### Contributors |
||||||
|
|
||||||
|
- Developer, Database Designer - [sigonasr2](https://twitter.com/sigonasr2) |
||||||
|
- UI & Game Consultant - [Dudley](https://twitter.com/dudleyc_) |
||||||
|
- Clutch Code Revision - [Mira](https://twitter.com/MiraWaNeko) |
||||||
|
- Background Artwork - [Patata-tan](https://twitter.com/PatataTan) |
||||||
|
|
||||||
|
### Resources Used: |
||||||
|
|
||||||
|
- [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) |
@ -1,26 +0,0 @@ |
|||||||
{ |
|
||||||
"files": { |
|
||||||
"main.css": "/static/css/main.db622843.chunk.css", |
|
||||||
"main.js": "/static/js/main.25745d1f.chunk.js", |
|
||||||
"main.js.map": "/static/js/main.25745d1f.chunk.js.map", |
|
||||||
"runtime-main.js": "/static/js/runtime-main.149b9349.js", |
|
||||||
"runtime-main.js.map": "/static/js/runtime-main.149b9349.js.map", |
|
||||||
"static/css/2.324513a4.chunk.css": "/static/css/2.324513a4.chunk.css", |
|
||||||
"static/js/2.089a168d.chunk.js": "/static/js/2.089a168d.chunk.js", |
|
||||||
"static/js/2.089a168d.chunk.js.map": "/static/js/2.089a168d.chunk.js.map", |
|
||||||
"static/js/3.2e231d4e.chunk.js": "/static/js/3.2e231d4e.chunk.js", |
|
||||||
"static/js/3.2e231d4e.chunk.js.map": "/static/js/3.2e231d4e.chunk.js.map", |
|
||||||
"index.html": "/index.html", |
|
||||||
"static/css/2.324513a4.chunk.css.map": "/static/css/2.324513a4.chunk.css.map", |
|
||||||
"static/css/main.db622843.chunk.css.map": "/static/css/main.db622843.chunk.css.map", |
|
||||||
"static/js/2.089a168d.chunk.js.LICENSE.txt": "/static/js/2.089a168d.chunk.js.LICENSE.txt", |
|
||||||
"static/media/style.css": "/static/media/skilltree_div_overlay.6d142e79.png" |
|
||||||
}, |
|
||||||
"entrypoints": [ |
|
||||||
"static/js/runtime-main.149b9349.js", |
|
||||||
"static/css/2.324513a4.chunk.css", |
|
||||||
"static/js/2.089a168d.chunk.js", |
|
||||||
"static/css/main.db622843.chunk.css", |
|
||||||
"static/js/main.25745d1f.chunk.js" |
|
||||||
] |
|
||||||
} |
|
@ -0,0 +1,51 @@ |
|||||||
|
function ClassSelectorWindow(p) { |
||||||
|
return <SelectorWindow title={(p.editClass)?"Select Sub Class":"Select Main Class"} modalOpen={p.modalOpen} setModalOpen={p.setModalOpen} GetData={p.GetData} |
||||||
|
dataFunction={() => { |
||||||
|
var dat1 = p.GetData("class") |
||||||
|
return Object.keys(dat1) |
||||||
|
} |
||||||
|
} |
||||||
|
displayFunction={(key) => { |
||||||
|
return <li className="classSelect" onClick={() => { if (p.editClass===0){p.setClassName(key)}else{p.setSubClassName(key)}; p.setModalOpen(false) }}><img alt="" src={DisplayIcon(p.GetData("class", key, "icon"))} /> {p.GetData("class", key, "name")}</li> |
||||||
|
}} |
||||||
|
/> |
||||||
|
} |
||||||
|
|
||||||
|
<ClassSelectorWindow setClassName={setClassName} editClass={classNameSetter} setSubClassName={setSubClassName} modalOpen={classSelectWindowOpen} setModalOpen={setClassSelectWindowOpen} GetData={p.GetData}/> |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div className="box treeSelectBox"> |
||||||
|
<div className="boxTitleBar"> |
||||||
|
<h1>Class Skill Tree</h1> |
||||||
|
<div className="boxExit" onClick={() => { setClassSkillTreeWindowOpen(false) }}></div> |
||||||
|
</div> |
||||||
|
<div className="treeListContainer customScrollbar"> |
||||||
|
<ul className="treeList"> |
||||||
|
{Object.keys(p.GetData("class")).map((cl)=><li className={className===cl?"treeListMain":subclassName===cl?"treeListSub":""}><img alt="" src={p.GetData("class")[cl].icon} />{cl}</li>)} |
||||||
|
</ul> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
function ClassSelector(p){ |
||||||
|
const CLASSES = p.GetData("class") |
||||||
|
const wrapperRef = useRef(null); |
||||||
|
useOutsideAlerter(wrapperRef,p.setEdit); |
||||||
|
return <><div className="popup2" ref={wrapperRef}> |
||||||
|
Class Selector<hr/> |
||||||
|
<div className="popup"> |
||||||
|
{Object.keys(CLASSES).map((cl,i)=>{ |
||||||
|
return <button id={i} className="rounded" onClick={()=>{p.setClassName(cl);p.setEdit(false)}}><img alt="" src={process.env.PUBLIC_URL+CLASSES[cl].icon}/><br/>{CLASSES[cl].name}</button> |
||||||
|
})} |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</> |
||||||
|
} |
@ -1 +0,0 @@ |
|||||||
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><meta property="og:title" content="NGS Planner"/><meta property="og:description" content="This tool was created for Phantasy Star Online 2: New Genesis. It is used to therorycraft builds and share them with other players!"/><meta property="og:image" content="https://camo.githubusercontent.com/c81ca9acb785cbcaf87cea415c3438c946acb821628c5a68ea53742c7a12ff39/68747470733a2f2f6e6773706c616e6e65722e636f6d2f7370696e6e65722e676966"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>NGS Planner</title><link href="/static/css/2.324513a4.chunk.css" rel="stylesheet"><link href="/static/css/main.db622843.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function r(r){for(var n,a,i=r[0],c=r[1],l=r[2],s=0,p=[];s<i.length;s++)a=i[s],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&p.push(o[a][0]),o[a]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);for(f&&f(r);p.length;)p.shift()();return u.push.apply(u,l||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,i=1;i<t.length;i++){var c=t[i];0!==o[c]&&(n=!1)}n&&(u.splice(r--,1),e=a(a.s=t[0]))}return e}var n={},o={1:0},u=[];function a(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,a),t.l=!0,t.exports}a.e=function(e){var r=[],t=o[e];if(0!==t)if(t)r.push(t[2]);else{var n=new Promise((function(r,n){t=o[e]=[r,n]}));r.push(t[2]=n);var u,i=document.createElement("script");i.charset="utf-8",i.timeout=120,a.nc&&i.setAttribute("nonce",a.nc),i.src=function(e){return a.p+"static/js/"+({}[e]||e)+"."+{3:"2e231d4e"}[e]+".chunk.js"}(e);var c=new Error;u=function(r){i.onerror=i.onload=null,clearTimeout(l);var t=o[e];if(0!==t){if(t){var n=r&&("load"===r.type?"missing":r.type),u=r&&r.target&&r.target.src;c.message="Loading chunk "+e+" failed.\n("+n+": "+u+")",c.name="ChunkLoadError",c.type=n,c.request=u,t[1](c)}o[e]=void 0}};var l=setTimeout((function(){u({type:"timeout",target:i})}),12e4);i.onerror=i.onload=u,document.head.appendChild(i)}return Promise.all(r)},a.m=e,a.c=n,a.d=function(e,r,t){a.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,r){if(1&r&&(e=a(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(a.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)a.d(t,n,function(r){return e[r]}.bind(null,n));return t},a.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(r,"a",r),r},a.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},a.p="/",a.oe=function(e){throw console.error(e),e};var i=this.webpackJsonpngsplanner=this.webpackJsonpngsplanner||[],c=i.push.bind(i);i.push=r,i=i.slice();for(var l=0;l<i.length;l++)r(i[l]);var f=c;t()}([])</script><script src="/static/js/2.089a168d.chunk.js"></script><script src="/static/js/main.25745d1f.chunk.js"></script></body></html> |
|
@ -0,0 +1,64 @@ |
|||||||
|
{ |
||||||
|
"homepage": "https://ngsplanner.com", |
||||||
|
"name": "ngsplanner", |
||||||
|
"version": "0.1.0", |
||||||
|
"private": true, |
||||||
|
"dependencies": { |
||||||
|
"@babel/core": "^7.14.6", |
||||||
|
"@testing-library/jest-dom": "^5.14.1", |
||||||
|
"@testing-library/react": "^11.2.7", |
||||||
|
"@testing-library/user-event": "^12.8.3", |
||||||
|
"axios": "^0.21.1", |
||||||
|
"cookie-handler": "^1.2.3", |
||||||
|
"csv-parse": "^4.16.0", |
||||||
|
"express": "^4.17.1", |
||||||
|
"gh-pages": "^3.2.3", |
||||||
|
"md5": "^2.3.0", |
||||||
|
"react": "^17.0.2", |
||||||
|
"react-bootstrap-icons": "^1.5.0", |
||||||
|
"react-dom": "^16.14.0", |
||||||
|
"react-global-key-down-hook": "^0.2.1", |
||||||
|
"react-google-login": "^5.2.2", |
||||||
|
"react-helmet": "^6.1.0", |
||||||
|
"react-modal": "^3.14.3", |
||||||
|
"react-placeholder": "^4.1.0", |
||||||
|
"react-placeholder-loading": "^0.5.25", |
||||||
|
"react-router": "^5.2.0", |
||||||
|
"react-router-dom": "^5.2.0", |
||||||
|
"react-router-hash-link": "^2.4.3", |
||||||
|
"react-scripts": "4.0.3", |
||||||
|
"react-toggle": "^4.1.2", |
||||||
|
"react-tooltip": "^4.2.21", |
||||||
|
"reactstrap": "^8.10.0", |
||||||
|
"request": "^2.79.0", |
||||||
|
"save": "^2.4.0", |
||||||
|
"typescript": "^4.4.3", |
||||||
|
"web-vitals": "^1.1.2" |
||||||
|
}, |
||||||
|
"scripts": { |
||||||
|
"start": "react-scripts start", |
||||||
|
"build": "react-scripts build", |
||||||
|
"test": "react-scripts test", |
||||||
|
"eject": "react-scripts eject", |
||||||
|
"predeploy": "npm run build", |
||||||
|
"deploy": "gh-pages -d build" |
||||||
|
}, |
||||||
|
"eslintConfig": { |
||||||
|
"extends": [ |
||||||
|
"react-app", |
||||||
|
"react-app/jest" |
||||||
|
] |
||||||
|
}, |
||||||
|
"browserslist": { |
||||||
|
"production": [ |
||||||
|
">0.2%", |
||||||
|
"not dead", |
||||||
|
"not op_mini all" |
||||||
|
], |
||||||
|
"development": [ |
||||||
|
"last 1 chrome version", |
||||||
|
"last 1 firefox version", |
||||||
|
"last 1 safari version" |
||||||
|
] |
||||||
|
} |
||||||
|
} |
@ -0,0 +1,236 @@ |
|||||||
|
CREATE TABLE "food_mult" ( |
||||||
|
"id" SERIAL UNIQUE PRIMARY KEY, |
||||||
|
"amount" int, |
||||||
|
"potency" float, |
||||||
|
"pp" int, |
||||||
|
"dmg_res" float, |
||||||
|
"hp" float, |
||||||
|
"pp_consumption" float, |
||||||
|
"pp_recovery" float, |
||||||
|
"weak_point_dmg" float, |
||||||
|
"hp_recovery" float |
||||||
|
); |
||||||
|
|
||||||
|
CREATE TABLE "food" ( |
||||||
|
"id" SERIAL UNIQUE PRIMARY KEY, |
||||||
|
"material" text, |
||||||
|
"potency" boolean, |
||||||
|
"pp" boolean, |
||||||
|
"dmg_res" boolean, |
||||||
|
"hp" boolean, |
||||||
|
"pp_consumption" boolean, |
||||||
|
"pp_recovery" boolean, |
||||||
|
"weak_point_dmg" boolean, |
||||||
|
"hp_recovery" boolean |
||||||
|
); |
||||||
|
|
||||||
|
CREATE TABLE "class" ( |
||||||
|
"id" SERIAL UNIQUE PRIMARY KEY, |
||||||
|
"name" text |
||||||
|
); |
||||||
|
|
||||||
|
CREATE TABLE "class_weapon_type_data" ( |
||||||
|
"class_id" int, |
||||||
|
"weapon_type_id" int |
||||||
|
); |
||||||
|
|
||||||
|
CREATE TABLE "class_level_data" ( |
||||||
|
"class_id" int, |
||||||
|
"level" int, |
||||||
|
"hp" int, |
||||||
|
"atk" int, |
||||||
|
"def" int |
||||||
|
); |
||||||
|
|
||||||
|
CREATE TABLE "weapon" ( |
||||||
|
"id" SERIAL UNIQUE PRIMARY KEY, |
||||||
|
"name" text, |
||||||
|
"rarity" int, |
||||||
|
"level_req" int, |
||||||
|
"atk" int, |
||||||
|
"potential_id" int, |
||||||
|
"variance" float, |
||||||
|
"base_affix_slots" int, |
||||||
|
"drop_info" text, |
||||||
|
"pb_gauge_build" float |
||||||
|
); |
||||||
|
|
||||||
|
CREATE TABLE "weapon_type" ( |
||||||
|
"id" SERIAL UNIQUE PRIMARY KEY, |
||||||
|
"name" text |
||||||
|
); |
||||||
|
|
||||||
|
CREATE TABLE "potential" ( |
||||||
|
"id" SERIAL UNIQUE PRIMARY KEY, |
||||||
|
"name" text |
||||||
|
); |
||||||
|
|
||||||
|
CREATE TABLE "potential_data" ( |
||||||
|
"potential_id" int, |
||||||
|
"level" int, |
||||||
|
"mel_dmg" float, |
||||||
|
"rng_dmg" float, |
||||||
|
"tec_dmg" float, |
||||||
|
"crit_rate" float, |
||||||
|
"crit_dmg" float, |
||||||
|
"pp_cost_reduction" float, |
||||||
|
"active_pp_recovery" float, |
||||||
|
"natural_pp_recovery" float, |
||||||
|
"dmg_res" float, |
||||||
|
"all_down_res" float, |
||||||
|
"burn_res" float, |
||||||
|
"freeze_res" float, |
||||||
|
"blind_res" float, |
||||||
|
"shock_res" float, |
||||||
|
"panic_res" float, |
||||||
|
"poison_res" float, |
||||||
|
"battle_power_value" int, |
||||||
|
"pb_gauge_build" float |
||||||
|
); |
||||||
|
|
||||||
|
CREATE TABLE "armor" ( |
||||||
|
"id" SERIAL UNIQUE PRIMARY KEY, |
||||||
|
"name" text, |
||||||
|
"rarity" int, |
||||||
|
"level_req" int, |
||||||
|
"def" int, |
||||||
|
"hp" int, |
||||||
|
"pp" int, |
||||||
|
"mel_dmg" float, |
||||||
|
"rng_dmg" float, |
||||||
|
"tec_dmg" float, |
||||||
|
"crit_rate" float, |
||||||
|
"crit_dmg" float, |
||||||
|
"pp_cost_reduction" float, |
||||||
|
"active_pp_recovery" float, |
||||||
|
"natural_pp_recovery" float, |
||||||
|
"dmg_res" float, |
||||||
|
"all_down_res" float, |
||||||
|
"burn_res" float, |
||||||
|
"freeze_res" float, |
||||||
|
"blind_res" float, |
||||||
|
"shock_res" float, |
||||||
|
"panic_res" float, |
||||||
|
"poison_res" float, |
||||||
|
"battle_power_value" int, |
||||||
|
"pb_gauge_build" float |
||||||
|
); |
||||||
|
|
||||||
|
CREATE TABLE "augment" ( |
||||||
|
"id" SERIAL UNIQUE PRIMARY KEY, |
||||||
|
"augment_type_id" int, |
||||||
|
"level" int, |
||||||
|
"variance" float, |
||||||
|
"hp" int, |
||||||
|
"pp" int, |
||||||
|
"mel_dmg" float, |
||||||
|
"rng_dmg" float, |
||||||
|
"tec_dmg" float, |
||||||
|
"crit_rate" float, |
||||||
|
"crit_dmg" float, |
||||||
|
"pp_cost_reduction" float, |
||||||
|
"active_pp_recovery" float, |
||||||
|
"natural_pp_recovery" float, |
||||||
|
"dmg_res" float, |
||||||
|
"affix_success_rate" float, |
||||||
|
"all_down_res" float, |
||||||
|
"burn_res" float, |
||||||
|
"freeze_res" float, |
||||||
|
"blind_res" float, |
||||||
|
"shock_res" float, |
||||||
|
"panic_res" float, |
||||||
|
"poison_res" float, |
||||||
|
"battle_power_value" int, |
||||||
|
"pb_gauge_build" float |
||||||
|
); |
||||||
|
|
||||||
|
CREATE TABLE "skill" ( |
||||||
|
"id" SERIAL UNIQUE PRIMARY KEY, |
||||||
|
"name" text, |
||||||
|
"skill_type_id" int |
||||||
|
); |
||||||
|
|
||||||
|
CREATE TABLE "skill_data" ( |
||||||
|
"skill_id" int, |
||||||
|
"level" int, |
||||||
|
"variance" float, |
||||||
|
"mel_dmg" float, |
||||||
|
"rng_dmg" float, |
||||||
|
"tec_dmg" float, |
||||||
|
"crit_rate" float, |
||||||
|
"crit_dmg" float, |
||||||
|
"pp_cost_reduction" float, |
||||||
|
"active_pp_recovery" float, |
||||||
|
"natural_pp_recovery" float, |
||||||
|
"dmg_res" float |
||||||
|
); |
||||||
|
|
||||||
|
CREATE TABLE "skill_type" ( |
||||||
|
"id" SERIAL UNIQUE PRIMARY KEY, |
||||||
|
"name" text |
||||||
|
); |
||||||
|
|
||||||
|
CREATE TABLE "users" ( |
||||||
|
"id" SERIAL PRIMARY KEY, |
||||||
|
"username" text UNIQUE, |
||||||
|
"email" text UNIQUE, |
||||||
|
"password_hash" text, |
||||||
|
"created_on" timestamptz, |
||||||
|
"role_id" int |
||||||
|
); |
||||||
|
|
||||||
|
CREATE TABLE "roles" ( |
||||||
|
"id" SERIAL UNIQUE PRIMARY KEY, |
||||||
|
"name" text |
||||||
|
); |
||||||
|
|
||||||
|
CREATE TABLE "builds" ( |
||||||
|
"id" SERIAL UNIQUE PRIMARY KEY, |
||||||
|
"user_id" int, |
||||||
|
"creator" text, |
||||||
|
"build_name" text, |
||||||
|
"class1" int, |
||||||
|
"class2" int, |
||||||
|
"created_on" timestamptz, |
||||||
|
"last_modified" timestamptz, |
||||||
|
"likes" int, |
||||||
|
"data" text |
||||||
|
); |
||||||
|
|
||||||
|
CREATE TABLE "weapon_existence_data" ( |
||||||
|
"weapon_type_id" int, |
||||||
|
"weapon_id" int |
||||||
|
); |
||||||
|
|
||||||
|
CREATE TABLE "augment_type" ( |
||||||
|
"id" SERIAL UNIQUE PRIMARY KEY, |
||||||
|
"name" text |
||||||
|
); |
||||||
|
|
||||||
|
ALTER TABLE "class_weapon_type_data" ADD FOREIGN KEY ("class_id") REFERENCES "class" ("id"); |
||||||
|
|
||||||
|
ALTER TABLE "class_level_data" ADD FOREIGN KEY ("class_id") REFERENCES "class" ("id"); |
||||||
|
|
||||||
|
ALTER TABLE "class_weapon_type_data" ADD FOREIGN KEY ("weapon_type_id") REFERENCES "weapon_type" ("id"); |
||||||
|
|
||||||
|
ALTER TABLE "weapon" ADD FOREIGN KEY ("potential_id") REFERENCES "potential" ("id"); |
||||||
|
|
||||||
|
ALTER TABLE "potential_data" ADD FOREIGN KEY ("potential_id") REFERENCES "potential" ("id"); |
||||||
|
|
||||||
|
ALTER TABLE "skill_data" ADD FOREIGN KEY ("skill_id") REFERENCES "skill" ("id"); |
||||||
|
|
||||||
|
ALTER TABLE "skill" ADD FOREIGN KEY ("skill_type_id") REFERENCES "skill_type" ("id"); |
||||||
|
|
||||||
|
ALTER TABLE "builds" ADD FOREIGN KEY ("user_id") REFERENCES "users" ("id"); |
||||||
|
|
||||||
|
ALTER TABLE "builds" ADD FOREIGN KEY ("class1") REFERENCES "class" ("id"); |
||||||
|
|
||||||
|
ALTER TABLE "builds" ADD FOREIGN KEY ("class2") REFERENCES "class" ("id"); |
||||||
|
|
||||||
|
ALTER TABLE "users" ADD FOREIGN KEY ("role_id") REFERENCES "roles" ("id"); |
||||||
|
|
||||||
|
ALTER TABLE "weapon_existence_data" ADD FOREIGN KEY ("weapon_id") REFERENCES "weapon" ("id"); |
||||||
|
|
||||||
|
ALTER TABLE "weapon_existence_data" ADD FOREIGN KEY ("weapon_type_id") REFERENCES "weapon_type" ("id"); |
||||||
|
|
||||||
|
ALTER TABLE "augment" ADD FOREIGN KEY ("augment_type_id") REFERENCES "augment_type" ("id"); |
@ -0,0 +1,218 @@ |
|||||||
|
delete from food_mult;
delete from food;
delete from armor;
delete from augment; |
||||||
|
delete from augment_type;
delete from skill_data;
delete from skill;
delete from skill_type;
delete from builds;
delete from users;
delete from roles; |
||||||
|
delete from weapon_existence_data;
delete from class_weapon_type_data;
delete from class_level_data;
delete from potential_data;
delete from weapon;
delete from weapon_type;
delete from class;
delete from potential;
|
||||||
|
insert into food_mult(amount,potency,pp,dmg_res,hp,pp_consumption,pp_recovery,weak_point_dmg,hp_recovery) |
||||||
|
values(0,1,0,1,1,1,1,1,1); |
||||||
|
insert into food_mult(amount,potency,pp,dmg_res,hp,pp_consumption,pp_recovery,weak_point_dmg,hp_recovery) |
||||||
|
values(1,1.05,10,1.05,1.05,1,1,1,1); |
||||||
|
|
||||||
|
insert into food(material,potency,pp,dmg_res,hp,pp_consumption,pp_recovery,weak_point_dmg,hp_recovery) |
||||||
|
values('Rich Aelio Meat',true,false,false,false,true,false,false,false); |
||||||
|
insert into food(material,potency,pp,dmg_res,hp,pp_consumption,pp_recovery,weak_point_dmg,hp_recovery) |
||||||
|
values('Light Aelio Meat',true,false,false,false,false,true,false,false); |
||||||
|
|
||||||
|
insert into class(name) values('Hunter'); |
||||||
|
insert into class(name) values('Fighter'); |
||||||
|
insert into class(name) values('Ranger'); |
||||||
|
insert into class(name) values('Gunner'); |
||||||
|
insert into class(name) values('Force'); |
||||||
|
insert into class(name) values('Techter'); |
||||||
|
|
||||||
|
insert into weapon_type(name) values('Sword'); |
||||||
|
insert into weapon_type(name) values('Spear'); |
||||||
|
insert into weapon_type(name) values('Wired Lance'); |
||||||
|
insert into weapon_type(name) values('Twin Dagger'); |
||||||
|
insert into weapon_type(name) values('Double Saber'); |
||||||
|
insert into weapon_type(name) values('Knuckles'); |
||||||
|
insert into weapon_type(name) values('Assault Rifle'); |
||||||
|
insert into weapon_type(name) values('Launcher'); |
||||||
|
insert into weapon_type(name) values('Twin Machine Guns'); |
||||||
|
insert into weapon_type(name) values('Rod'); |
||||||
|
insert into weapon_type(name) values('Talis'); |
||||||
|
insert into weapon_type(name) values('Wand'); |
||||||
|
insert into weapon_type(name) values('Legacy'); |
||||||
|
|
||||||
|
insert into potential(name) values('Recycler Unit'); |
||||||
|
insert into potential(name) values('Indomitable Unit'); |
||||||
|
insert into potential(name) values('Defensive Formation'); |
||||||
|
insert into potential(name) values('Offensive Formation'); |
||||||
|
insert into potential(name) values('Bastion Unit'); |
||||||
|
insert into potential(name) values('Meditation Unit'); |
||||||
|
insert into potential(name) values('Mustered Might Unit'); |
||||||
|
insert into potential(name) values('Dynamo Unit'); |
||||||
|
insert into potential(name) values('Berserk Unit'); |
||||||
|
insert into potential(name) values('Wellspring Unit'); |
||||||
|
insert into potential(name) values('Endurance Unit'); |
||||||
|
|
||||||
|
insert into class_level_data(class_id,level,hp,atk,def) |
||||||
|
values((SELECT id from class WHERE name='Hunter'),1,300,450,304); |
||||||
|
insert into class_level_data(class_id,level,hp,atk,def) |
||||||
|
values((SELECT id from class WHERE name='Hunter'),2,303,459,309); |
||||||
|
insert into class_level_data(class_id,level,hp,atk,def) |
||||||
|
values((SELECT id from class WHERE name='Fighter'),1,280,454,301); |
||||||
|
insert into class_level_data(class_id,level,hp,atk,def) |
||||||
|
values((SELECT id from class WHERE name='Ranger'),1,240,448,300); |
||||||
|
|
||||||
|
insert into class_weapon_type_data(class_id,weapon_type_id) |
||||||
|
values((SELECT id from class WHERE name='Hunter'),(SELECT id from weapon_type WHERE name='Sword')); |
||||||
|
insert into class_weapon_type_data(class_id,weapon_type_id) |
||||||
|
values((SELECT id from class WHERE name='Hunter'),(SELECT id from weapon_type WHERE name='Spear')); |
||||||
|
insert into class_weapon_type_data(class_id,weapon_type_id) |
||||||
|
values((SELECT id from class WHERE name='Hunter'),(SELECT id from weapon_type WHERE name='Wired Lance')); |
||||||
|
insert into class_weapon_type_data(class_id,weapon_type_id) |
||||||
|
values((SELECT id from class WHERE name='Fighter'),(SELECT id from weapon_type WHERE name='Twin Dagger')); |
||||||
|
insert into class_weapon_type_data(class_id,weapon_type_id) |
||||||
|
values((SELECT id from class WHERE name='Fighter'),(SELECT id from weapon_type WHERE name='Double Saber')); |
||||||
|
insert into class_weapon_type_data(class_id,weapon_type_id) |
||||||
|
values((SELECT id from class WHERE name='Fighter'),(SELECT id from weapon_type WHERE name='Knuckles')); |
||||||
|
|
||||||
|
insert into weapon(name,rarity,level_req,atk,potential_id,variance,base_affix_slots,drop_info,pb_gauge_build) |
||||||
|
values('Primm',1,1,177,(select id from potential where name='Recycler Unit'),0.7,2,'Central City Item Shop, Common Drop',0); |
||||||
|
insert into weapon(name,rarity,level_req,atk,potential_id,variance,base_affix_slots,drop_info,pb_gauge_build) |
||||||
|
values('Tzvia',2,4,195,(select id from potential where name='Indomitable Unit'),0.7,2,'Central City Item Shop, Common Drop',0); |
||||||
|
|
||||||
|
insert into potential_data(potential_id,level,mel_dmg,rng_dmg,tec_dmg,crit_rate,crit_dmg,pp_cost_reduction,active_pp_recovery,natural_pp_recovery,dmg_res,all_down_res,burn_res,freeze_res,blind_res,shock_res,panic_res,poison_res,battle_power_value,pb_gauge_build) |
||||||
|
values((select id from potential where name='Recycler Unit'),1,1.18,1.18,1.18,0,0,0,0,0,0,0,0,0,0,0,0,0,10,0); |
||||||
|
insert into potential_data(potential_id,level,mel_dmg,rng_dmg,tec_dmg,crit_rate,crit_dmg,pp_cost_reduction,active_pp_recovery,natural_pp_recovery,dmg_res,all_down_res,burn_res,freeze_res,blind_res,shock_res,panic_res,poison_res,battle_power_value,pb_gauge_build) |
||||||
|
values((select id from potential where name='Recycler Unit'),2,1.20,1.20,1.20,0,0,0,0,0,0,0,0,0,0,0,0,0,20,0); |
||||||
|
insert into potential_data(potential_id,level,mel_dmg,rng_dmg,tec_dmg,crit_rate,crit_dmg,pp_cost_reduction,active_pp_recovery,natural_pp_recovery,dmg_res,all_down_res,burn_res,freeze_res,blind_res,shock_res,panic_res,poison_res,battle_power_value,pb_gauge_build) |
||||||
|
values((select id from potential where name='Indomitable Unit'),1,1.18,1.18,1.18,0,0,0,0,0,0,1.10,0,0,0,0,0,0,10,0); |
||||||
|
|
||||||
|
insert into weapon_existence_data(weapon_type_id,weapon_id) |
||||||
|
values((select id from weapon_type where name='Sword'),(select id from weapon where name='Primm')); |
||||||
|
insert into weapon_existence_data(weapon_type_id,weapon_id) |
||||||
|
values((select id from weapon_type where name='Spear'),(select id from weapon where name='Primm')); |
||||||
|
insert into weapon_existence_data(weapon_type_id,weapon_id) |
||||||
|
values((select id from weapon_type where name='Wired Lance'),(select id from weapon where name='Primm')); |
||||||
|
insert into weapon_existence_data(weapon_type_id,weapon_id) |
||||||
|
values((select id from weapon_type where name='Twin Dagger'),(select id from weapon where name='Primm')); |
||||||
|
insert into weapon_existence_data(weapon_type_id,weapon_id) |
||||||
|
values((select id from weapon_type where name='Double Saber'),(select id from weapon where name='Primm')); |
||||||
|
insert into weapon_existence_data(weapon_type_id,weapon_id) |
||||||
|
values((select id from weapon_type where name='Knuckles'),(select id from weapon where name='Primm')); |
||||||
|
insert into weapon_existence_data(weapon_type_id,weapon_id) |
||||||
|
values((select id from weapon_type where name='Assault Rifle'),(select id from weapon where name='Primm')); |
||||||
|
insert into weapon_existence_data(weapon_type_id,weapon_id) |
||||||
|
values((select id from weapon_type where name='Launcher'),(select id from weapon where name='Primm')); |
||||||
|
insert into weapon_existence_data(weapon_type_id,weapon_id) |
||||||
|
values((select id from weapon_type where name='Twin Machine Guns'),(select id from weapon where name='Primm')); |
||||||
|
insert into weapon_existence_data(weapon_type_id,weapon_id) |
||||||
|
values((select id from weapon_type where name='Rod'),(select id from weapon where name='Primm')); |
||||||
|
insert into weapon_existence_data(weapon_type_id,weapon_id) |
||||||
|
values((select id from weapon_type where name='Talis'),(select id from weapon where name='Primm')); |
||||||
|
insert into weapon_existence_data(weapon_type_id,weapon_id) |
||||||
|
values((select id from weapon_type where name='Wand'),(select id from weapon where name='Primm')); |
||||||
|
insert into weapon_existence_data(weapon_type_id,weapon_id) |
||||||
|
values((select id from weapon_type where name='Sword'),(select id from weapon where name='Tzvia')); |
||||||
|
insert into weapon_existence_data(weapon_type_id,weapon_id) |
||||||
|
values((select id from weapon_type where name='Spear'),(select id from weapon where name='Tzvia')); |
||||||
|
insert into weapon_existence_data(weapon_type_id,weapon_id) |
||||||
|
values((select id from weapon_type where name='Wired Lance'),(select id from weapon where name='Tzvia')); |
||||||
|
insert into weapon_existence_data(weapon_type_id,weapon_id) |
||||||
|
values((select id from weapon_type where name='Twin Dagger'),(select id from weapon where name='Tzvia')); |
||||||
|
insert into weapon_existence_data(weapon_type_id,weapon_id) |
||||||
|
values((select id from weapon_type where name='Double Saber'),(select id from weapon where name='Tzvia')); |
||||||
|
insert into weapon_existence_data(weapon_type_id,weapon_id) |
||||||
|
values((select id from weapon_type where name='Knuckles'),(select id from weapon where name='Tzvia')); |
||||||
|
insert into weapon_existence_data(weapon_type_id,weapon_id) |
||||||
|
values((select id from weapon_type where name='Assault Rifle'),(select id from weapon where name='Tzvia')); |
||||||
|
insert into weapon_existence_data(weapon_type_id,weapon_id) |
||||||
|
values((select id from weapon_type where name='Launcher'),(select id from weapon where name='Tzvia')); |
||||||
|
insert into weapon_existence_data(weapon_type_id,weapon_id) |
||||||
|
values((select id from weapon_type where name='Twin Machine Guns'),(select id from weapon where name='Tzvia')); |
||||||
|
insert into weapon_existence_data(weapon_type_id,weapon_id) |
||||||
|
values((select id from weapon_type where name='Rod'),(select id from weapon where name='Tzvia')); |
||||||
|
insert into weapon_existence_data(weapon_type_id,weapon_id) |
||||||
|
values((select id from weapon_type where name='Talis'),(select id from weapon where name='Tzvia')); |
||||||
|
insert into weapon_existence_data(weapon_type_id,weapon_id) |
||||||
|
values((select id from weapon_type where name='Wand'),(select id from weapon where name='Tzvia')); |
||||||
|
|
||||||
|
|
||||||
|
insert into roles(name) |
||||||
|
values('Administrator'); |
||||||
|
insert into roles(name) |
||||||
|
values('Editor'); |
||||||
|
insert into roles(name) |
||||||
|
values('Guest'); |
||||||
|
|
||||||
|
insert into users(username,email,password_hash,created_on,role_id) |
||||||
|
values('sigonasr2','sigonasr2@gmail.com','ABCDEFG','2021-07-13 04:30+00',(select id from roles where name='Administrator')); |
||||||
|
insert into users(username,email,password_hash,created_on,role_id) |
||||||
|
values('sigonasr3','sigonasr3@gmail.com','ABCDEF','2021-07-14 05:30+00',(select id from roles where name='Editor')); |
||||||
|
|
||||||
|
insert into builds(user_id,creator,build_name,class1,class2,created_on,last_modified,likes,data) |
||||||
|
values((select id from users where username='sigonasr2'),'sigonasr2','Test Build',(select id from class where name='Ranger'),(select id from class where name='Force'),'2021-07-13 04:30+00','2021-07-13 04:30+00',5,'<DATA STRING>'); |
||||||
|
insert into builds(user_id,creator,build_name,class1,class2,created_on,last_modified,likes,data) |
||||||
|
values((select id from users where username='sigonasr3'),'sigonasr3','Test Build2',(select id from class where name='Techter'),(select id from class where name='Fighter'),'2021-07-13 06:30+00','2021-07-13 07:30+00',27,'<DATA STRING>'); |
||||||
|
|
||||||
|
insert into skill_type(name) |
||||||
|
values('Weapon'); |
||||||
|
insert into skill_type(name) |
||||||
|
values('Armor'); |
||||||
|
|
||||||
|
insert into skill(name,skill_type_id) |
||||||
|
values('Fixa Attack',(select id from skill_type where name='Weapon')); |
||||||
|
insert into skill(name,skill_type_id) |
||||||
|
values('Fixa Guard',(select id from skill_type where name='Armor')); |
||||||
|
insert into skill(name,skill_type_id) |
||||||
|
values('Fixa Termina',(select id from skill_type where name='Weapon')); |
||||||
|
|
||||||
|
insert into skill_data(skill_id,level,variance,mel_dmg,rng_dmg,tec_dmg,crit_rate,crit_dmg,pp_cost_reduction,active_pp_recovery,natural_pp_recovery,dmg_res) |
||||||
|
values((select id from skill where name='Fixa Attack'),1,0,1.02,1.02,1.02,0,0,0,0,0,0); |
||||||
|
insert into skill_data(skill_id,level,variance,mel_dmg,rng_dmg,tec_dmg,crit_rate,crit_dmg,pp_cost_reduction,active_pp_recovery,natural_pp_recovery,dmg_res) |
||||||
|
values((select id from skill where name='Fixa Attack'),2,0,1.03,1.03,1.03,0,0,0,0,0,0); |
||||||
|
insert into skill_data(skill_id,level,variance,mel_dmg,rng_dmg,tec_dmg,crit_rate,crit_dmg,pp_cost_reduction,active_pp_recovery,natural_pp_recovery,dmg_res) |
||||||
|
values((select id from skill where name='Fixa Attack'),3,0,1.04,1.04,1.04,0,0,0,0,0,0); |
||||||
|
insert into skill_data(skill_id,level,variance,mel_dmg,rng_dmg,tec_dmg,crit_rate,crit_dmg,pp_cost_reduction,active_pp_recovery,natural_pp_recovery,dmg_res) |
||||||
|
values((select id from skill where name='Fixa Guard'),1,0,0,0,0,0,0,0,0,0,1.01); |
||||||
|
insert into skill_data(skill_id,level,variance,mel_dmg,rng_dmg,tec_dmg,crit_rate,crit_dmg,pp_cost_reduction,active_pp_recovery,natural_pp_recovery,dmg_res) |
||||||
|
values((select id from skill where name='Fixa Guard'),2,0,0,0,0,0,0,0,0,0,1.02); |
||||||
|
insert into skill_data(skill_id,level,variance,mel_dmg,rng_dmg,tec_dmg,crit_rate,crit_dmg,pp_cost_reduction,active_pp_recovery,natural_pp_recovery,dmg_res) |
||||||
|
values((select id from skill where name='Fixa Guard'),3,0,0,0,0,0,0,0,0,0,1.03); |
||||||
|
insert into skill_data(skill_id,level,variance,mel_dmg,rng_dmg,tec_dmg,crit_rate,crit_dmg,pp_cost_reduction,active_pp_recovery,natural_pp_recovery,dmg_res) |
||||||
|
values((select id from skill where name='Fixa Termina'),1,0,0,0,0,0,1.05,0,0,0,0); |
||||||
|
insert into skill_data(skill_id,level,variance,mel_dmg,rng_dmg,tec_dmg,crit_rate,crit_dmg,pp_cost_reduction,active_pp_recovery,natural_pp_recovery,dmg_res) |
||||||
|
values((select id from skill where name='Fixa Termina'),2,0,0,0,0,0,1.08,0,0,0,0); |
||||||
|
insert into skill_data(skill_id,level,variance,mel_dmg,rng_dmg,tec_dmg,crit_rate,crit_dmg,pp_cost_reduction,active_pp_recovery,natural_pp_recovery,dmg_res) |
||||||
|
values((select id from skill where name='Fixa Termina'),3,0,0,0,0,0,1.10,0,0,0,0); |
||||||
|
|
||||||
|
insert into augment_type(name) |
||||||
|
values('Stamina'); |
||||||
|
insert into augment_type(name) |
||||||
|
values('Spirit'); |
||||||
|
insert into augment_type(name) |
||||||
|
values('Might'); |
||||||
|
insert into augment_type(name) |
||||||
|
values('Precision'); |
||||||
|
|
||||||
|
insert into augment(augment_type_id,level,variance,hp,pp,mel_dmg,rng_dmg,tec_dmg,crit_rate,crit_dmg,pp_cost_reduction,active_pp_recovery,natural_pp_recovery,dmg_res,affix_success_rate,all_down_res,burn_res,freeze_res,blind_res,shock_res,panic_res,poison_res,battle_power_value,pb_gauge_build) |
||||||
|
values((select id from augment_type where name='Stamina'),1,0,5,0,0,0,0,0,0,0,0,0,0,0.1,0,0,0,0,0,0,0,3,0); |
||||||
|
insert into augment(augment_type_id,level,variance,hp,pp,mel_dmg,rng_dmg,tec_dmg,crit_rate,crit_dmg,pp_cost_reduction,active_pp_recovery,natural_pp_recovery,dmg_res,affix_success_rate,all_down_res,burn_res,freeze_res,blind_res,shock_res,panic_res,poison_res,battle_power_value,pb_gauge_build) |
||||||
|
values((select id from augment_type where name='Stamina'),2,0,10,0,0,0,0,0,0,0,0,0,0,0.1,0,0,0,0,0,0,0,4,0); |
||||||
|
insert into augment(augment_type_id,level,variance,hp,pp,mel_dmg,rng_dmg,tec_dmg,crit_rate,crit_dmg,pp_cost_reduction,active_pp_recovery,natural_pp_recovery,dmg_res,affix_success_rate,all_down_res,burn_res,freeze_res,blind_res,shock_res,panic_res,poison_res,battle_power_value,pb_gauge_build) |
||||||
|
values((select id from augment_type where name='Stamina'),3,0,15,0,0,0,0,0,0,0,0,0,0,0.09,0,0,0,0,0,0,0,5,0); |
||||||
|
insert into augment(augment_type_id,level,variance,hp,pp,mel_dmg,rng_dmg,tec_dmg,crit_rate,crit_dmg,pp_cost_reduction,active_pp_recovery,natural_pp_recovery,dmg_res,affix_success_rate,all_down_res,burn_res,freeze_res,blind_res,shock_res,panic_res,poison_res,battle_power_value,pb_gauge_build) |
||||||
|
values((select id from augment_type where name='Spirit'),1,0,0,3,0,0,0,0,0,0,0,0,0,0.1,0,0,0,0,0,0,0,2,0); |
||||||
|
insert into augment(augment_type_id,level,variance,hp,pp,mel_dmg,rng_dmg,tec_dmg,crit_rate,crit_dmg,pp_cost_reduction,active_pp_recovery,natural_pp_recovery,dmg_res,affix_success_rate,all_down_res,burn_res,freeze_res,blind_res,shock_res,panic_res,poison_res,battle_power_value,pb_gauge_build) |
||||||
|
values((select id from augment_type where name='Spirit'),2,0,0,4,0,0,0,0,0,0,0,0,0,0.1,0,0,0,0,0,0,0,3,0); |
||||||
|
insert into augment(augment_type_id,level,variance,hp,pp,mel_dmg,rng_dmg,tec_dmg,crit_rate,crit_dmg,pp_cost_reduction,active_pp_recovery,natural_pp_recovery,dmg_res,affix_success_rate,all_down_res,burn_res,freeze_res,blind_res,shock_res,panic_res,poison_res,battle_power_value,pb_gauge_build) |
||||||
|
values((select id from augment_type where name='Spirit'),3,0,0,5,0,0,0,0,0,0,0,0,0,0.09,0,0,0,0,0,0,0,4,0); |
||||||
|
insert into augment(augment_type_id,level,variance,hp,pp,mel_dmg,rng_dmg,tec_dmg,crit_rate,crit_dmg,pp_cost_reduction,active_pp_recovery,natural_pp_recovery,dmg_res,affix_success_rate,all_down_res,burn_res,freeze_res,blind_res,shock_res,panic_res,poison_res,battle_power_value,pb_gauge_build) |
||||||
|
values((select id from augment_type where name='Might'),1,0,0,0,1.01,0,0,0,0,0,0,0,0,0.1,0,0,0,0,0,0,0,4,0); |
||||||
|
insert into augment(augment_type_id,level,variance,hp,pp,mel_dmg,rng_dmg,tec_dmg,crit_rate,crit_dmg,pp_cost_reduction,active_pp_recovery,natural_pp_recovery,dmg_res,affix_success_rate,all_down_res,burn_res,freeze_res,blind_res,shock_res,panic_res,poison_res,battle_power_value,pb_gauge_build) |
||||||
|
values((select id from augment_type where name='Might'),2,0,0,0,1.015,0,0,0,0,0,0,0,0,0.1,0,0,0,0,0,0,0,5,0); |
||||||
|
insert into augment(augment_type_id,level,variance,hp,pp,mel_dmg,rng_dmg,tec_dmg,crit_rate,crit_dmg,pp_cost_reduction,active_pp_recovery,natural_pp_recovery,dmg_res,affix_success_rate,all_down_res,burn_res,freeze_res,blind_res,shock_res,panic_res,poison_res,battle_power_value,pb_gauge_build) |
||||||
|
values((select id from augment_type where name='Might'),3,0,0,0,1.02,0,0,0,0,0,0,0,0,0.09,0,0,0,0,0,0,0,6,0); |
||||||
|
insert into augment(augment_type_id,level,variance,hp,pp,mel_dmg,rng_dmg,tec_dmg,crit_rate,crit_dmg,pp_cost_reduction,active_pp_recovery,natural_pp_recovery,dmg_res,affix_success_rate,all_down_res,burn_res,freeze_res,blind_res,shock_res,panic_res,poison_res,battle_power_value,pb_gauge_build) |
||||||
|
values((select id from augment_type where name='Precision'),1,0,0,0,0,1.01,0,0,0,0,0,0,0,0.1,0,0,0,0,0,0,0,4,0); |
||||||
|
insert into augment(augment_type_id,level,variance,hp,pp,mel_dmg,rng_dmg,tec_dmg,crit_rate,crit_dmg,pp_cost_reduction,active_pp_recovery,natural_pp_recovery,dmg_res,affix_success_rate,all_down_res,burn_res,freeze_res,blind_res,shock_res,panic_res,poison_res,battle_power_value,pb_gauge_build) |
||||||
|
values((select id from augment_type where name='Precision'),2,0,0,0,0,1.015,0,0,0,0,0,0,0,0.1,0,0,0,0,0,0,0,5,0); |
||||||
|
insert into augment(augment_type_id,level,variance,hp,pp,mel_dmg,rng_dmg,tec_dmg,crit_rate,crit_dmg,pp_cost_reduction,active_pp_recovery,natural_pp_recovery,dmg_res,affix_success_rate,all_down_res,burn_res,freeze_res,blind_res,shock_res,panic_res,poison_res,battle_power_value,pb_gauge_build) |
||||||
|
values((select id from augment_type where name='Precision'),3,0,0,0,0,1.02,0,0,0,0,0,0,0,0.09,0,0,0,0,0,0,0,6,0); |
||||||
|
|
||||||
|
insert into armor(name,rarity,level_req,def,hp,pp,mel_dmg,rng_dmg,tec_dmg,crit_rate,crit_dmg,pp_cost_reduction,active_pp_recovery,natural_pp_recovery,dmg_res,all_down_res,burn_res,freeze_res,blind_res,shock_res,panic_res,poison_res,battle_power_value,pb_gauge_build) |
||||||
|
values('Primm Armor',1,1,8,10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0); |
||||||
|
insert into armor(name,rarity,level_req,def,hp,pp,mel_dmg,rng_dmg,tec_dmg,crit_rate,crit_dmg,pp_cost_reduction,active_pp_recovery,natural_pp_recovery,dmg_res,all_down_res,burn_res,freeze_res,blind_res,shock_res,panic_res,poison_res,battle_power_value,pb_gauge_build) |
||||||
|
values('Tzvia Armor',2,1,9,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.2,0); |
||||||
|
insert into armor(name,rarity,level_req,def,hp,pp,mel_dmg,rng_dmg,tec_dmg,crit_rate,crit_dmg,pp_cost_reduction,active_pp_recovery,natural_pp_recovery,dmg_res,all_down_res,burn_res,freeze_res,blind_res,shock_res,panic_res,poison_res,battle_power_value,pb_gauge_build) |
||||||
|
values('Theseus Armor',3,5,10,10,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1.1,0); |
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 6.1 KiB |
Before Width: | Height: | Size: 9.3 KiB After Width: | Height: | Size: 9.3 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 7.8 KiB After Width: | Height: | Size: 7.8 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 9.3 KiB After Width: | Height: | Size: 9.3 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 5.9 KiB After Width: | Height: | Size: 5.9 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 312 B After Width: | Height: | Size: 312 B |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 357 B After Width: | Height: | Size: 357 B |
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 6.0 KiB |
Before Width: | Height: | Size: 346 B After Width: | Height: | Size: 346 B |
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 6.0 KiB |
Before Width: | Height: | Size: 413 B After Width: | Height: | Size: 413 B |
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 5.8 KiB |
Before Width: | Height: | Size: 579 B After Width: | Height: | Size: 579 B |
Before Width: | Height: | Size: 367 B After Width: | Height: | Size: 367 B |
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 5.8 KiB |
Before Width: | Height: | Size: 363 B After Width: | Height: | Size: 363 B |
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 6.1 KiB |
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 6.0 KiB |
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 6.0 KiB |
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 6.0 KiB |
Before Width: | Height: | Size: 249 B After Width: | Height: | Size: 249 B |
Before Width: | Height: | Size: 270 B After Width: | Height: | Size: 270 B |
Before Width: | Height: | Size: 268 B After Width: | Height: | Size: 268 B |
Before Width: | Height: | Size: 273 B After Width: | Height: | Size: 273 B |
Before Width: | Height: | Size: 523 B After Width: | Height: | Size: 523 B |
Before Width: | Height: | Size: 157 B After Width: | Height: | Size: 157 B |
Before Width: | Height: | Size: 157 B After Width: | Height: | Size: 157 B |
Before Width: | Height: | Size: 755 B After Width: | Height: | Size: 755 B |
Before Width: | Height: | Size: 281 B After Width: | Height: | Size: 281 B |
Before Width: | Height: | Size: 119 B After Width: | Height: | Size: 119 B |
Before Width: | Height: | Size: 215 B After Width: | Height: | Size: 215 B |
Before Width: | Height: | Size: 128 B After Width: | Height: | Size: 128 B |
Before Width: | Height: | Size: 116 B After Width: | Height: | Size: 116 B |
Before Width: | Height: | Size: 118 B After Width: | Height: | Size: 118 B |
Before Width: | Height: | Size: 197 B After Width: | Height: | Size: 197 B |
Before Width: | Height: | Size: 436 B After Width: | Height: | Size: 436 B |
Before Width: | Height: | Size: 394 B After Width: | Height: | Size: 394 B |
Before Width: | Height: | Size: 658 B After Width: | Height: | Size: 658 B |
Before Width: | Height: | Size: 677 B After Width: | Height: | Size: 677 B |
Before Width: | Height: | Size: 281 B After Width: | Height: | Size: 281 B |
Before Width: | Height: | Size: 119 B After Width: | Height: | Size: 119 B |
Before Width: | Height: | Size: 215 B After Width: | Height: | Size: 215 B |
Before Width: | Height: | Size: 128 B After Width: | Height: | Size: 128 B |
Before Width: | Height: | Size: 116 B After Width: | Height: | Size: 116 B |
Before Width: | Height: | Size: 118 B After Width: | Height: | Size: 118 B |
Before Width: | Height: | Size: 197 B After Width: | Height: | Size: 197 B |
Before Width: | Height: | Size: 753 B After Width: | Height: | Size: 753 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 733 B After Width: | Height: | Size: 733 B |
Before Width: | Height: | Size: 418 KiB After Width: | Height: | Size: 418 KiB |
Before Width: | Height: | Size: 215 B After Width: | Height: | Size: 215 B |
Before Width: | Height: | Size: 59 KiB After Width: | Height: | Size: 59 KiB |
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 42 KiB |
Before Width: | Height: | Size: 53 KiB After Width: | Height: | Size: 53 KiB |
Before Width: | Height: | Size: 53 KiB After Width: | Height: | Size: 53 KiB |
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 6.1 KiB |
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 47 KiB |
Before Width: | Height: | Size: 69 KiB After Width: | Height: | Size: 69 KiB |
Before Width: | Height: | Size: 61 KiB After Width: | Height: | Size: 61 KiB |
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 5.8 KiB |
Before Width: | Height: | Size: 63 KiB After Width: | Height: | Size: 63 KiB |