char create qq ordered, item scaling start
This commit is contained in:
parent
a1905f129c
commit
5f741e9286
@ -8,14 +8,21 @@ class CHAR_CREATE extends \SYSTEM\DB\QP {
|
||||
'',
|
||||
//mys
|
||||
'INSERT INTO `characters` (`guid`, `account`, `name`, `race`, `class`, `gender`, `level`, `xp`, `money`,'.
|
||||
'`playerBytes`, `playerBytes2`, `playerFlags`, `position_x`, `position_y`, `position_z`, `map`, `orientation`,'.
|
||||
'`taximask`, `online`, `cinematic`, `totaltime`, `leveltime`, `logout_time`, `is_logout_resting`, `rest_bonus`,'.
|
||||
'`playerBytes`, `playerBytes2`, `playerFlags`, `position_x`, `position_y`, `position_z`, `map`, `orientation`,'.
|
||||
'`taximask`, `online`, `cinematic`, `totaltime`, `leveltime`, `logout_time`, `is_logout_resting`, `rest_bonus`,'.
|
||||
'`resettalents_cost`, `resettalents_time`, `trans_x`, `trans_y`, `trans_z`, `trans_o`, `transguid`, `extra_flags`,'.
|
||||
'`stable_slots`, `at_login`, `zone`, `death_expire_time`, `taxi_path`, `honor_highest_rank`, `honor_standing`,'.
|
||||
'`stored_honor_rating`, `stored_dishonorable_kills`, `stored_honorable_kills`, `watchedFaction`, `drunk`,'.
|
||||
'`health`, `power1`, `power2`, `power3`, `power4`, `power5`, `exploredZones`, `equipmentCache`, `ammoId`,'.
|
||||
'`actionBars`, `deleteInfos_Account`, `deleteInfos_Name`, `deleteDate`)'.
|
||||
' VALUES (?, ?, ?, ?, ?, ?, 60, 0, 0, 151061250, 33554438, 32, -4995.83, -863.73, 497.037, 0, 5.33359, "2 0 0 0 0 0 0 0 ", 0, 1, 554, 554, 1403118410, 1, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 1537, 0, "", 0, 0, 0, 0, 0, 4294967295, 0, 2201, 2282, 0, 0, 100, 0, "0 0 0 545259520 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 524288 131072 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ", "0 0 0 0 0 0 45 0 0 0 0 0 44 0 43 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2361 0 0 0 0 0 0 0 ", 0, 0, NULL, NULL, NULL);',
|
||||
' VALUES (?, ?, ?, ?, ?, ?, 60, 0, 0,'.
|
||||
'151061250, 33554438, 32, -4995.83, -863.73, 497.037, 0, 5.33359, '.
|
||||
'"2 0 0 0 0 0 0 0 ", 0, 0, 0, 0, 0, 0, 0, '.
|
||||
'0, 0, 0, 0, 0, 0, 0, 2, '.
|
||||
'0, 0, 1537, 0, "", 0, 0, '.
|
||||
'0, 0, 0, 0, 0, '.
|
||||
'2201, 2282, 0, 0, 100, 0, "0 0 0 545259520 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 524288 131072 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ", "0 0 0 0 0 0 45 0 0 0 0 0 44 0 43 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2361 0 0 0 0 0 0 0 ", 0, '.
|
||||
'0, NULL, NULL, NULL);',
|
||||
new \DBD\mangos_chars()
|
||||
);}}
|
||||
|
||||
|
||||
16
mojotrollz/api/database/item_scaling.sql
Normal file
16
mojotrollz/api/database/item_scaling.sql
Normal file
@ -0,0 +1,16 @@
|
||||
SELECT name,requiredlevel,COUNT(*) as count, quality,bonding,inventorytype,
|
||||
avg(itemlevel),min(itemlevel),max(itemlevel),
|
||||
avg(maxdurability),min(maxdurability),max(maxdurability),
|
||||
avg(armor),min(armor),max(armor),
|
||||
avg(holy_res),min(holy_res),max(holy_res),
|
||||
avg(fire_res),min(fire_res),max(fire_res),
|
||||
avg(nature_res),min(nature_res),max(nature_res),
|
||||
avg(frost_res),min(frost_res),max(frost_res),
|
||||
avg(shadow_res),min(shadow_res),max(shadow_res),
|
||||
avg(arcane_res),min(arcane_res),max(arcane_res),
|
||||
avg(dmg_min1),min(dmg_min1),max(dmg_min1),
|
||||
avg(dmg_max1),min(dmg_max1),max(dmg_max1),
|
||||
avg(buyprice),min(buyprice),max(buyprice),
|
||||
avg(sellprice),min(sellprice),max(sellprice)
|
||||
FROM item_template
|
||||
GROUP BY quality,bonding,inventorytype,requiredlevel;
|
||||
Loading…
x
Reference in New Issue
Block a user