Constant.php 68 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279
  1. <?php
  2. /**
  3. * Provides constants.
  4. *
  5. * Usefull data to be used across the site.
  6. *
  7. * @category Data
  8. */
  9. /**
  10. * Stage difficulty constants.
  11. *
  12. * @category Data
  13. */
  14. final class DIFFICULTY_ID{
  15. /**
  16. * Difficulty EASY (Tartarus Labyrinth only).
  17. */
  18. const EASY = 0;
  19. /**
  20. * Difficulty EASY (Scenario, TOA, Labyrinth).
  21. */
  22. const NORMAL = 1;
  23. /**
  24. * Difficulty EASY (Scenario, TOA, Labyrinth).
  25. */
  26. const HARD = 2;
  27. /**
  28. * Difficulty EASY (Scenario, Labyrinth).
  29. */
  30. const HELL = 3;
  31. };
  32. /**
  33. * Unit source constants.
  34. *
  35. * @category Data
  36. */
  37. final class SOURCE_ID{
  38. /**
  39. * Unknown Scroll (elemental 1-3*).
  40. */
  41. const SCROLL_UNKNOWN = 1;
  42. /**
  43. * Mystical Scroll (elemental 3-5*).
  44. */
  45. const SCROLL_MYSTICAL = 2;
  46. /**
  47. * Light and Darkness Scroll (LD 3-5*).
  48. */
  49. const SCROLL_LIGHT_AND_DARK = 3;
  50. /**
  51. * Water scroll (water 3-5*)
  52. */
  53. const SCROLL_WATER = 4;
  54. /**
  55. * Fire scroll (fire 3-5*)
  56. */
  57. const SCROLL_FIRE = 5;
  58. /**
  59. * Wind scroll (wind 3-5*)
  60. */
  61. const SCROLL_WIND = 6;
  62. /**
  63. * Legendary Scroll (elemental 4-5*)
  64. */
  65. const SCROLL_LEGENDARY = 7;
  66. /**
  67. * Summon Stones (elemental 3-5*)
  68. */
  69. const SUMMON_EXCLUSIVE = 8;
  70. /**
  71. * Legendary Summoning Pieces (4-5*)
  72. */
  73. const SUMMON_LEGENDARY_PIECES = 9;
  74. /**
  75. * Light and Darkness Scroll (LD 3-5*).
  76. */
  77. const SUMMON_LIGHT_AND_DARK_PIECES = 10;
  78. /**
  79. * Transcendance Scroll (elemental 5*)
  80. */
  81. const SCROLL_TRANSCENDANCE = 11;
  82. /**
  83. * Legendary Water Scroll (water 4-5*)
  84. */
  85. const SCROLL_LEGENDARY_WATER = 12;
  86. /**
  87. * Legendary Fire Scroll (fire 4-5*)
  88. */
  89. const SCROLL_LEGENDARY_FIRE = 13;
  90. /**
  91. * Legendary Wind Scroll (wind 4-5*)
  92. */
  93. const SCROLL_LEGENDARY_WIND = 14;
  94. };
  95. /**
  96. * Element constants.
  97. *
  98. * @category Data
  99. */
  100. final class ELEMENT_ID{
  101. /**
  102. * Water
  103. */
  104. const WATER = 1;
  105. /**
  106. * Fire
  107. */
  108. const FIRE = 2;
  109. /**
  110. * Wind
  111. */
  112. const WIND = 3;
  113. /**
  114. * Light
  115. */
  116. const LIGHT = 4;
  117. /**
  118. * Dark
  119. */
  120. const DARK = 5;
  121. /**
  122. * Pure
  123. */
  124. const PURE = 6;
  125. };
  126. /**
  127. * Unit archetype constants.
  128. *
  129. * @category Data
  130. */
  131. final class ARCHETYPE_ID{
  132. /**
  133. * None
  134. */
  135. const NONE = 0;
  136. /**
  137. * Attack
  138. */
  139. const ATTACK = 1;
  140. /**
  141. * Defense
  142. */
  143. const DEFENSE = 2;
  144. /**
  145. * HP
  146. */
  147. const HP = 3;
  148. /**
  149. * Support
  150. */
  151. const SUPPORT = 4;
  152. /**
  153. * Material
  154. */
  155. const MATERIAL = 5;
  156. };
  157. /**
  158. * Stat constants.
  159. *
  160. * Used for unit stats, for rune stat types, see {@see RUNE_STAT_ID}
  161. *
  162. * @category Data
  163. */
  164. final class STAT_ID{
  165. /**
  166. * HP
  167. */
  168. const HP = 1;
  169. /**
  170. * ATK
  171. */
  172. const ATK = 2;
  173. /**
  174. * DEF
  175. */
  176. const DEF = 3;
  177. /**
  178. * SPD
  179. */
  180. const SPD = 4;
  181. /**
  182. * CRIT_RATE
  183. */
  184. const CRIT_RATE = 5;
  185. /**
  186. * CRIT_DMG
  187. */
  188. const CRIT_DMG = 6;
  189. /**
  190. * RESIST
  191. */
  192. const RESIST = 7;
  193. /**
  194. * ACCURACY
  195. */
  196. const ACCURACY = 8;
  197. };
  198. /**
  199. * Leadr skill area constants.
  200. *
  201. * @category Data
  202. */
  203. final class EFFECT_AREA_ID{
  204. /**
  205. * General (all areas).
  206. */
  207. const GENERAL = 1;
  208. /**
  209. * Arena (offense and defense).
  210. */
  211. const ARENA = 3;
  212. /**
  213. * Dungeon (Cairos, elemental Rifts, Dimensinal Hole).
  214. */
  215. const DUNGEON = 2;
  216. /**
  217. * Guild content (battle, siege, Labyrinth).
  218. */
  219. const GUILD = 5;
  220. };
  221. /**
  222. * Playable area group constants.
  223. *
  224. * @category Data
  225. */
  226. final class AREA_TYPE_ID{
  227. /**
  228. * Scenario.
  229. */
  230. const SCENARIO = 1;
  231. /**
  232. * Cairos Dungeon.
  233. */
  234. const CAIROS_DUNGEON = 2;
  235. /**
  236. * Elemental Rift Dungeons.
  237. */
  238. const RIFT_DUNGEON = 3;
  239. /**
  240. * Rift Raid.
  241. */
  242. const RIFT_RAID = 4;
  243. /**
  244. * Dimensional Hole.
  245. */
  246. const DIMENSIONAL_HOLE = 5;
  247. /**
  248. * Arena.
  249. */
  250. const ARENA = 6;
  251. /**
  252. * Guild War.
  253. */
  254. const GUILD_WAR = 7;
  255. /**
  256. * Guild Siege.
  257. */
  258. const GUILD_SIEGE = 8;
  259. /**
  260. * Tartarus Labyrinth.
  261. */
  262. const TARTARUS_LABYRINTH = 9;
  263. /**
  264. * Trial of Ascension.
  265. */
  266. const TRIAL_OF_ASCENSION = 10;
  267. /**
  268. * World Boss.
  269. */
  270. const WORLD_BOSS = 11;
  271. /**
  272. * Dimensional Rift.
  273. */
  274. const DIMENSIONAL_RIFT = 12;
  275. };
  276. /**
  277. * Scenario area constants.
  278. *
  279. * @category Data
  280. */
  281. final class SCENARIO_ID{
  282. /**
  283. * Garen Forest.
  284. */
  285. const GAREN_FOREST = 1;
  286. /**
  287. * Mt. Siz.
  288. */
  289. const MT_SIZ = 2;
  290. /**
  291. * Kabir Ruins.
  292. */
  293. const KABIR_RUINS = 3;
  294. /**
  295. * Mt. White Ragon.
  296. */
  297. const MT_WHITE_RAGON = 4;
  298. /**
  299. * Telain Forest.
  300. */
  301. const TELAIN_FOREST = 5;
  302. /**
  303. * Hydeni Ruins.
  304. */
  305. const HYDENI_RUINS = 6;
  306. /**
  307. * Tamor Desert.
  308. */
  309. const TAMOR_DESERT = 7;
  310. /**
  311. * Vrofagus Ruins.
  312. */
  313. const VROFAGUS_RUINS = 8;
  314. /**
  315. * Faimon Volcano.
  316. */
  317. const FAIMON_VOLCANO = 9;
  318. /**
  319. * Aiden Forest.
  320. */
  321. const AIDEN_FOREST = 10;
  322. /**
  323. * Ferun Castle.
  324. */
  325. const FERUN_CASTLE = 11;
  326. /**
  327. * Mt Runar.
  328. */
  329. const MT_RUNAR = 12;
  330. /**
  331. * Chiruka Remains.
  332. */
  333. const CHIRUKA_REMAINS = 13;
  334. };
  335. /**
  336. * Dungeon section constants.
  337. *
  338. * Includes Cairos Dungeons and Dimension Hole Dungeons.
  339. *
  340. * @category Data
  341. */
  342. final class DUNGEON_ID{
  343. /**
  344. * Hall of Dark.
  345. */
  346. const HALL_OF_DARK = 1001;
  347. /**
  348. * Sanctuary of Dreaming Fairies.
  349. */
  350. const SANCTUARY_OF_DREAMING_FAIRIES = 1101;
  351. /**
  352. * Ellunia Remains (Fairy).
  353. */
  354. const ELLUNIA_REMAINS_FAIRY = 1201;
  355. /**
  356. * Ellunia Remains (Pixie).
  357. */
  358. const ELLUNIA_REMAINS_PIXIE = 1202;
  359. /**
  360. * Hall of Fire.
  361. */
  362. const HALL_OF_FIRE = 2001;
  363. /**
  364. * Forest of Roaring Beasts.
  365. */
  366. const FOREST_OF_ROARING_BEASTS = 2101;
  367. /**
  368. * Karzhan Remains (Warbear).
  369. */
  370. const KARZHAN_REMAINS_WARBEAR = 2201;
  371. /**
  372. * Karzhan Remains (Inugami).
  373. */
  374. const KARZHAN_REMAINS_INUGAMI = 2202;
  375. /**
  376. * Cliff of Tough Beast Men.
  377. */
  378. const CLIFF_OF_TOUGH_BEASTS_MEN = 3101;
  379. /**
  380. * Lumel Remains (Werewolf).
  381. */
  382. const LUMEL_REMAINS_WEREWOLF = 3201;
  383. /**
  384. * Lumel Remains (Martial Cat).
  385. */
  386. const LUMEL_REMAINS_MARTIAL_CAT = 3202;
  387. /**
  388. * Hall of water.
  389. */
  390. const HALL_OF_WATER = 3001;
  391. /**
  392. * Hall of Wind.
  393. */
  394. const HALL_OF_WIND = 4001;
  395. /**
  396. * Hall of Magic.
  397. */
  398. const HALL_OF_MAGIC = 5001;
  399. /**
  400. * Necropolis.
  401. */
  402. const NECROPOLIS = 6001;
  403. /**
  404. * Punisher's Crypt.
  405. */
  406. const PUNISHERS_CRYPT = 9502;
  407. /**
  408. * Steel Fortress
  409. */
  410. const STEEL_FORTRESS = 9602; // TODO: Find out
  411. /**
  412. * Hall of Light.
  413. */
  414. const HALL_OF_LIGHT = 7001;
  415. /**
  416. * Giants Keep.
  417. */
  418. const GIANTS_KEEP = 8001;
  419. /**
  420. * Dragons Lair.
  421. */
  422. const DRAGONS_LAIR = 9001;
  423. };
  424. /**
  425. * Cairos Dungeons section constants.
  426. *
  427. * @category Data
  428. */
  429. final class CAIROS_DUNGEON_ID{
  430. /**
  431. * Hall of Dark.
  432. */
  433. const HALL_OF_DARK = 1001;
  434. /**
  435. * Hall of Fire.
  436. */
  437. const HALL_OF_FIRE = 2001;
  438. /**
  439. * Hall of water.
  440. */
  441. const HALL_OF_WATER = 3001;
  442. /**
  443. * Hall of Wind.
  444. */
  445. const HALL_OF_WIND = 4001;
  446. /**
  447. * Hall of Magic.
  448. */
  449. const HALL_OF_MAGIC = 5001;
  450. /**
  451. * Necropolis.
  452. */
  453. const NECROPOLIS = 6001;
  454. /**
  455. * Punisher's Crypt.
  456. */
  457. const PUNISHERS_CRYPT = 9502;
  458. /**
  459. * Steel Fortress
  460. */
  461. const STEEL_FORTRESS = 9602; // TODO: Find out
  462. /**
  463. * Hall of Light.
  464. */
  465. const HALL_OF_LIGHT = 7001;
  466. /**
  467. * Giants Keep.
  468. */
  469. const GIANTS_KEEP = 8001;
  470. /**
  471. * Dragons Lair.
  472. */
  473. const DRAGONS_LAIR = 9001;
  474. };
  475. /**
  476. * Dimensional Dungeons section constants.
  477. *
  478. * @category Data
  479. */
  480. final class DIMENSION_DUNGEON_ID{
  481. /**
  482. * Sanctuary of Dreaming Fairies.
  483. */
  484. const SANCTUARY_OF_DREAMING_FAIRIES = 1101;
  485. /**
  486. * Ellunia Remains (Fairy).
  487. */
  488. const ELLUNIA_REMAINS_FAIRY = 1201;
  489. /**
  490. * Ellunia Remains (Pixie).
  491. */
  492. const ELLUNIA_REMAINS_PIXIE = 1202;
  493. /**
  494. * Forest of Roaring Beasts.
  495. */
  496. const FOREST_OF_ROARING_BEASTS = 2101;
  497. /**
  498. * Karzhan Remains (Warbear).
  499. */
  500. const KARZHAN_REMAINS_WARBEAR = 2201;
  501. /**
  502. * Karzhan Remains (Inugami).
  503. */
  504. const KARZHAN_REMAINS_INUGAMI = 2202;
  505. /**
  506. * Cliff of Tough Beast Men.
  507. */
  508. const CLIFF_OF_TOUGH_BEASTS_MEN = 3101;
  509. /**
  510. * Lumel Remains (Werewolf).
  511. */
  512. const LUMEL_REMAINS_WEREWOLF = 3201;
  513. /**
  514. * Lumel Remains (Martial Cat).
  515. */
  516. const LUMEL_REMAINS_MARTIAL_CAT = 3202;
  517. };
  518. /**
  519. * Elemental Rift Dungeon constants.
  520. *
  521. * @category Data
  522. */
  523. final class ELEMENTAL_RIFT_DUNGEON_ID{
  524. /**
  525. * Ice Beast.
  526. */
  527. const ICE_BEAST = 1001;
  528. /**
  529. * Fire Beast.
  530. */
  531. const FIRE_BEAST = 2001;
  532. /**
  533. * Wind Beast.
  534. */
  535. const WIND_BEAST = 3001;
  536. /**
  537. * Light Beast.
  538. */
  539. const LIGHT_BEAST = 4001;
  540. /**
  541. * Dark Beast.
  542. */
  543. const DARK_BEAST = 5001;
  544. };
  545. /**
  546. * Rift raid level constants.
  547. *
  548. * @category Data
  549. */
  550. final class RAID_RIFT_DUNGEON_ID{
  551. /**
  552. * Level 1.
  553. */
  554. const LEVEL_1 = 1;
  555. /**
  556. * Level 2.
  557. */
  558. const LEVEL_2 = 2;
  559. /**
  560. * Level 3.
  561. */
  562. const LEVEL_3 = 3;
  563. /**
  564. * Level 4.
  565. */
  566. const LEVEL_4 = 4;
  567. /**
  568. * Level 5.
  569. */
  570. const LEVEL_5 = 5;
  571. };
  572. /**
  573. * Constants for all the types of stages in the Tartarus Labyrinth.
  574. *
  575. * @category Data
  576. */
  577. final class LABYRINTH_STAGES_ID{
  578. /**
  579. * Tartarus (Labyrinth Guardian).
  580. */
  581. const TARTARUS = 1;
  582. /**
  583. * Kottos (Fire Gaurdian).
  584. */
  585. const KOTTOS = 2;
  586. /**
  587. * Leos (Waer Guardian).
  588. */
  589. const LEOS = 3;
  590. /**
  591. * Aquiles (Wind Guardian).
  592. */
  593. const AQUILES = 4;
  594. /**
  595. * Normal stage.
  596. */
  597. const NORMAL = 5;
  598. /**
  599. * Rescue stage.
  600. */
  601. const RESCUE = 6;
  602. /**
  603. * Explode stage.
  604. */
  605. const EXPLODE = 7;
  606. /**
  607. * Cool Time UP stage.
  608. */
  609. const COOL_TIME = 8;
  610. /**
  611. * Speed Limit stage.
  612. */
  613. const SPEED_LIMIT = 9;
  614. /**
  615. * Time Limit stage.
  616. */
  617. const TIME_LIMIT = 10;
  618. };
  619. /**
  620. * Building constants.
  621. *
  622. * @category Data
  623. */
  624. final class BUILDING_ID{
  625. /**
  626. * Summoners Tower.
  627. */
  628. const SUMMONERS_TOWER = 1;
  629. /**
  630. * Summonhenge.
  631. */
  632. const SUMMONHENGE = 2;
  633. /**
  634. * Pond of Mana.
  635. */
  636. const POND_OF_MANA = 3;
  637. /**
  638. * Crystal Mine.
  639. */
  640. const CRYSTAL_MINE = 4;
  641. /**
  642. * Gateway.
  643. */
  644. const GATEWAY = 8;
  645. /**
  646. * Temple of Wishes.
  647. */
  648. const TEMPLE_OF_WISHES = 10;
  649. /**
  650. * Magic Shop.
  651. */
  652. const MAGIC_SHOP = 11;
  653. /**
  654. * Ancient Stones.
  655. */
  656. const ANCIENT_STONES = 12;
  657. /**
  658. * Arcane Tower.
  659. */
  660. const ARCANE_TOWER = 14;
  661. /**
  662. * Crystal Titan.
  663. */
  664. const CRYSTAL_TITAN = 15;
  665. /**
  666. * Fusion Hexagram.
  667. */
  668. const FUSION_HEXAGRAM = 16;
  669. /**
  670. * Fuse Center.
  671. */
  672. const FUSE_CENTER = 17;
  673. /**
  674. * Power Up Circle.
  675. */
  676. const POWER_UP_CIRCLE = 20;
  677. /**
  678. * Tranquil Forest.
  679. */
  680. const TRANQUIL_FOREST = 22;
  681. /**
  682. * Gusty Cliffs.
  683. */
  684. const GUSTY_CLIFFS = 23;
  685. /**
  686. * Deep Forest Ent.
  687. */
  688. const DEEP_FOREST_ENT = 24;
  689. /**
  690. * Monster Storage.
  691. */
  692. const MONSTER_STORAGE = 25;
  693. /**
  694. * Transmogrification Building.
  695. */
  696. const TRANSMOGRIFICATION_BUILDING = 27;
  697. };
  698. /**
  699. * Decoration constants.
  700. *
  701. * @category Data
  702. */
  703. final class DECORATION_ID{
  704. /**
  705. * Guardstone.
  706. */
  707. const GUARDSTONE = 4;
  708. /**
  709. * Mana Fountain.
  710. */
  711. const MANA_FOUNTAIN = 5;
  712. /**
  713. * Sky Tribe Totem.
  714. */
  715. const SKY_TRIBE_TOTEM = 6;
  716. /**
  717. * Arcane Booster Tower.
  718. */
  719. const ARCANE_BOOSTER_TOWER = 7;
  720. /**
  721. * Crystal Altar.
  722. */
  723. const CRYSTAL_ALTAR = 8;
  724. /**
  725. * Ancient Sword.
  726. */
  727. const ANCIENT_SWORD = 9;
  728. /**
  729. * Sanctum of Energy.
  730. */
  731. const SANCTUM_OF_ENERGY = 10;
  732. /**
  733. * Mysterious Plant.
  734. */
  735. const MYSTERIOUS_PLANT = 11;
  736. /**
  737. * Fire Sanctuary.
  738. */
  739. const FIRE_SANCTUARY = 15;
  740. /**
  741. * Water Sanctuary.
  742. */
  743. const WATER_SANCTUARY = 16;
  744. /**
  745. * Wind Sanctuary.
  746. */
  747. const WIND_SANCTUARY = 17;
  748. /**
  749. * Light Sanctuary.
  750. */
  751. const LIGHT_SANCTUARY = 18;
  752. /**
  753. * Dark Sanctuary.
  754. */
  755. const DARK_SANCTUARY = 19;
  756. /**
  757. * Fallen Ancient Guardian.
  758. */
  759. const FALLEN_ANCIENT_GUARDIAN = 31;
  760. /**
  761. * Crystal Rock.
  762. */
  763. const CRYSTAL_ROCK = 34;
  764. /**
  765. * Fairy Tree.
  766. */
  767. const FAIRY_TREE = 35;
  768. /**
  769. * Flag of Battle.
  770. */
  771. const FLAG_OF_BATTLE = 36;
  772. /**
  773. * Flag of Rage.
  774. */
  775. const FLAG_OF_RAGE = 37;
  776. /**
  777. * Flag of Hope.
  778. */
  779. const FLAG_OF_HOPE = 38;
  780. /**
  781. * Flag of Will.
  782. */
  783. const FLAG_OF_WILL = 39;
  784. };
  785. /**
  786. * Inventory categories constants.
  787. *
  788. * @category Data
  789. */
  790. final class INVENTORY_TYPE_ID{
  791. /**
  792. * Monster.
  793. */
  794. const MONSTER = 1;
  795. /**
  796. * Currency.
  797. */
  798. const CURRENCY = 6;
  799. /**
  800. * Rune.
  801. */
  802. const RUNE = 8;
  803. /**
  804. * Scroll.
  805. */
  806. const SCROLL = 9;
  807. /**
  808. * Booster.
  809. */
  810. const BOOSTER = 10;
  811. /**
  812. * Essences.
  813. */
  814. const ESSENCES = 11;
  815. /**
  816. * Monster Piece.
  817. */
  818. const MONSTER_PIECE = 12;
  819. // '' => 15, Unknown. Appears in inventory_info with qty 0
  820. /**
  821. * Guild Monster piece.
  822. */
  823. const GUILD_MONSTER_PIECE = 19;
  824. /**
  825. * Rainbowmon.
  826. */
  827. const RAINBOWMON = 25; # Possibly material monsters in general. Appears when wish returns a rainbowmon.
  828. /**
  829. * Rune Craft.
  830. */
  831. const RUNE_CRAFT = 27;
  832. /**
  833. * Craft Stuff.
  834. */
  835. const CRAFT_STUFF = 29;
  836. /**
  837. * Enhancing Monster.
  838. */
  839. const ENHANCING_MONSTER = 61;
  840. };
  841. /**
  842. * Items constants.
  843. *
  844. * @category Data
  845. */
  846. final class INVENTORY_ID{
  847. /**
  848. * Essence of Magic (Low).
  849. */
  850. const ESSENCE_MAGIC_LOW = 11006;
  851. /**
  852. * Essence of Magic (Mid).
  853. */
  854. const ESSENCE_MAGIC_MID = 12006;
  855. /**
  856. * Essence of Magic (High).
  857. */
  858. const ESSENCE_MAGIC_HIGH = 13006;
  859. /**
  860. * Essence of Water (Low).
  861. */
  862. const ESSENCE_WATER_LOW = 11001;
  863. /**
  864. * Essence of Water (Mid).
  865. */
  866. const ESSENCE_WATER_MID = 12001;
  867. /**
  868. * Essence of Water (High).
  869. */
  870. const ESSENCE_WATER_HIGH = 13001;
  871. /**
  872. * Essence of Fire (Low).
  873. */
  874. const ESSENCE_FIRE_LOW = 11002;
  875. /**
  876. * Essence of Fire (Mid).
  877. */
  878. const ESSENCE_FIRE_MID = 12002;
  879. /**
  880. * Essence of Fire (High).
  881. */
  882. const ESSENCE_FIRE_HIGH = 13002;
  883. /**
  884. * Essence of Wind (Low).
  885. */
  886. const ESSENCE_WIND_LOW = 11003;
  887. /**
  888. * Essence of Wind (Mid).
  889. */
  890. const ESSENCE_WIND_MID = 12003;
  891. /**
  892. * Essence of Wind (High).
  893. */
  894. const ESSENCE_WIND_HIGH = 13003;
  895. /**
  896. * Essence of Light (Low).
  897. */
  898. const ESSENCE_LIGHT_LOW = 11004;
  899. /**
  900. * Essence of Light (Mid).
  901. */
  902. const ESSENCE_LIGHT_MID = 12004;
  903. /**
  904. * Essence of Light (High).
  905. */
  906. const ESSENCE_LIGHT_HIGH = 13004;
  907. /**
  908. * Essence of Dark (Low).
  909. */
  910. const ESSENCE_DARK_LOW = 11005;
  911. /**
  912. * Essence of Dark (Mid).
  913. */
  914. const ESSENCE_DARK_MID = 12005;
  915. /**
  916. * Essence of Dark (High).
  917. */
  918. const ESSENCE_DARK_HIGH = 13005;
  919. /**
  920. * Wood.
  921. */
  922. const WOOD = 1001;
  923. /**
  924. * Leather.
  925. */
  926. const LEATHER = 1002;
  927. /**
  928. * Rock.
  929. */
  930. const ROCK = 1003;
  931. /**
  932. * Ore.
  933. */
  934. const ORE = 1004;
  935. /**
  936. * Mithril.
  937. */
  938. const MITHRIL = 1005;
  939. /**
  940. * Cloth.
  941. */
  942. const CLOTH = 1006;
  943. /**
  944. * Rune Piece.
  945. */
  946. const RUNE_PIECE = 2001;
  947. /**
  948. * Powder.
  949. */
  950. const POWDER = 3001;
  951. /**
  952. * Symbol of Harmony.
  953. */
  954. const SYMBOL_HARMONY = 4001;
  955. /**
  956. * Symbol of Transcendance.
  957. */
  958. const SYMBOL_TRANSCENDANCE = 4002;
  959. /**
  960. * Symbol of Chaos.
  961. */
  962. const SYMBOL_CHAOS = 4003;
  963. /**
  964. * Frozen Water Crystal.
  965. */
  966. const CRYSTAL_WATER = 5001;
  967. /**
  968. * Flaming Fire Crystal.
  969. */
  970. const CRYSTAL_FIRE = 5002;
  971. /**
  972. * Whirling Wind Crystal.
  973. */
  974. const CRYSTAL_WIND = 5003;
  975. /**
  976. * Shiny Light Crystal.
  977. */
  978. const CRYSTAL_LIGHT = 5004;
  979. /**
  980. * Pitch-Black Dark Crystal.
  981. */
  982. const CRYSTAL_DARK = 5005;
  983. /**
  984. * Condensed Magic Crystal.
  985. */
  986. const CRYSTAL_MAGIC = 6001;
  987. /**
  988. * Pure Crystal.
  989. */
  990. const CRYSTAL_PURE = 7001;
  991. };
  992. /**
  993. * Storage-able enhance monster constants.
  994. *
  995. * @category Data
  996. */
  997. final class ENHANCE_MONSTER_ID{
  998. /**
  999. * Water Angelmon.
  1000. */
  1001. const WATER_ANGELMON = 142110115;
  1002. /**
  1003. * Fire Angelmon.
  1004. */
  1005. const FIRE_ANGELMON = 142120115;
  1006. /**
  1007. * Wind Angelmon.
  1008. */
  1009. const WIND_ANGELMON = 142130115;
  1010. /**
  1011. * Light Angelmon.
  1012. */
  1013. const LIGHT_ANGELMON = 142140115;
  1014. /**
  1015. * Dark Angelmon.
  1016. */
  1017. const DARK_ANGELMON = 142150115;
  1018. /**
  1019. * Water King Angelmon.
  1020. */
  1021. const WATER_KING_ANGELMON = 182110115;
  1022. /**
  1023. * Fire King Angelmon.
  1024. */
  1025. const FIRE_KING_ANGELMON = 182120115;
  1026. /**
  1027. * Wind King Angelmon.
  1028. */
  1029. const WIND_KING_ANGELMON = 182130115;
  1030. /**
  1031. * Light King Angelmon.
  1032. */
  1033. const LIGHT_KING_ANGELMON = 182140115;
  1034. /**
  1035. * Dark King Angelmon.
  1036. */
  1037. const DARK_KING_ANGELMON = 182150115;
  1038. /**
  1039. * 2* Rainbowmon (Lv. 20).
  1040. */
  1041. const RAINBOWMON_2_20 = 143140220;
  1042. /**
  1043. * 3* Rainbowmon (Lv. 1).
  1044. */
  1045. const RAINBOWMON_3_1 = 143140301;
  1046. /**
  1047. * 3* Rainbowmon (Lv. 25).
  1048. */
  1049. const RAINBOWMON_3_25 = 143140325;
  1050. /**
  1051. * 4* Rainbowmon (Lv. 1).
  1052. */
  1053. const RAINBOWMON_4_1 = 143140401;
  1054. /**
  1055. * 4* Rainbowmon (Lv. 30).
  1056. */
  1057. const RAINBOWMON_4_30 = 143140430;
  1058. /**
  1059. * 5* Rainbowmon (Lv. 1).
  1060. */
  1061. const RAINBOWMON_5_1 = 143140501;
  1062. /**
  1063. * Devilmon.
  1064. */
  1065. const DEVILMON = 151050101;
  1066. /**
  1067. * Super Angelmon.
  1068. */
  1069. const SUPER_ANGELMON = 217140115;
  1070. };
  1071. /**
  1072. * Rune set constants.
  1073. *
  1074. * @category Data
  1075. */
  1076. final class RUNE_SET_ID{
  1077. /**
  1078. * Energy.
  1079. */
  1080. const ENERGY = 1;
  1081. /**
  1082. * Guard.
  1083. */
  1084. const GUARD = 2;
  1085. /**
  1086. * Swift.
  1087. */
  1088. const SWIFT = 3;
  1089. /**
  1090. * Blade.
  1091. */
  1092. const BLADE = 4;
  1093. /**
  1094. * Rage.
  1095. */
  1096. const RAGE = 5;
  1097. /**
  1098. * Focus.
  1099. */
  1100. const FOCUS = 6;
  1101. /**
  1102. * Endure.
  1103. */
  1104. const ENDURE = 7;
  1105. /**
  1106. * Fatal.
  1107. */
  1108. const FATAL = 8;
  1109. /**
  1110. * Despair.
  1111. */
  1112. const DESPAIR = 10;
  1113. /**
  1114. * Vampire.
  1115. */
  1116. const VAMPIRE = 11;
  1117. /**
  1118. * Violent.
  1119. */
  1120. const VIOLENT = 13;
  1121. /**
  1122. * Nemesis.
  1123. */
  1124. const NEMESIS = 14;
  1125. /**
  1126. * Will.
  1127. */
  1128. const WILL = 15;
  1129. /**
  1130. * Shield.
  1131. */
  1132. const SHIELD = 16;
  1133. /**
  1134. * Revenge.
  1135. */
  1136. const REVENGE = 17;
  1137. /**
  1138. * Destroy.
  1139. */
  1140. const DESTROY = 18;
  1141. /**
  1142. * Fight.
  1143. */
  1144. const FIGHT = 19;
  1145. /**
  1146. * Determination.
  1147. */
  1148. const DETERMINATION = 20;
  1149. /**
  1150. * Enhance.
  1151. */
  1152. const ENHANCE = 21;
  1153. /**
  1154. * Accuracy.
  1155. */
  1156. const ACCURACY = 22;
  1157. /**
  1158. * Tolerance.
  1159. */
  1160. const TOLERANCE = 23;
  1161. };
  1162. /**
  1163. * Rune stat constants.
  1164. *
  1165. * Includes all stats a rune can have. For unit stats, see{@see $STAT_ID}.
  1166. *
  1167. * @category Data
  1168. */
  1169. final class RUNE_STAT_ID{
  1170. /**
  1171. * HP (flat).
  1172. */
  1173. const HP = 1;
  1174. /**
  1175. * HP (percent).
  1176. */
  1177. const HP_P = 2;
  1178. /**
  1179. * Attack (flat).
  1180. */
  1181. const ATK = 3;
  1182. /**
  1183. * Attack (percent).
  1184. */
  1185. const ATK_P = 4;
  1186. /**
  1187. * Defense (flat).
  1188. */
  1189. const DEF = 5;
  1190. /**
  1191. * Defense (percent).
  1192. */
  1193. const DEF_P = 6;
  1194. /**
  1195. * Speed.
  1196. */
  1197. const SPD = 8;
  1198. /**
  1199. * Critical Rate.
  1200. */
  1201. const CRR = 9;
  1202. /**
  1203. * Critical Damage.
  1204. */
  1205. const CRD = 10;
  1206. /**
  1207. * Resistance.
  1208. */
  1209. const RES = 11;
  1210. /**
  1211. * Accuracy.
  1212. */
  1213. const ACC = 12;
  1214. };
  1215. /**
  1216. * Rune main stat values constants.
  1217. *
  1218. * Includes the value of the main stats for type, stars, and level.
  1219. *
  1220. * @category Data
  1221. */
  1222. final class RUNE_STAT_VALUES{
  1223. /**
  1224. * Values of the HP main stat [stars][level]
  1225. */
  1226. const HP = [
  1227. "1" => [
  1228. "0" => 40,
  1229. "1" => 85,
  1230. "2" => 130,
  1231. "3" => 175,
  1232. "4" => 220,
  1233. "5" => 265,
  1234. "6" => 310,
  1235. "7" => 355,
  1236. "8" => 400,
  1237. "9" => 445,
  1238. "10" => 490,
  1239. "11" => 535,
  1240. "12" => 580,
  1241. "13" => 625,
  1242. "14" => 670,
  1243. "15" => 804
  1244. ],
  1245. "2" => [
  1246. "0" => 70,
  1247. "1" => 130,
  1248. "2" => 190,
  1249. "3" => 250,
  1250. "4" => 310,
  1251. "5" => 370,
  1252. "6" => 430,
  1253. "7" => 490,
  1254. "8" => 550,
  1255. "9" => 610,
  1256. "10" => 670,
  1257. "11" => 730,
  1258. "12" => 790,
  1259. "13" => 850,
  1260. "14" => 910,
  1261. "15" => 1092
  1262. ],
  1263. "3" => [
  1264. "0" => 100,
  1265. "1" => 175,
  1266. "2" => 250,
  1267. "3" => 325,
  1268. "4" => 400,
  1269. "5" => 475,
  1270. "6" => 550,
  1271. "7" => 625,
  1272. "8" => 700,
  1273. "9" => 775,
  1274. "10" => 850,
  1275. "11" => 925,
  1276. "12" => 1000,
  1277. "13" => 1075,
  1278. "14" => 1150,
  1279. "15" => 1380
  1280. ],
  1281. "4" => [
  1282. "0" => 160,
  1283. "1" => 250,
  1284. "2" => 340,
  1285. "3" => 430,
  1286. "4" => 520,
  1287. "5" => 610,
  1288. "6" => 700,
  1289. "7" => 790,
  1290. "8" => 880,
  1291. "9" => 970,
  1292. "10" => 1060,
  1293. "11" => 1150,
  1294. "12" => 1240,
  1295. "13" => 1330,
  1296. "14" => 1420,
  1297. "15" => 1704
  1298. ],
  1299. "5" => [
  1300. "0" => 270,
  1301. "1" => 375,
  1302. "2" => 480,
  1303. "3" => 585,
  1304. "4" => 690,
  1305. "5" => 795,
  1306. "6" => 900,
  1307. "7" => 1005,
  1308. "8" => 1110,
  1309. "9" => 1215,
  1310. "10" => 1320,
  1311. "11" => 1425,
  1312. "12" => 1530,
  1313. "13" => 1635,
  1314. "14" => 1740,
  1315. "15" => 2088
  1316. ],
  1317. "6" => [
  1318. "0" => 360,
  1319. "1" => 480,
  1320. "2" => 600,
  1321. "3" => 720,
  1322. "4" => 840,
  1323. "5" => 960,
  1324. "6" => 1080,
  1325. "7" => 1200,
  1326. "8" => 1320,
  1327. "9" => 1440,
  1328. "10" => 1560,
  1329. "11" => 1680,
  1330. "12" => 1800,
  1331. "13" => 1920,
  1332. "14" => 2040,
  1333. "15" => 2448
  1334. ]
  1335. ];
  1336. /**
  1337. * Values of the HP_P main stat[stars][level]
  1338. */
  1339. const HP_P = [
  1340. "1" => [
  1341. "0" => 1,
  1342. "1" => 2,
  1343. "2" => 3,
  1344. "3" => 4,
  1345. "4" => 5,
  1346. "5" => 6,
  1347. "6" => 7,
  1348. "7" => 8,
  1349. "8" => 9,
  1350. "9" => 10,
  1351. "10" => 11,
  1352. "11" => 12,
  1353. "12" => 13,
  1354. "13" => 14,
  1355. "14" => 15,
  1356. "15" => 18
  1357. ],
  1358. "2" => [
  1359. "0" => 2,
  1360. "1" => 3,
  1361. "2" => 4,
  1362. "3" => 5,
  1363. "4" => 6,
  1364. "5" => 7,
  1365. "6" => 8,
  1366. "7" => 9,
  1367. "8" => 10,
  1368. "9" => 11,
  1369. "10" => 12,
  1370. "11" => 13,
  1371. "12" => 14,
  1372. "13" => 15,
  1373. "14" => 16,
  1374. "15" => 19
  1375. ],
  1376. "3" => [
  1377. "0" => 4,
  1378. "1" => 6,
  1379. "2" => 8,
  1380. "3" => 10,
  1381. "4" => 12,
  1382. "5" => 14,
  1383. "6" => 16,
  1384. "7" => 18,
  1385. "8" => 20,
  1386. "9" => 22,
  1387. "10" => 24,
  1388. "11" => 26,
  1389. "12" => 28,
  1390. "13" => 30,
  1391. "14" => 32,
  1392. "15" => 38
  1393. ],
  1394. "4" => [
  1395. "0" => 5,
  1396. "1" => 7,
  1397. "2" => 9,
  1398. "3" => 11,
  1399. "4" => 13,
  1400. "5" => 16,
  1401. "6" => 18,
  1402. "7" => 20,
  1403. "8" => 22,
  1404. "9" => 24,
  1405. "10" => 27,
  1406. "11" => 29,
  1407. "12" => 31,
  1408. "13" => 33,
  1409. "14" => 36,
  1410. "15" => 43
  1411. ],
  1412. "5" => [
  1413. "0" => 8,
  1414. "1" => 10,
  1415. "2" => 12,
  1416. "3" => 15,
  1417. "4" => 17,
  1418. "5" => 20,
  1419. "6" => 22,
  1420. "7" => 24,
  1421. "8" => 27,
  1422. "9" => 29,
  1423. "10" => 32,
  1424. "11" => 34,
  1425. "12" => 37,
  1426. "13" => 40,
  1427. "14" => 43,
  1428. "15" => 51
  1429. ],
  1430. "6" => [
  1431. "0" => 11,
  1432. "1" => 14,
  1433. "2" => 17,
  1434. "3" => 20,
  1435. "4" => 23,
  1436. "5" => 26,
  1437. "6" => 29,
  1438. "7" => 32,
  1439. "8" => 35,
  1440. "9" => 38,
  1441. "10" => 41,
  1442. "11" => 44,
  1443. "12" => 47,
  1444. "13" => 50,
  1445. "14" => 53,
  1446. "15" => 63
  1447. ]
  1448. ];
  1449. /**
  1450. * Values of the ATK main stat[stars][level]
  1451. */
  1452. const ATK = [
  1453. "1" => [
  1454. "0" => 3,
  1455. "1" => 6,
  1456. "2" => 9,
  1457. "3" => 12,
  1458. "4" => 15,
  1459. "5" => 18,
  1460. "6" => 21,
  1461. "7" => 24,
  1462. "8" => 27,
  1463. "9" => 30,
  1464. "10" => 33,
  1465. "11" => 36,
  1466. "12" => 39,
  1467. "13" => 42,
  1468. "14" => 45,
  1469. "15" => 54
  1470. ],
  1471. "2" => [
  1472. "0" => 5,
  1473. "1" => 9,
  1474. "2" => 13,
  1475. "3" => 17,
  1476. "4" => 21,
  1477. "5" => 25,
  1478. "6" => 29,
  1479. "7" => 33,
  1480. "8" => 37,
  1481. "9" => 41,
  1482. "10" => 45,
  1483. "11" => 49,
  1484. "12" => 53,
  1485. "13" => 57,
  1486. "14" => 61,
  1487. "15" => 73
  1488. ],
  1489. "3" => [
  1490. "0" => 7,
  1491. "1" => 12,
  1492. "2" => 17,
  1493. "3" => 22,
  1494. "4" => 27,
  1495. "5" => 32,
  1496. "6" => 37,
  1497. "7" => 42,
  1498. "8" => 47,
  1499. "9" => 52,
  1500. "10" => 57,
  1501. "11" => 62,
  1502. "12" => 67,
  1503. "13" => 72,
  1504. "14" => 77,
  1505. "15" => 92
  1506. ],
  1507. "4" => [
  1508. "0" => 10,
  1509. "1" => 16,
  1510. "2" => 22,
  1511. "3" => 28,
  1512. "4" => 34,
  1513. "5" => 40,
  1514. "6" => 46,
  1515. "7" => 52,
  1516. "8" => 58,
  1517. "9" => 64,
  1518. "10" => 70,
  1519. "11" => 76,
  1520. "12" => 82,
  1521. "13" => 88,
  1522. "14" => 94,
  1523. "15" => 112
  1524. ],
  1525. "5" => [
  1526. "0" => 15,
  1527. "1" => 22,
  1528. "2" => 29,
  1529. "3" => 36,
  1530. "4" => 43,
  1531. "5" => 50,
  1532. "6" => 57,
  1533. "7" => 64,
  1534. "8" => 71,
  1535. "9" => 78,
  1536. "10" => 85,
  1537. "11" => 92,
  1538. "12" => 99,
  1539. "13" => 106,
  1540. "14" => 113,
  1541. "15" => 135
  1542. ],
  1543. "6" => [
  1544. "0" => 22,
  1545. "1" => 30,
  1546. "2" => 38,
  1547. "3" => 46,
  1548. "4" => 54,
  1549. "5" => 62,
  1550. "6" => 70,
  1551. "7" => 78,
  1552. "8" => 86,
  1553. "9" => 94,
  1554. "10" => 102,
  1555. "11" => 110,
  1556. "12" => 118,
  1557. "13" => 126,
  1558. "14" => 134,
  1559. "15" => 160
  1560. ]
  1561. ];
  1562. /**
  1563. * Values of the ATK_P main stat[stars][level]
  1564. */
  1565. const ATK_P = [
  1566. "1" => [
  1567. "0" => 1,
  1568. "1" => 2,
  1569. "2" => 3,
  1570. "3" => 4,
  1571. "4" => 5,
  1572. "5" => 6,
  1573. "6" => 7,
  1574. "7" => 8,
  1575. "8" => 9,
  1576. "9" => 10,
  1577. "10" => 11,
  1578. "11" => 12,
  1579. "12" => 13,
  1580. "13" => 14,
  1581. "14" => 15,
  1582. "15" => 18
  1583. ],
  1584. "2" => [
  1585. "0" => 2,
  1586. "1" => 3,
  1587. "2" => 4,
  1588. "3" => 5,
  1589. "4" => 6,
  1590. "5" => 7,
  1591. "6" => 8,
  1592. "7" => 9,
  1593. "8" => 10,
  1594. "9" => 11,
  1595. "10" => 12,
  1596. "11" => 13,
  1597. "12" => 14,
  1598. "13" => 15,
  1599. "14" => 16,
  1600. "15" => 19
  1601. ],
  1602. "3" => [
  1603. "0" => 4,
  1604. "1" => 6,
  1605. "2" => 8,
  1606. "3" => 10,
  1607. "4" => 12,
  1608. "5" => 14,
  1609. "6" => 16,
  1610. "7" => 18,
  1611. "8" => 20,
  1612. "9" => 22,
  1613. "10" => 24,
  1614. "11" => 26,
  1615. "12" => 28,
  1616. "13" => 30,
  1617. "14" => 32,
  1618. "15" => 38
  1619. ],
  1620. "4" => [
  1621. "0" => 5,
  1622. "1" => 7,
  1623. "2" => 9,
  1624. "3" => 11,
  1625. "4" => 13,
  1626. "5" => 16,
  1627. "6" => 18,
  1628. "7" => 20,
  1629. "8" => 22,
  1630. "9" => 24,
  1631. "10" => 27,
  1632. "11" => 29,
  1633. "12" => 31,
  1634. "13" => 33,
  1635. "14" => 36,
  1636. "15" => 43
  1637. ],
  1638. "5" => [
  1639. "0" => 8,
  1640. "1" => 10,
  1641. "2" => 12,
  1642. "3" => 15,
  1643. "4" => 17,
  1644. "5" => 20,
  1645. "6" => 22,
  1646. "7" => 24,
  1647. "8" => 27,
  1648. "9" => 29,
  1649. "10" => 32,
  1650. "11" => 34,
  1651. "12" => 37,
  1652. "13" => 40,
  1653. "14" => 43,
  1654. "15" => 51
  1655. ],
  1656. "6" => [
  1657. "0" => 11,
  1658. "1" => 14,
  1659. "2" => 17,
  1660. "3" => 20,
  1661. "4" => 23,
  1662. "5" => 26,
  1663. "6" => 29,
  1664. "7" => 32,
  1665. "8" => 35,
  1666. "9" => 38,
  1667. "10" => 41,
  1668. "11" => 44,
  1669. "12" => 47,
  1670. "13" => 50,
  1671. "14" => 53,
  1672. "15" => 63
  1673. ]
  1674. ];
  1675. /**
  1676. * Values of the DEF main stat[stars][level]
  1677. */
  1678. const DEF = [
  1679. "1" => [
  1680. "0" => 3,
  1681. "1" => 6,
  1682. "2" => 9,
  1683. "3" => 12,
  1684. "4" => 15,
  1685. "5" => 18,
  1686. "6" => 21,
  1687. "7" => 24,
  1688. "8" => 27,
  1689. "9" => 30,
  1690. "10" => 33,
  1691. "11" => 36,
  1692. "12" => 39,
  1693. "13" => 42,
  1694. "14" => 45,
  1695. "15" => 54
  1696. ],
  1697. "2" => [
  1698. "0" => 5,
  1699. "1" => 9,
  1700. "2" => 13,
  1701. "3" => 17,
  1702. "4" => 21,
  1703. "5" => 25,
  1704. "6" => 29,
  1705. "7" => 33,
  1706. "8" => 37,
  1707. "9" => 41,
  1708. "10" => 45,
  1709. "11" => 49,
  1710. "12" => 53,
  1711. "13" => 57,
  1712. "14" => 61,
  1713. "15" => 73
  1714. ],
  1715. "3" => [
  1716. "0" => 7,
  1717. "1" => 12,
  1718. "2" => 17,
  1719. "3" => 22,
  1720. "4" => 27,
  1721. "5" => 32,
  1722. "6" => 37,
  1723. "7" => 42,
  1724. "8" => 47,
  1725. "9" => 52,
  1726. "10" => 57,
  1727. "11" => 62,
  1728. "12" => 67,
  1729. "13" => 72,
  1730. "14" => 77,
  1731. "15" => 92
  1732. ],
  1733. "4" => [
  1734. "0" => 10,
  1735. "1" => 16,
  1736. "2" => 22,
  1737. "3" => 28,
  1738. "4" => 34,
  1739. "5" => 40,
  1740. "6" => 46,
  1741. "7" => 52,
  1742. "8" => 58,
  1743. "9" => 64,
  1744. "10" => 70,
  1745. "11" => 76,
  1746. "12" => 82,
  1747. "13" => 88,
  1748. "14" => 94,
  1749. "15" => 112
  1750. ],
  1751. "5" => [
  1752. "0" => 15,
  1753. "1" => 22,
  1754. "2" => 29,
  1755. "3" => 36,
  1756. "4" => 43,
  1757. "5" => 50,
  1758. "6" => 57,
  1759. "7" => 64,
  1760. "8" => 71,
  1761. "9" => 78,
  1762. "10" => 85,
  1763. "11" => 92,
  1764. "12" => 99,
  1765. "13" => 106,
  1766. "14" => 113,
  1767. "15" => 135
  1768. ],
  1769. "6" => [
  1770. "0" => 22,
  1771. "1" => 30,
  1772. "2" => 38,
  1773. "3" => 46,
  1774. "4" => 54,
  1775. "5" => 62,
  1776. "6" => 70,
  1777. "7" => 78,
  1778. "8" => 86,
  1779. "9" => 94,
  1780. "10" => 102,
  1781. "11" => 110,
  1782. "12" => 118,
  1783. "13" => 126,
  1784. "14" => 134,
  1785. "15" => 160
  1786. ]
  1787. ];
  1788. /**
  1789. * Values of the DEF_P main stat[stars][level]
  1790. */
  1791. const DEF_P = [
  1792. "1" => [
  1793. "0" => 1,
  1794. "1" => 2,
  1795. "2" => 3,
  1796. "3" => 4,
  1797. "4" => 5,
  1798. "5" => 6,
  1799. "6" => 7,
  1800. "7" => 8,
  1801. "8" => 9,
  1802. "9" => 10,
  1803. "10" => 11,
  1804. "11" => 12,
  1805. "12" => 13,
  1806. "13" => 14,
  1807. "14" => 15,
  1808. "15" => 18
  1809. ],
  1810. "2" => [
  1811. "0" => 2,
  1812. "1" => 3,
  1813. "2" => 4,
  1814. "3" => 5,
  1815. "4" => 6,
  1816. "5" => 7,
  1817. "6" => 8,
  1818. "7" => 9,
  1819. "8" => 10,
  1820. "9" => 11,
  1821. "10" => 12,
  1822. "11" => 13,
  1823. "12" => 14,
  1824. "13" => 15,
  1825. "14" => 16,
  1826. "15" => 19
  1827. ],
  1828. "3" => [
  1829. "0" => 4,
  1830. "1" => 6,
  1831. "2" => 8,
  1832. "3" => 10,
  1833. "4" => 12,
  1834. "5" => 14,
  1835. "6" => 16,
  1836. "7" => 18,
  1837. "8" => 20,
  1838. "9" => 22,
  1839. "10" => 24,
  1840. "11" => 26,
  1841. "12" => 28,
  1842. "13" => 30,
  1843. "14" => 32,
  1844. "15" => 38
  1845. ],
  1846. "4" => [
  1847. "0" => 5,
  1848. "1" => 7,
  1849. "2" => 9,
  1850. "3" => 11,
  1851. "4" => 13,
  1852. "5" => 16,
  1853. "6" => 18,
  1854. "7" => 20,
  1855. "8" => 22,
  1856. "9" => 24,
  1857. "10" => 27,
  1858. "11" => 29,
  1859. "12" => 31,
  1860. "13" => 33,
  1861. "14" => 36,
  1862. "15" => 43
  1863. ],
  1864. "5" => [
  1865. "0" => 8,
  1866. "1" => 10,
  1867. "2" => 12,
  1868. "3" => 15,
  1869. "4" => 17,
  1870. "5" => 20,
  1871. "6" => 22,
  1872. "7" => 24,
  1873. "8" => 27,
  1874. "9" => 29,
  1875. "10" => 32,
  1876. "11" => 34,
  1877. "12" => 37,
  1878. "13" => 40,
  1879. "14" => 43,
  1880. "15" => 51
  1881. ],
  1882. "6" => [
  1883. "0" => 11,
  1884. "1" => 14,
  1885. "2" => 17,
  1886. "3" => 20,
  1887. "4" => 23,
  1888. "5" => 26,
  1889. "6" => 29,
  1890. "7" => 32,
  1891. "8" => 35,
  1892. "9" => 38,
  1893. "10" => 41,
  1894. "11" => 44,
  1895. "12" => 47,
  1896. "13" => 50,
  1897. "14" => 53,
  1898. "15" => 63
  1899. ]
  1900. ];
  1901. /**
  1902. * Values of the SPD main stat[stars][level]
  1903. */
  1904. const SPD = [
  1905. "1" => [
  1906. "0" => 1,
  1907. "1" => 2,
  1908. "2" => 3,
  1909. "3" => 4,
  1910. "4" => 5,
  1911. "5" => 6,
  1912. "6" => 7,
  1913. "7" => 8,
  1914. "8" => 9,
  1915. "9" => 10,
  1916. "10" => 11,
  1917. "11" => 12,
  1918. "12" => 13,
  1919. "13" => 14,
  1920. "14" => 15,
  1921. "15" => 18
  1922. ],
  1923. "2" => [
  1924. "0" => 2,
  1925. "1" => 3,
  1926. "2" => 4,
  1927. "3" => 5,
  1928. "4" => 6,
  1929. "5" => 7,
  1930. "6" => 8,
  1931. "7" => 9,
  1932. "8" => 10,
  1933. "9" => 11,
  1934. "10" => 12,
  1935. "11" => 13,
  1936. "12" => 14,
  1937. "13" => 15,
  1938. "14" => 16,
  1939. "15" => 19
  1940. ],
  1941. "3" => [
  1942. "0" => 3,
  1943. "1" => 4,
  1944. "2" => 5,
  1945. "3" => 6,
  1946. "4" => 8,
  1947. "5" => 9,
  1948. "6" => 10,
  1949. "7" => 12,
  1950. "8" => 13,
  1951. "9" => 14,
  1952. "10" => 16,
  1953. "11" => 17,
  1954. "12" => 18,
  1955. "13" => 19,
  1956. "14" => 21,
  1957. "15" => 25
  1958. ],
  1959. "4" => [
  1960. "0" => 4,
  1961. "1" => 5,
  1962. "2" => 7,
  1963. "3" => 8,
  1964. "4" => 10,
  1965. "5" => 11,
  1966. "6" => 13,
  1967. "7" => 14,
  1968. "8" => 16,
  1969. "9" => 17,
  1970. "10" => 19,
  1971. "11" => 20,
  1972. "12" => 22,
  1973. "13" => 23,
  1974. "14" => 25,
  1975. "15" => 30
  1976. ],
  1977. "5" => [
  1978. "0" => 5,
  1979. "1" => 7,
  1980. "2" => 9,
  1981. "3" => 11,
  1982. "4" => 13,
  1983. "5" => 15,
  1984. "6" => 17,
  1985. "7" => 19,
  1986. "8" => 21,
  1987. "9" => 23,
  1988. "10" => 25,
  1989. "11" => 27,
  1990. "12" => 29,
  1991. "13" => 31,
  1992. "14" => 33,
  1993. "15" => 39
  1994. ],
  1995. "6" => [
  1996. "0" => 7,
  1997. "1" => 9,
  1998. "2" => 11,
  1999. "3" => 13,
  2000. "4" => 15,
  2001. "5" => 17,
  2002. "6" => 19,
  2003. "7" => 21,
  2004. "8" => 23,
  2005. "9" => 25,
  2006. "10" => 27,
  2007. "11" => 29,
  2008. "12" => 31,
  2009. "13" => 33,
  2010. "14" => 35,
  2011. "15" => 42
  2012. ]
  2013. ];
  2014. /**
  2015. * Values of the CRR main stat[stars][level]
  2016. */
  2017. const CRR = [
  2018. "1" => [
  2019. "0" => 1,
  2020. "1" => 2,
  2021. "2" => 3,
  2022. "3" => 4,
  2023. "4" => 5,
  2024. "5" => 6,
  2025. "6" => 7,
  2026. "7" => 8,
  2027. "8" => 9,
  2028. "9" => 10,
  2029. "10" => 11,
  2030. "11" => 12,
  2031. "12" => 13,
  2032. "13" => 14,
  2033. "14" => 15,
  2034. "15" => 18
  2035. ],
  2036. "2" => [
  2037. "0" => 2,
  2038. "1" => 3,
  2039. "2" => 4,
  2040. "3" => 5,
  2041. "4" => 6,
  2042. "5" => 7,
  2043. "6" => 8,
  2044. "7" => 9,
  2045. "8" => 10,
  2046. "9" => 11,
  2047. "10" => 12,
  2048. "11" => 13,
  2049. "12" => 14,
  2050. "13" => 15,
  2051. "14" => 16,
  2052. "15" => 19
  2053. ],
  2054. "3" => [
  2055. "0" => 3,
  2056. "1" => 5,
  2057. "2" => 7,
  2058. "3" => 9,
  2059. "4" => 11,
  2060. "5" => 13,
  2061. "6" => 15,
  2062. "7" => 17,
  2063. "8" => 19,
  2064. "9" => 21,
  2065. "10" => 23,
  2066. "11" => 25,
  2067. "12" => 27,
  2068. "13" => 29,
  2069. "14" => 31,
  2070. "15" => 37
  2071. ],
  2072. "4" => [
  2073. "0" => 4,
  2074. "1" => 6,
  2075. "2" => 8,
  2076. "3" => 11,
  2077. "4" => 13,
  2078. "5" => 15,
  2079. "6" => 17,
  2080. "7" => 19,
  2081. "8" => 22,
  2082. "9" => 24,
  2083. "10" => 26,
  2084. "11" => 28,
  2085. "12" => 30,
  2086. "13" => 33,
  2087. "14" => 35,
  2088. "15" => 41
  2089. ],
  2090. "5" => [
  2091. "0" => 5,
  2092. "1" => 7,
  2093. "2" => 10,
  2094. "3" => 12,
  2095. "4" => 15,
  2096. "5" => 17,
  2097. "6" => 19,
  2098. "7" => 22,
  2099. "8" => 24,
  2100. "9" => 27,
  2101. "10" => 29,
  2102. "11" => 31,
  2103. "12" => 34,
  2104. "13" => 36,
  2105. "14" => 39,
  2106. "15" => 47
  2107. ],
  2108. "6" => [
  2109. "0" => 7,
  2110. "1" => 10,
  2111. "2" => 13,
  2112. "3" => 16,
  2113. "4" => 19,
  2114. "5" => 22,
  2115. "6" => 25,
  2116. "7" => 28,
  2117. "8" => 31,
  2118. "9" => 34,
  2119. "10" => 37,
  2120. "11" => 40,
  2121. "12" => 43,
  2122. "13" => 46,
  2123. "14" => 49,
  2124. "15" => 58
  2125. ]
  2126. ];
  2127. /**
  2128. * Values of the CRD main stat[stars][level]
  2129. */
  2130. const CRD = [
  2131. "1" => [
  2132. "0" => 2,
  2133. "1" => 3,
  2134. "2" => 4,
  2135. "3" => 5,
  2136. "4" => 6,
  2137. "5" => 7,
  2138. "6" => 8,
  2139. "7" => 9,
  2140. "8" => 10,
  2141. "9" => 11,
  2142. "10" => 12,
  2143. "11" => 13,
  2144. "12" => 14,
  2145. "13" => 15,
  2146. "14" => 16,
  2147. "15" => 19
  2148. ],
  2149. "2" => [
  2150. "0" => 3,
  2151. "1" => 5,
  2152. "2" => 7,
  2153. "3" => 9,
  2154. "4" => 11,
  2155. "5" => 13,
  2156. "6" => 15,
  2157. "7" => 17,
  2158. "8" => 19,
  2159. "9" => 21,
  2160. "10" => 23,
  2161. "11" => 25,
  2162. "12" => 27,
  2163. "13" => 29,
  2164. "14" => 31,
  2165. "15" => 37
  2166. ],
  2167. "3" => [
  2168. "0" => 4,
  2169. "1" => 6,
  2170. "2" => 9,
  2171. "3" => 11,
  2172. "4" => 13,
  2173. "5" => 16,
  2174. "6" => 18,
  2175. "7" => 20,
  2176. "8" => 22,
  2177. "9" => 25,
  2178. "10" => 27,
  2179. "11" => 29,
  2180. "12" => 32,
  2181. "13" => 34,
  2182. "14" => 36,
  2183. "15" => 43
  2184. ],
  2185. "4" => [
  2186. "0" => 6,
  2187. "1" => 9,
  2188. "2" => 12,
  2189. "3" => 15,
  2190. "4" => 18,
  2191. "5" => 21,
  2192. "6" => 24,
  2193. "7" => 27,
  2194. "8" => 30,
  2195. "9" => 33,
  2196. "10" => 36,
  2197. "11" => 39,
  2198. "12" => 42,
  2199. "13" => 45,
  2200. "14" => 48,
  2201. "15" => 57
  2202. ],
  2203. "5" => [
  2204. "0" => 8,
  2205. "1" => 11,
  2206. "2" => 15,
  2207. "3" => 18,
  2208. "4" => 21,
  2209. "5" => 25,
  2210. "6" => 28,
  2211. "7" => 31,
  2212. "8" => 34,
  2213. "9" => 38,
  2214. "10" => 41,
  2215. "11" => 44,
  2216. "12" => 48,
  2217. "13" => 51,
  2218. "14" => 54,
  2219. "15" => 65
  2220. ],
  2221. "6" => [
  2222. "0" => 11,
  2223. "1" => 15,
  2224. "2" => 19,
  2225. "3" => 23,
  2226. "4" => 27,
  2227. "5" => 31,
  2228. "6" => 35,
  2229. "7" => 39,
  2230. "8" => 43,
  2231. "9" => 47,
  2232. "10" => 51,
  2233. "11" => 55,
  2234. "12" => 59,
  2235. "13" => 63,
  2236. "14" => 67,
  2237. "15" => 80
  2238. ]
  2239. ];
  2240. /**
  2241. * Values of the ACC main stat[stars][level]
  2242. */
  2243. const ACC = [
  2244. "1" => [
  2245. "0" => 1,
  2246. "1" => 2,
  2247. "2" => 3,
  2248. "3" => 4,
  2249. "4" => 5,
  2250. "5" => 6,
  2251. "6" => 7,
  2252. "7" => 8,
  2253. "8" => 9,
  2254. "9" => 10,
  2255. "10" => 11,
  2256. "11" => 12,
  2257. "12" => 13,
  2258. "13" => 14,
  2259. "14" => 15,
  2260. "15" => 18
  2261. ],
  2262. "2" => [
  2263. "0" => 2,
  2264. "1" => 3,
  2265. "2" => 4,
  2266. "3" => 5,
  2267. "4" => 6,
  2268. "5" => 7,
  2269. "6" => 8,
  2270. "7" => 9,
  2271. "8" => 10,
  2272. "9" => 11,
  2273. "10" => 12,
  2274. "11" => 13,
  2275. "12" => 14,
  2276. "13" => 15,
  2277. "14" => 16,
  2278. "15" => 19
  2279. ],
  2280. "3" => [
  2281. "0" => 4,
  2282. "1" => 6,
  2283. "2" => 8,
  2284. "3" => 10,
  2285. "4" => 12,
  2286. "5" => 14,
  2287. "6" => 16,
  2288. "7" => 18,
  2289. "8" => 20,
  2290. "9" => 22,
  2291. "10" => 24,
  2292. "11" => 26,
  2293. "12" => 28,
  2294. "13" => 30,
  2295. "14" => 32,
  2296. "15" => 38
  2297. ],
  2298. "4" => [
  2299. "0" => 6,
  2300. "1" => 8,
  2301. "2" => 10,
  2302. "3" => 13,
  2303. "4" => 15,
  2304. "5" => 17,
  2305. "6" => 19,
  2306. "7" => 21,
  2307. "8" => 24,
  2308. "9" => 26,
  2309. "10" => 28,
  2310. "11" => 30,
  2311. "12" => 32,
  2312. "13" => 35,
  2313. "14" => 37,
  2314. "15" => 44
  2315. ],
  2316. "5" => [
  2317. "0" => 9,
  2318. "1" => 11,
  2319. "2" => 14,
  2320. "3" => 16,
  2321. "4" => 19,
  2322. "5" => 21,
  2323. "6" => 23,
  2324. "7" => 26,
  2325. "8" => 28,
  2326. "9" => 31,
  2327. "10" => 33,
  2328. "11" => 35,
  2329. "12" => 38,
  2330. "13" => 40,
  2331. "14" => 43,
  2332. "15" => 51
  2333. ],
  2334. "6" => [
  2335. "0" => 12,
  2336. "1" => 15,
  2337. "2" => 18,
  2338. "3" => 21,
  2339. "4" => 24,
  2340. "5" => 27,
  2341. "6" => 30,
  2342. "7" => 33,
  2343. "8" => 36,
  2344. "9" => 39,
  2345. "10" => 42,
  2346. "11" => 45,
  2347. "12" => 48,
  2348. "13" => 51,
  2349. "14" => 54,
  2350. "15" => 64
  2351. ]
  2352. ];
  2353. /**
  2354. * Values of the RES main stat[stars][level]
  2355. */
  2356. const RES = [
  2357. "1" => [
  2358. "0" => 1,
  2359. "1" => 2,
  2360. "2" => 3,
  2361. "3" => 4,
  2362. "4" => 5,
  2363. "5" => 6,
  2364. "6" => 7,
  2365. "7" => 8,
  2366. "8" => 9,
  2367. "9" => 10,
  2368. "10" => 11,
  2369. "11" => 12,
  2370. "12" => 13,
  2371. "13" => 14,
  2372. "14" => 15,
  2373. "15" => 18
  2374. ],
  2375. "2" => [
  2376. "0" => 2,
  2377. "1" => 3,
  2378. "2" => 4,
  2379. "3" => 5,
  2380. "4" => 6,
  2381. "5" => 7,
  2382. "6" => 8,
  2383. "7" => 9,
  2384. "8" => 10,
  2385. "9" => 11,
  2386. "10" => 12,
  2387. "11" => 13,
  2388. "12" => 14,
  2389. "13" => 15,
  2390. "14" => 16,
  2391. "15" => 19
  2392. ],
  2393. "3" => [
  2394. "0" => 4,
  2395. "1" => 6,
  2396. "2" => 8,
  2397. "3" => 10,
  2398. "4" => 12,
  2399. "5" => 14,
  2400. "6" => 16,
  2401. "7" => 18,
  2402. "8" => 20,
  2403. "9" => 22,
  2404. "10" => 24,
  2405. "11" => 26,
  2406. "12" => 28,
  2407. "13" => 30,
  2408. "14" => 32,
  2409. "15" => 38
  2410. ],
  2411. "4" => [
  2412. "0" => 6,
  2413. "1" => 8,
  2414. "2" => 10,
  2415. "3" => 13,
  2416. "4" => 15,
  2417. "5" => 17,
  2418. "6" => 19,
  2419. "7" => 21,
  2420. "8" => 24,
  2421. "9" => 26,
  2422. "10" => 28,
  2423. "11" => 30,
  2424. "12" => 32,
  2425. "13" => 35,
  2426. "14" => 37,
  2427. "15" => 44
  2428. ],
  2429. "5" => [
  2430. "0" => 9,
  2431. "1" => 11,
  2432. "2" => 14,
  2433. "3" => 16,
  2434. "4" => 19,
  2435. "5" => 21,
  2436. "6" => 23,
  2437. "7" => 26,
  2438. "8" => 28,
  2439. "9" => 31,
  2440. "10" => 33,
  2441. "11" => 35,
  2442. "12" => 38,
  2443. "13" => 40,
  2444. "14" => 43,
  2445. "15" => 51
  2446. ],
  2447. "6" => [
  2448. "0" => 12,
  2449. "1" => 15,
  2450. "2" => 18,
  2451. "3" => 21,
  2452. "4" => 24,
  2453. "5" => 27,
  2454. "6" => 30,
  2455. "7" => 33,
  2456. "8" => 36,
  2457. "9" => 39,
  2458. "10" => 42,
  2459. "11" => 45,
  2460. "12" => 48,
  2461. "13" => 51,
  2462. "14" => 54,
  2463. "15" => 64
  2464. ]
  2465. ];
  2466. };
  2467. /**
  2468. * Artifact types.
  2469. *
  2470. * The two types of artifacts.
  2471. */
  2472. final class ARTIFACT_TYPE{
  2473. /**
  2474. * Elemental attribute.
  2475. */
  2476. const ELEMENT = 1;
  2477. /**
  2478. * Type artifact.
  2479. */
  2480. const ARCHETYPE = 2;
  2481. }
  2482. /**
  2483. * Artifact stat constants.
  2484. *
  2485. * The stats an artifact can have. For unit stats, see{@see $STAT_ID}.
  2486. *
  2487. * @category Data
  2488. */
  2489. final class ARTIFACT_STAT_ID{
  2490. /**
  2491. * HP.
  2492. */
  2493. const HP = 100;
  2494. /**
  2495. * ATK.
  2496. */
  2497. const ATK = 101;
  2498. /**
  2499. * DEF.
  2500. */
  2501. const DEF = 102;
  2502. }
  2503. /**
  2504. * Rune (and other items) quality constants.
  2505. *
  2506. * @category Data
  2507. */
  2508. final class QUALITY_ID{
  2509. /**
  2510. * Normal.
  2511. */
  2512. const NORMAL = 1;
  2513. /**
  2514. * Magic.
  2515. */
  2516. const MAGIC = 2;
  2517. /**
  2518. * Rare.
  2519. */
  2520. const RARE = 3;
  2521. /**
  2522. * Hero.
  2523. */
  2524. const HERO = 4;
  2525. /**
  2526. * Legend.
  2527. */
  2528. const LEGEND = 5;
  2529. };
  2530. /**
  2531. * Craft items constants.
  2532. *
  2533. * @category Data
  2534. */
  2535. final class CRAFT_ID{
  2536. /**
  2537. * Enchant Gem.
  2538. */
  2539. const ENCHANT_GEM = 1;
  2540. /**
  2541. * Grindstone.
  2542. */
  2543. const GRINDSTONE = 2;
  2544. /**
  2545. * Immemorial Gem.
  2546. */
  2547. const IMMEMORIAL_GEM = 3;
  2548. /**
  2549. * Immemorial Grindstone.
  2550. */
  2551. const IMMEMORIAL_GRINDSTONE = 4;
  2552. };
  2553. /**
  2554. * Guild member rank constants.
  2555. *
  2556. * @category Data
  2557. */
  2558. final class GUILD_MEMBER_GRADE_ID{
  2559. /**
  2560. * Leader.
  2561. */
  2562. const LEADER = 1;
  2563. /**
  2564. * Viceleader.
  2565. */
  2566. const VICELEADER = 3;
  2567. /**
  2568. * Normal member.
  2569. */
  2570. const NORMAL = 2;
  2571. };
  2572. /**
  2573. * Arena ranking constant.
  2574. *
  2575. * Each element contains the minimum points for a rank. To calculate rank,
  2576. * @{see ARENA_RANKING_RANK} is neeeded too.
  2577. *
  2578. * @category Data
  2579. */
  2580. final class ARENA_RANKING_POINTS{
  2581. /**
  2582. * Beginer.
  2583. */
  2584. const BEGINER = 0;
  2585. /**
  2586. * Challenger 1.
  2587. */
  2588. const CHALLENGER_1 = 900;
  2589. /**
  2590. * Challenger 2.
  2591. */
  2592. const CHALLENGER_2 = 1000;
  2593. /**
  2594. * Challenger 3.
  2595. */
  2596. const CHALLENGER_3 = 1100;
  2597. /**
  2598. * Fighter 1.
  2599. */
  2600. const FIGHTER_1 = 1200;
  2601. /**
  2602. * Fighter 2.
  2603. */
  2604. const FIGHTER_2 = 1300;
  2605. /**
  2606. * Fighter 3.
  2607. */
  2608. const FIGHTER_3 = 1400;
  2609. /**
  2610. * Conqueror 1.
  2611. */
  2612. const CONQUEROR_1 = 1500;
  2613. /**
  2614. * Conqueror 2.
  2615. */
  2616. const CONQUEROR_2 = 1600;
  2617. /**
  2618. * Conqueror 3.
  2619. */
  2620. const CONQUEROR_3 = 1700;
  2621. /**
  2622. * Guardian 1.
  2623. */
  2624. const GUARDIAN_1 = 1700;
  2625. /**
  2626. * Guardian 2.
  2627. */
  2628. const GUARDIAN_2 = 1700;
  2629. /**
  2630. * Guardian 3.
  2631. */
  2632. const GUARDIAN_3 = 1700;
  2633. /**
  2634. * Legend.
  2635. */
  2636. const LEGEND = 1700;
  2637. };
  2638. /**
  2639. * Arena ranking constant.
  2640. *
  2641. * Each element contains the minimum top needed for a rank. A null value
  2642. * indicates that there is no top requeriment.To calculate rank,
  2643. * @{see ARENA_RANKING_POINTS} is neeeded too.
  2644. *
  2645. * @category Data
  2646. */
  2647. final class ARENA_RANKING_RANK{
  2648. /**
  2649. * Beginer.
  2650. */
  2651. const BEGINER = null;
  2652. /**
  2653. * Challenger 1.
  2654. */
  2655. const CHALLENGER_1 = null;
  2656. /**
  2657. * Challenger 2.
  2658. */
  2659. const CHALLENGER_2 = null;
  2660. /**
  2661. * Challenger 3.
  2662. */
  2663. const CHALLENGER_3 = null;
  2664. /**
  2665. * Fighter 1.
  2666. */
  2667. const FIGHTER_1 = null;
  2668. /**
  2669. * Fighter 2.
  2670. */
  2671. const FIGHTER_2 = null;
  2672. /**
  2673. * Fighter 3.
  2674. */
  2675. const FIGHTER_3 = null;
  2676. /**
  2677. * Conqueror 1.
  2678. */
  2679. const CONQUEROR_1 = 10000;
  2680. /**
  2681. * Conqueror 2.
  2682. */
  2683. const CONQUEROR_2 = 3000;
  2684. /**
  2685. * Conqueror 3.
  2686. */
  2687. const CONQUEROR_3 = 1000;
  2688. /**
  2689. * Guardian 1.
  2690. */
  2691. const GUARDIAN_1 = 300;
  2692. /**
  2693. * Guardian 2.
  2694. */
  2695. const GUARDIAN_2 = 100;
  2696. /**
  2697. * Guardian 3.
  2698. */
  2699. const GUARDIAN_3 = 30;
  2700. /**
  2701. * Legend.
  2702. */
  2703. const LEGEND = 1;
  2704. };
  2705. /**
  2706. * Default filter values;
  2707. *
  2708. * @category Data
  2709. */
  2710. final class FILTER{
  2711. /**
  2712. * Default values for the catalog filters.
  2713. */
  2714. const CATALOG = [
  2715. "ELEMENT" => 0,
  2716. "NAME" => "",
  2717. "MIN_STARS" => 1,
  2718. "MAX_STARS" => 5
  2719. ];
  2720. /**
  2721. * Default values for the fusion filters.
  2722. */
  2723. const FUSION = [
  2724. "PRODUCT" => 0
  2725. ];
  2726. /**
  2727. * Default values for the monster filters.
  2728. */
  2729. const MONSTER = [
  2730. "ELEMENT" => 0,
  2731. "NAME" => "",
  2732. "MIN_STARS" => 1,
  2733. "MAX_STARS" => 6,
  2734. "IN_STORAGE" => false,
  2735. "WITHOUT_RUNES" => false
  2736. ];
  2737. /**
  2738. * Default values for the rune craft report filters.
  2739. */
  2740. const RUNECRAFT = [
  2741. "MONSTER_NAME" => "",
  2742. "MONSTER_MIN_STARS" => 5,
  2743. "MONSTER_MAX_STARS" => 6,
  2744. "MONSTER_IN_STORAGE" => false,
  2745. "RUNE_MIN_STARS" => 5,
  2746. "RUNE_MAX_STARS" => 6,
  2747. "RUNE_MIN_LEVEL" => 0,
  2748. "RUNE_MAX_LEVEL" => 15,
  2749. "RUNE_MIN_QUALITY" => QUALITY_ID::HERO,
  2750. "RUNE_MAX_QUALITY" => QUALITY_ID::LEGEND,
  2751. "RUNE_MIN_ORIGINAL_QUALITY" => QUALITY_ID::HERO,
  2752. "RUNE_MAX_ORIGINAL_QUALITY" => QUALITY_ID::LEGEND,
  2753. "RUNE_MIN_EFFICIENCY" => 0,
  2754. "RUNE_MAX_EFFICIENCY" => 100,
  2755. "RUNE_MIN_MAX_EFFICIENCY" => 0,
  2756. "RUNE_MAX_MAX_EFFICIENCY" => 100,
  2757. "RUNE_SLOT" => [],
  2758. "GRIND" => 1,
  2759. "GRIND_MIN_QUALITY" => QUALITY_ID::RARE,
  2760. "GRIND_STAT" => [
  2761. RUNE_STAT_ID::HP_P,
  2762. RUNE_STAT_ID::ATK_P,
  2763. RUNE_STAT_ID::DEF_P,
  2764. RUNE_STAT_ID::SPD,
  2765. RUNE_STAT_ID::CRD,
  2766. RUNE_STAT_ID::CRR,
  2767. RUNE_STAT_ID::ACC
  2768. ],
  2769. "GEM" => 1,
  2770. "GEM_MIN_QUALITY" => QUALITY_ID::RARE,
  2771. "GEM_STAT_FROM" => [
  2772. RUNE_STAT_ID::HP,
  2773. RUNE_STAT_ID::ATK,
  2774. RUNE_STAT_ID::DEF,
  2775. RUNE_STAT_ID::RES
  2776. ],
  2777. "GEM_STAT_TO" => [
  2778. RUNE_STAT_ID::HP_P,
  2779. RUNE_STAT_ID::ATK_P,
  2780. RUNE_STAT_ID::DEF_P,
  2781. RUNE_STAT_ID::SPD,
  2782. RUNE_STAT_ID::CRD,
  2783. RUNE_STAT_ID::CRR,
  2784. RUNE_STAT_ID::ACC
  2785. ]
  2786. ];
  2787. /**
  2788. * Default values for the rune upgrade report filters.
  2789. */
  2790. const RUNEUPGRADE = [
  2791. "MONSTER_MIN_STARS" => 5,
  2792. "MONSTER_MAX_STARS" => 6,
  2793. "MONSTER_NAME" => "",
  2794. "MONSTER_IN_STORAGE" => false,
  2795. "MONSTER_TEAMS" => false,
  2796. "RUNE_MIN_STARS" => 5,
  2797. "RUNE_MAX_STARS" => 6,
  2798. "RUNE_MIN_LEVEL" => 0,
  2799. "RUNE_MAX_LEVEL" => 15,
  2800. "RUNE_MIN_QUALITY" => QUALITY_ID::NORMAL,
  2801. "RUNE_MAX_QUALITY" => QUALITY_ID::LEGEND,
  2802. "RUNE_MIN_ORIGINAL_QUALITY" => QUALITY_ID::NORMAL,
  2803. "RUNE_MAX_ORIGINAL_QUALITY" => QUALITY_ID::LEGEND,
  2804. "RUNE_MIN_EFFICIENCY" => 0,
  2805. "RUNE_MAX_EFFICIENCY" => 100,
  2806. "RUNE_MIN_MAX_EFFICIENCY" => 0,
  2807. "RUNE_MAX_MAX_EFFICIENCY" => 100,
  2808. "RUNE_SLOT" => [],
  2809. "ALTERNATIVE_MIN_STARS" => 5,
  2810. "ALTERNATIVE_MIN_ORIGINAL_QUALITY" => 0,
  2811. "ALTERNATIVE_MIN_LEVEL" => 0,
  2812. "ALTERNATIVE_CONDITION" => 3,
  2813. "ALTERNATIVE_SOURCE" => 0
  2814. ];
  2815. /**
  2816. * Default values for the skill-up report filters.
  2817. */
  2818. const SKILLUP = [
  2819. "MIN_STARS" => 5,
  2820. "MAX_STARS" => 6,
  2821. "MIN_NATURAL_STARS" => 5,
  2822. "MAX_NATURAL_STARS" => 5,
  2823. "IN_STORAGE" => false,
  2824. "WITHOUT_RUNES" => false,
  2825. "FAMILY" => false,
  2826. "MAXED" => false,
  2827. "2A" => false,
  2828. "HOMUNCULUS" => false
  2829. ];
  2830. /**
  2831. * Default values for the rune filters.
  2832. */
  2833. const RUNE = [
  2834. "TYPE" => [],
  2835. "MAIN" => [],
  2836. "SUB" => [],
  2837. "SLOT" => [],
  2838. "MIN_QUALITY" => QUALITY_ID::NORMAL,
  2839. "MAX_QUALITY" => QUALITY_ID::LEGEND,
  2840. "MIN_ORIGINAL_QUALITY" => QUALITY_ID::NORMAL,
  2841. "MAX_ORIGINAL_QUALITY" => QUALITY_ID::LEGEND,
  2842. "MIN_STARS" => 1,
  2843. "MAX_STARS" => 6,
  2844. "MIN_LEVEL" => 0,
  2845. "MAX_LEVEL" => 15,
  2846. "MIN_EFFICIENCY" => 0,
  2847. "MAX_EFFICIENCY" => 100,
  2848. "MIN_MAX_EFFICIENCY" => 0,
  2849. "MAX_MAX_EFFICIENCY" => 100,
  2850. "ASSIGNED" => 1,
  2851. "GROUP" => "SLOT"
  2852. ];
  2853. /**
  2854. * Default values for the artifact filters.
  2855. */
  2856. const ARTIFACT = [
  2857. "TYPE" => 0,
  2858. "ELEMENT" => [],
  2859. "ARCHETYPE" => [],
  2860. "MAIN" => [],
  2861. "MIN_QUALITY" => QUALITY_ID::NORMAL,
  2862. "MAX_QUALITY" => QUALITY_ID::LEGEND,
  2863. "MIN_ORIGINAL_QUALITY" => QUALITY_ID::NORMAL,
  2864. "MAX_ORIGINAL_QUALITY" => QUALITY_ID::LEGEND,
  2865. "MIN_LEVEL" => 0,
  2866. "MAX_LEVEL" => 15,
  2867. "MIN_EFFICIENCY" => 0,
  2868. "MAX_EFFICIENCY" => 100,
  2869. "MIN_MAX_EFFICIENCY" => 0,
  2870. "MAX_MAX_EFFICIENCY" => 100,
  2871. "ASSIGNED" => 1
  2872. ];
  2873. /**
  2874. * Default values for the enchantment filters.
  2875. */
  2876. const ENCHANTMENT = [
  2877. "TYPE" => [],
  2878. "RUNE" => [],
  2879. "STAT" => [],
  2880. "MIN_QUALITY" => QUALITY_ID::NORMAL,
  2881. "MAX_QUALITY" => QUALITY_ID::LEGEND,
  2882. ];
  2883. /**
  2884. * Default values for the run filters.
  2885. */
  2886. const RUN = [
  2887. "AREA_TYPE" => 0,
  2888. "AREA" => 0,
  2889. "STAGE" => 0,
  2890. "DIFFICULTY" => 0,
  2891. "DATE_MIN" => null,
  2892. "DATE_MAX" => null,
  2893. "DEFEAT" => false,
  2894. "HELPER" => false,
  2895. "NUMBER" => 20,
  2896. ];
  2897. /**
  2898. * Default values for the rune team filters.
  2899. */
  2900. const TEAM = [
  2901. "NAME" => "",
  2902. "AREA" => null
  2903. ];
  2904. /**
  2905. * Default values for the rune team filters.
  2906. */
  2907. const STATS = [
  2908. "AREA_TYPE" => null,
  2909. "AREA" => null,
  2910. "STAGE" => null,
  2911. "DIFFICULTY" => null,
  2912. "INCLUDE_HELPER" => false
  2913. ];
  2914. };
  2915. ?>