Constant.php 66 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266
  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 = 9501;
  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. * Arena rank constant.
  2707. *
  2708. * @category Data
  2709. */
  2710. final class ARENA_RANK_ID{
  2711. /**
  2712. * Beginer.
  2713. */
  2714. const BEGINER = 901;
  2715. /**
  2716. * Challenger 1.
  2717. */
  2718. const CHALLENGER_1 = 1001;
  2719. /**
  2720. * Challenger 2.
  2721. */
  2722. const CHALLENGER_2 = 1002;
  2723. /**
  2724. * Challenger 3.
  2725. */
  2726. const CHALLENGER_3 = 1003;
  2727. /**
  2728. * Fighter 1.
  2729. */
  2730. const FIGHTER_1 = 2001;
  2731. /**
  2732. * Fighter 2.
  2733. */
  2734. const FIGHTER_2 = 2002;
  2735. /**
  2736. * Fighter 3.
  2737. */
  2738. const FIGHTER_3 = 2003;
  2739. /**
  2740. * Conqueror 1.
  2741. */
  2742. const CONQUEROR_1 = 3001;
  2743. /**
  2744. * Conqueror 2.
  2745. */
  2746. const CONQUEROR_2 = 3002;
  2747. /**
  2748. * Conqueror 3.
  2749. */
  2750. const CONQUEROR_3 = 3003;
  2751. /**
  2752. * Guardian 1.
  2753. */
  2754. const GUARDIAN_1 = 4001;
  2755. /**
  2756. * Guardian 2.
  2757. */
  2758. const GUARDIAN_2 = 4002;
  2759. /**
  2760. * Guardian 3.
  2761. */
  2762. const GUARDIAN_3 = 40003;
  2763. /**
  2764. * Legend.
  2765. */
  2766. const LEGEND = 5001;
  2767. }
  2768. /**
  2769. * World Boss rank constant.
  2770. *
  2771. * @category Data
  2772. */
  2773. final class WORLD_BOSS_RANK_ID{
  2774. /**
  2775. * Beginer.
  2776. */
  2777. const RANK = [
  2778. 0 => "F",
  2779. 1 => "D",
  2780. 2 => "C",
  2781. 3 => "B-",
  2782. 4 => "B",
  2783. 5 => "B+",
  2784. 6 => "A-",
  2785. 7 => "A",
  2786. 8 => "A+",
  2787. 9 => "S",
  2788. 10 => "SS",
  2789. 11 => "SSS"
  2790. ];
  2791. }
  2792. /**
  2793. * Default filter values;
  2794. *
  2795. * @category Data
  2796. */
  2797. final class FILTER{
  2798. /**
  2799. * Default values for the fusion filters.
  2800. */
  2801. const FUSION = [
  2802. "PRODUCT" => 0
  2803. ];
  2804. /**
  2805. * Default values for the rune filters.
  2806. */
  2807. const RUNE = [
  2808. "TYPE" => [],
  2809. "MAIN" => [],
  2810. "SUB" => [],
  2811. "SLOT" => [],
  2812. "MIN_QUALITY" => QUALITY_ID::NORMAL,
  2813. "MAX_QUALITY" => QUALITY_ID::LEGEND,
  2814. "MIN_ORIGINAL_QUALITY" => QUALITY_ID::NORMAL,
  2815. "MAX_ORIGINAL_QUALITY" => QUALITY_ID::LEGEND,
  2816. "MIN_STARS" => 1,
  2817. "MAX_STARS" => 6,
  2818. "MIN_LEVEL" => 0,
  2819. "MAX_LEVEL" => 15,
  2820. "MIN_EFFICIENCY" => 0,
  2821. "MAX_EFFICIENCY" => 100,
  2822. "MIN_MAX_EFFICIENCY" => 0,
  2823. "MAX_MAX_EFFICIENCY" => 100,
  2824. "ASSIGNED" => 1,
  2825. "GROUP" => "SLOT"
  2826. ];
  2827. /**
  2828. * Default values for the artifact filters.
  2829. */
  2830. const ARTIFACT = [
  2831. "TYPE" => 0,
  2832. "ELEMENT" => [],
  2833. "ARCHETYPE" => [],
  2834. "MAIN" => [],
  2835. "MIN_QUALITY" => QUALITY_ID::NORMAL,
  2836. "MAX_QUALITY" => QUALITY_ID::LEGEND,
  2837. "MIN_ORIGINAL_QUALITY" => QUALITY_ID::NORMAL,
  2838. "MAX_ORIGINAL_QUALITY" => QUALITY_ID::LEGEND,
  2839. "MIN_LEVEL" => 0,
  2840. "MAX_LEVEL" => 15,
  2841. "MIN_EFFICIENCY" => 0,
  2842. "MAX_EFFICIENCY" => 100,
  2843. "MIN_MAX_EFFICIENCY" => 0,
  2844. "MAX_MAX_EFFICIENCY" => 100,
  2845. "ASSIGNED" => 1
  2846. ];
  2847. /**
  2848. * Default values for the enchantment filters.
  2849. */
  2850. const ENCHANTMENT = [
  2851. "TYPE" => [],
  2852. "RUNE" => [],
  2853. "STAT" => [],
  2854. "MIN_QUALITY" => QUALITY_ID::NORMAL,
  2855. "MAX_QUALITY" => QUALITY_ID::LEGEND,
  2856. ];
  2857. /**
  2858. * Default values for the run filters.
  2859. */
  2860. const RUN = [
  2861. "AREA_TYPE" => 0,
  2862. "AREA" => 0,
  2863. "STAGE" => 0,
  2864. "DIFFICULTY" => 0,
  2865. "DATE_MIN" => null,
  2866. "DATE_MAX" => null,
  2867. "DEFEAT" => false,
  2868. "HELPER" => false,
  2869. "NUMBER" => 20,
  2870. ];
  2871. /**
  2872. * Default values for the rune team filters.
  2873. */
  2874. const TEAM = [
  2875. "NAME" => "",
  2876. "AREA" => null
  2877. ];
  2878. /**
  2879. * Default values for the rune team filters.
  2880. */
  2881. const STATS = [
  2882. "AREA_TYPE" => null,
  2883. "AREA" => null,
  2884. "STAGE" => null,
  2885. "DIFFICULTY" => null,
  2886. "INCLUDE_HELPER" => false
  2887. ];
  2888. };
  2889. ?>