rop2e-db
TypeScript icon, indicating that this package has built-in type declarations

1.0.33 • Public • Published

Codecov Coverage

Ragnarok P2E Module(s).

Usage

import { GetHairStyles } from 'rop2e-db';

GetHairStyles();
# returns 'All HairStyle(s)'

GetHairStyles(2);
# returns 'A specific HairStyle data of HairStyle No.2'
import { GetClassesSkill } from 'rop2e-db';

GetClassesSkill();
# returns 'All Skill(s) of All Classes'

GetClassesSkill(`NV`);
# returns 'A Skill(s) List of a Class [ NV = Novice ]'

----- Novice / 1st Class -----
 0 Novice (NV)             1 Swordman (SM)          2 Magician (MG)           3 Archer (AC)
 4 Acolyte (AL)             5 Merchant (MC)              6 Thief (TF)
----- 2nd Class -----
 7 Knight (KN)              8 Priest (PR)                    9 Wizard (WZ)              10 Blacksmith (BS)
 11 Hunter (HT)          12 Assassin (AS)           14 Crusader (CR)         15 Monk (MO)
 16 Sage  (SA)            17 Rogue (RG)                18 Alchemist (AM)        19 Bard (BA)
 20 Dancer (DC)
import { GetSkills } from 'rop2e-db';

GetSkills();
# returns 'All Skill(s)'

GetSkills(1);
# returns 'A specific detail of SkillID: 1'
import { calculateStatusPoints } from 'rop2e-db';

calculateStatusPoints({ base_level: 99, agi: 79, str: 1, vit: 1, dex: 1, int: 1, luk: 1 })
# returns 'Remaining Status_Point(s) gained based on "base_level" but already spent on "agi, str, vit, dex, int, luk"'
# ''ex. response: {
  base_level: 99,
  agi: 79,
  str: 1,
  vit: 1,
  dex: 1,
  int: 1,
  luk: 1,
  remaining: 851
}''
import { GetSavePoints } from 'rop2e-db';

GetSavePoints();
# returns 'Array of Save Point(s)"'
# ''ex. response: [ 
  { map: 'aldebaran', x: 142, y: 109 },
  { map: 'yuno', x: 158, y: 129 },
  { map: 'alberta', x: 117, y: 57 },
  { map: 'morocc', x: 155, y: 45 },
  ...,
   ]''
import { GetCastle } from 'rop2e-db';

GetCastle(``);
# returns 'All Castle(s) in YAML'

GetCastle(`prtg`);
# returns 'A Castle(s) where its name containing `prtg` '

Readme

Keywords

Package Sidebar

Install

npm i rop2e-db

Weekly Downloads

3

Version

1.0.33

License

ISC

Unpacked Size

4.67 MB

Total Files

22

Last publish

Collaborators

  • pmaxion