I have weapon donation
this weapon donation can't be trade, drop and destroy
so im copy from table "weapon"
and insert to "custom_weapon"
Code: Select all
INSERT INTO `custom_weapon` (`item_id`, `name`, `bodypart`, `crystallizable`, `weight`, `soulshots`, `spiritshots`, `material`, `crystal_type`, `p_dam`, `rnd_dam`, `weaponType`, `critical`, `hit_modify`, `avoid_modify`, `shield_def`, `shield_def_rate`, `atk_speed`, `mp_consume`, `m_dam`, `duration`, `time`, `price`, `crystal_count`, `sellable`, `dropable`, `destroyable`, `tradeable`, `depositable`, `enchant4_skill_id`, `enchant4_skill_lvl`, `onCast_skill_id`, `onCast_skill_lvl`, `onCast_skill_chance`, `onCrit_skill_id`, `onCrit_skill_lvl`, `onCrit_skill_chance`, `change_weaponId`, `skill`) VALUES(960688, 'Vesper Buster - Acumen', 'rhand', 'true', 1520, 1, 1, 'fine_steel', 's84', 317, 10, 'sword', 8, 0.00000, 0, 0, 0, 379, 0, 234, -1, -1, 146873000, 7050, 'false', 'false', 'false', 'false', 'true', 0, 0, 0, 0, 0, 0, 0, 0, 0, '3047-3;');
how to make copy item ?