-- Earthen AA line UF
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES ('8263', 'Earthen Brawn', '5', '5', '4294967295', '4294967295', '8263', '8263', '1', '4294967295', '7357', '5', '0', '0', '65534', '1', '81', '0', '16', '4294967295', '1', '0', '10', '8263', '6', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES ('8268', 'Earthen Stability', '5', '5', '4294967295', '4294967295', '8268', '8268', '1', '4294967295', '7357', '5', '0', '0', '65534', '1', '81', '0', '16', '4294967295', '1', '0', '10', '8268', '6', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES ('8273', 'Earthen Alacrity', '5', '5', '4294967295', '4294967295', '8273', '8273', '1', '4294967295', '7357', '5', '0', '0', '65534', '1', '81', '0', '16', '4294967295', '1', '0', '10', '8273', '6', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES ('8278', 'Earthen Artistry', '5', '5', '4294967295', '4294967295', '8278', '8278', '1', '4294967295', '7357', '5', '0', '0', '65534', '1', '81', '0', '16', '4294967295', '1', '0', '10', '8278', '6', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES ('8283', 'Earthen Sagacity', '5', '5', '4294967295', '4294967295', '8283', '8283', '1', '4294967295', '7357', '5', '0', '0', '65534', '1', '81', '0', '16', '4294967295', '1', '0', '10', '8283', '6', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES ('8288', 'Earthen Brilliance', '5', '5', '4294967295', '4294967295', '8288', '8288', '1', '4294967295', '7357', '5', '0', '0', '65534', '1', '81', '0', '16', '4294967295', '1', '0', '10', '8288', '6', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES ('8293', 'Earthen Allure', '5', '5', '4294967295', '4294967295', '8293', '8293', '1', '4294967295', '7357', '5', '0', '0', '65534', '1', '81', '0', '16', '4294967295', '1', '0', '10', '8293', '6', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8263', '1', '262', '5', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8264', '1', '262', '10', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8265', '1', '262', '15', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8266', '1', '262', '20', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8267', '1', '262', '25', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8268', '1', '262', '5', '1');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8269', '1', '262', '10', '1');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8270', '1', '262', '15', '1');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8271', '1', '262', '20', '1');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8272', '1', '262', '25', '1');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8273', '1', '262', '5', '2');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8274', '1', '262', '10', '2');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8275', '1', '262', '15', '2');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8276', '1', '262', '20', '2');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8277', '1', '262', '25', '2');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8278', '1', '262', '5', '3');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8279', '1', '262', '10', '3');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8280', '1', '262', '15', '3');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8281', '1', '262', '20', '3');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8282', '1', '262', '25', '3');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8283', '1', '262', '5', '4');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8284', '1', '262', '10', '4');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8285', '1', '262', '15', '4');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8286', '1', '262', '20', '4');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8287', '1', '262', '25', '4');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8288', '1', '262', '5', '5');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8289', '1', '262', '10', '5');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8290', '1', '262', '15', '5');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8291', '1', '262', '20', '5');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8292', '1', '262', '25', '5');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8293', '1', '262', '5', '6');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8294', '1', '262', '10', '6');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8295', '1', '262', '15', '6');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8296', '1', '262', '20', '6');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8297', '1', '262', '25', '6');

-- Planar Power 
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES ('4678', 'Planar Power III', '5', '5', '4294967295', '4294967295', '418', '418', '4', '4294967295', '1001', '5', '0', '0', '65534', '1', '71', '0', '12', '4294967295', '1', '0', '10', '418', '4', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES ('7547', 'Planar Power IV', '5', '5', '4294967295', '4294967295', '418', '418', '4', '4294967295', '4678', '5', '0', '0', '65534', '1', '81', '0', '15', '4294967295', '1', '0', '10', '418', '5', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4678', '1', '262', '5', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4679', '1', '262', '10', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4680', '1', '262', '15', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4681', '1', '262', '20', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4682', '1', '262', '25', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4678', '2', '262', '5', '1');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4679', '2', '262', '10', '1');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4680', '2', '262', '15', '1');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4681', '2', '262', '20', '1');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4682', '2', '262', '25', '1');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4678', '3', '262', '5', '2');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4679', '3', '262', '10', '2');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4680', '3', '262', '15', '2');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4681', '3', '262', '20', '2');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4682', '3', '262', '25', '2');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4678', '4', '262', '5', '3');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4679', '4', '262', '10', '3');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4680', '4', '262', '15', '3');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4681', '4', '262', '20', '3');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4682', '4', '262', '25', '3');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4678', '5', '262', '5', '4');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4679', '5', '262', '10', '4');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4680', '5', '262', '15', '4');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4681', '5', '262', '20', '4');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4682', '5', '262', '25', '4');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4678', '6', '262', '5', '5');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4679', '6', '262', '10', '5');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4680', '6', '262', '15', '5');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4681', '6', '262', '20', '5');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4682', '6', '262', '25', '5');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4678', '7', '262', '5', '6');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4679', '7', '262', '10', '6');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4680', '7', '262', '15', '6');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4681', '7', '262', '20', '6');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4682', '7', '262', '25', '6');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7547', '1', '262', '5', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7548', '1', '262', '10', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7549', '1', '262', '15', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7550', '1', '262', '20', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7551', '1', '262', '25', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7547', '2', '262', '5', '1');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7548', '2', '262', '10', '1');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7549', '2', '262', '15', '1');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7550', '2', '262', '20', '1');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7551', '2', '262', '25', '1');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7547', '3', '262', '5', '2');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7548', '3', '262', '10', '2');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7549', '3', '262', '15', '2');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7550', '3', '262', '20', '2');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7551', '3', '262', '25', '2');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7547', '4', '262', '5', '3');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7548', '4', '262', '10', '3');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7549', '4', '262', '15', '3');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7550', '4', '262', '20', '3');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7551', '4', '262', '25', '3');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7537', '5', '262', '5', '4');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7538', '5', '262', '10', '4');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7539', '5', '262', '15', '4');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7540', '5', '262', '20', '4');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7541', '5', '262', '25', '4');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7547', '6', '262', '5', '5');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7548', '6', '262', '10', '5');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7549', '6', '262', '15', '5');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7550', '6', '262', '20', '5');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7551', '6', '262', '25', '5');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7547', '7', '262', '5', '6');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7548', '7', '262', '10', '6');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7549', '7', '262', '15', '6');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7550', '7', '262', '20', '6');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7551', '7', '262', '25', '6');


-- Critical Affliction
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES  ('767', 'Critical Affliction', '3', '3', '4294967295', '4294967295', '9191', '9192', '6', '4294967295', '0', '0', '0', '0', '36192', '0', '65', '3', '7', '4294967295', '2', '0', '1', '767', '1', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES  ('1099', 'Improved Critical Affliction', '3', '3', '4294967295', '4294967295', '30456', '30457', '7', '4294967295', '767', '3', '0', '0', '36192', '0', '67', '3', '8', '4294967295', '2', '0', '1', '767', '1', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES  ('12423', 'Critical Affliction III', '9', '3', '4294967295', '4294967295', '767', '767', '7', '4294967295', '1099', '3', '0', '0', '36192', '0', '81', '3', '16', '4294967295', '2', '0', '1', '767', '6', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('767', '1', '273', '3', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('768', '1', '273', '6', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('769', '1', '273', '9', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1099', '1', '273', '3', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1100', '1', '273', '6', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1101', '1', '273', '9', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12423', '1', '273', '3', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12424', '1', '273', '6', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12425', '1', '273', '9', '0');

-- Persistent Casting
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES  ('692', 'Persistent Casting', '3', '3', '4294967295', '4294967295', '9187', '9188', '6', '4294967295', '0', '0', '0', '0', '64892', '0', '55', '3', '7', '4294967295', '2', '0', '1', '692', '1', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES  ('7647', 'Persistent Casting II', '6', '3', '4294967295', '4294967295', '692', '692', '6', '4294967295', '692', '3', '0', '0', '64892', '0', '81', '0', '15', '4294967295', '2', '0', '1', '692', '5', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES  ('7670', 'Persistent Casting III', '7', '3', '4294967295', '4294967295', '692', '692', '6', '4294967295', '7647', '3', '0', '0', '64892', '0', '85', '2', '16', '4294967295', '2', '0', '1', '692', '6', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('692', '1', '229', '5', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('693', '1', '229', '10', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('694', '1', '229', '15', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7647', '1', '229', '5', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7648', '1', '229', '10', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7649', '1', '229', '15', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7670', '1', '229', '5', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7671', '1', '229', '10', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7672', '1', '229', '15', '0');

-- Cascading Life (Level 70 +5)
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES  ('8224', 'Cascade of Life', '5', '3', '4294967295', '4294967295', '8224', '8224', '7', '4294967295', '1486', '5', '0', '0', '1092', '0', '75', '0', '15', '4294967295', '2', '0', '1', '8224', '5', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8224', '1', '339', '10', '16230');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8224', '2', '138', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8224', '3', '141', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8224', '4', '142', '60', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8224', '5', '137', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8224', '6', '311', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8224', '7', '134', '80', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8224', '8', '139', '-265', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8224', '9', '139', '-754', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8224', '10', '139', '-1332', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8224', '11', '139', '-1572', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8224', '12', '139', '-2749', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8224', '13', '139', '-4979', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8224', '14', '139', '-5418', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8224', '15', '139', '-5403', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8225', '1', '339', '10', '16231');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8225', '2', '138', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8225', '3', '141', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8225', '4', '142', '65', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8225', '5', '137', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8225', '6', '311', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8225', '7', '134', '85', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8225', '8', '139', '-265', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8225', '9', '139', '-754', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8225', '10', '139', '-1332', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8225', '11', '139', '-1572', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8225', '12', '139', '-2749', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8225', '13', '139', '-4979', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8225', '14', '139', '-5418', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8225', '15', '139', '-5403', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8226', '1', '339', '10', '16232');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8226', '2', '138', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8226', '3', '141', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8226', '4', '142', '70', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8226', '5', '137', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8226', '6', '311', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8226', '7', '134', '90', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8226', '8', '139', '-265', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8226', '9', '139', '-754', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8226', '10', '139', '-1332', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8226', '11', '139', '-1572', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8226', '12', '139', '-2749', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8226', '13', '139', '-4979', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8226', '14', '139', '-5418', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8226', '15', '139', '-5403', '0');
	
-- Total Domination 
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('649', '1', '243', '15', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('650', '1', '243', '35', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('651', '1', '243', '50', '0');

-- Coat of Thistles
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES  ('867', 'Coat of Thistles', '5', '5', '4294967295', '4294967295', '867', '867', '6', '0', '0', '0', '0', '0', '16', '0', '65', '0', '7', '4294967295', '2', '0', '1', '867', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('867', '1', '59', '-3', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('868', '1', '59', '-6', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('869', '1', '59', '-9', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('870', '1', '59', '-12', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('871', '1', '59', '-15', '0');

-- Abundant Heal updates.
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES  ('1486', 'Abundant Healing', '5', '5', '4294967295', '4294967295', '1486', '1486', '7', '0', '1086', '3', '0', '0', '1092', '0', '66', '0', '10', '4294967295', '2', '0', '15', '1486', '1', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES  ('5529', 'Abundant Healing II', '7', '5', '4294967295', '4294967295', '1486', '1486', '7', '0', '1486', '5', '0', '0', '1092', '0', '76', '2', '14', '4294967295', '2', '0', '1', '1486', '4', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES  ('7554', 'Abundant Healing III', '7', '5', '4294967295', '4294967295', '1486', '1486', '7', '0', '5529', '5', '0', '0', '1092', '0', '81', '2', '15', '4294967295', '2', '0', '1', '1486', '5', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1486', '1', '339', '1', '8164');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1486', '2', '138', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1486', '3', '141', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1486', '4', '142', '60', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1486', '5', '137', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1486', '6', '311', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1486', '7', '134', '75', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1486', '8', '139', '-265', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1486', '9', '139', '-754', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1486', '10', '139', '-1332', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1486', '11', '139', '-1572', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1486', '12', '139', '-2749', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1486', '13', '139', '-4979', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1486', '14', '139', '-5418', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1486', '15', '139', '-5403', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1486', '16', '348', '10', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1487', '1', '339', '3', '8165');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1487', '2', '138', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1487', '3', '141', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1487', '4', '142', '60', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1487', '5', '137', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1487', '6', '311', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1487', '7', '134', '75', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1487', '8', '139', '-265', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1487', '9', '139', '-754', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1487', '10', '139', '-1332', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1487', '11', '139', '-1572', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1487', '12', '139', '-2749', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1487', '13', '139', '-4979', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1487', '14', '139', '-5418', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1487', '15', '139', '-5403', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1487', '16', '348', '10', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1488', '1', '339', '5', '8166');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1488', '2', '138', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1488', '3', '141', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1488', '4', '142', '60', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1488', '5', '137', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1488', '6', '311', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1488', '7', '134', '75', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1488', '8', '139', '-265', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1488', '9', '139', '-754', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1488', '10', '139', '-1332', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1488', '11', '139', '-1572', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1488', '12', '139', '-2749', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1488', '13', '139', '-4979', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1488', '14', '139', '-5418', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1488', '15', '139', '-5403', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1488', '16', '348', '10', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1489', '1', '339', '7', '8167');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1489', '2', '138', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1489', '3', '141', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1489', '4', '142', '60', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1489', '5', '137', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1489', '6', '311', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1489', '7', '134', '75', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1489', '8', '139', '-265', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1489', '9', '139', '-754', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1489', '10', '139', '-1332', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1489', '11', '139', '-1572', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1489', '12', '139', '-2749', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1489', '13', '139', '-4979', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1489', '14', '139', '-5418', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1489', '15', '139', '-5403', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1489', '16', '348', '10', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1490', '1', '339', '9', '8168');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1490', '2', '138', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1490', '3', '141', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1490', '4', '142', '60', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1490', '5', '137', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1490', '6', '311', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1490', '7', '134', '75', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1490', '8', '139', '-265', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1490', '9', '139', '-754', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1490', '10', '139', '-1332', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1490', '11', '139', '-1572', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1490', '12', '139', '-2749', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1490', '13', '139', '-4979', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1490', '14', '139', '-5418', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1490', '15', '139', '-5403', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1490', '16', '348', '10', '0');

-- AH II

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5529', '1', '339', '19', '12684');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5529', '2', '138', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5529', '3', '141', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5529', '4', '142', '60', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5529', '5', '137', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5529', '6', '311', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5529', '7', '134', '75', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5529', '8', '139', '-265', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5529', '9', '139', '-754', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5529', '10', '139', '-1332', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5529', '11', '139', '-1572', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5529', '12', '139', '-2749', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5529', '13', '139', '-4979', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5529', '14', '139', '-5418', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5529', '15', '139', '-5403', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5529', '16', '348', '10', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5530', '1', '339', '11', '12680');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5530', '2', '138', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5530', '3', '141', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5530', '4', '142', '60', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5530', '5', '137', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5530', '6', '311', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5530', '7', '134', '75', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5530', '8', '139', '-265', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5530', '9', '139', '-754', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5530', '10', '139', '-1332', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5530', '11', '139', '-1572', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5530', '12', '139', '-2749', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5530', '13', '139', '-4979', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5530', '14', '139', '-5418', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5530', '15', '139', '-5403', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5530', '16', '348', '10', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5531', '1', '339', '13', '12681');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5531', '2', '138', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5531', '3', '141', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5531', '4', '142', '60', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5531', '5', '137', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5531', '6', '311', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5531', '7', '134', '75', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5531', '8', '139', '-265', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5531', '9', '139', '-754', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5531', '10', '139', '-1332', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5531', '11', '139', '-1572', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5531', '12', '139', '-2749', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5531', '13', '139', '-4979', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5531', '14', '139', '-5418', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5531', '15', '139', '-5403', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5531', '16', '348', '10', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5532', '1', '339', '15', '12682');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5532', '2', '138', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5532', '3', '141', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5532', '4', '142', '60', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5532', '5', '137', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5532', '6', '311', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5532', '7', '134', '75', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5532', '8', '139', '-265', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5532', '9', '139', '-754', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5532', '10', '139', '-1332', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5532', '11', '139', '-1572', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5532', '12', '139', '-2749', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5532', '13', '139', '-4979', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5532', '14', '139', '-5418', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5532', '15', '139', '-5403', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5532', '16', '348', '10', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5533', '1', '339', '17', '12683');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5533', '2', '138', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5533', '3', '141', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5533', '4', '142', '60', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5533', '5', '137', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5533', '6', '311', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5533', '7', '134', '75', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5533', '8', '139', '-265', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5533', '9', '139', '-754', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5533', '10', '139', '-1332', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5533', '11', '139', '-1572', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5533', '12', '139', '-2749', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5533', '13', '139', '-4979', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5533', '14', '139', '-5418', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5533', '15', '139', '-5403', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5533', '16', '348', '10', '0');

-- AH3

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7554', '1', '339', '21', '16194');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7554', '2', '138', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7554', '3', '141', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7554', '4', '142', '60', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7554', '5', '137', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7554', '6', '311', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7554', '7', '134', '75', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7554', '8', '139', '-265', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7554', '9', '139', '-754', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7554', '10', '139', '-1332', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7554', '11', '139', '-1572', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7554', '12', '139', '-2749', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7554', '13', '139', '-4979', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7554', '14', '139', '-5418', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7554', '15', '139', '-5403', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7554', '16', '348', '10', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7555', '1', '339', '23', '16195');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7555', '2', '138', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7555', '3', '141', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7555', '4', '142', '60', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7555', '5', '137', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7555', '6', '311', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7555', '7', '134', '75', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7555', '8', '139', '-265', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7555', '9', '139', '-754', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7555', '10', '139', '-1332', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7555', '11', '139', '-1572', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7555', '12', '139', '-2749', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7555', '13', '139', '-4979', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7555', '14', '139', '-5418', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7555', '15', '139', '-5403', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7555', '16', '348', '10', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7556', '1', '339', '25', '16196');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7556', '2', '138', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7556', '3', '141', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7556', '4', '142', '60', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7556', '5', '137', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7556', '6', '311', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7556', '7', '134', '75', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7556', '8', '139', '-265', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7556', '9', '139', '-754', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7556', '10', '139', '-1332', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7556', '11', '139', '-1572', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7556', '12', '139', '-2749', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7556', '13', '139', '-4979', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7556', '14', '139', '-5418', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7556', '15', '139', '-5403', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7556', '16', '348', '10', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7557', '1', '339', '27', '16417');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7557', '2', '138', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7557', '3', '141', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7557', '4', '142', '60', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7557', '5', '137', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7557', '6', '311', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7557', '7', '134', '75', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7557', '8', '139', '-265', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7557', '9', '139', '-754', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7557', '10', '139', '-1332', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7557', '11', '139', '-1572', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7557', '12', '139', '-2749', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7557', '13', '139', '-4979', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7557', '14', '139', '-5418', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7557', '15', '139', '-5403', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7557', '16', '348', '10', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7558', '1', '339', '29', '16418');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7558', '2', '138', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7558', '3', '141', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7558', '4', '142', '60', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7558', '5', '137', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7558', '6', '311', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7558', '7', '134', '75', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7558', '8', '139', '-265', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7558', '9', '139', '-754', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7558', '10', '139', '-1332', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7558', '11', '139', '-1572', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7558', '12', '139', '-2749', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7558', '13', '139', '-4979', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7558', '14', '139', '-5418', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7558', '15', '139', '-5403', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7558', '16', '348', '10', '0');

-- Destructive Fury updates.
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES  ('4755', 'Destructive Fury II', '6', '3', '4294967295', '4294967295', '1210', '1210', '7', '4294967295', '1210', '3', '0', '0', '27716', '0', '71', '1', '12', '4294967295', '2', '0', '1', '1210', '4', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES  ('5557', 'Destructive Fury III', '7', '3', '4294967295', '4294967295', '1210', '1210', '7', '4294967295', '4755', '3', '0', '0', '27716', '0', '76', '2', '14', '4294967295', '2', '0', '1', '1210', '4', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES  ('7582', 'Destructive Fury IV', '8', '3', '4294967295', '4294967295', '1210', '1210', '7', '4294967295', '5557', '3', '0', '0', '27716', '0', '81', '2', '15', '4294967295', '2', '0', '1', '1210', '5', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1210', '1', '294', '0', '107');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1211', '1', '294', '0', '116');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1212', '1', '294', '0', '125');
-- 140max
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4755', '1', '294', '0', '105');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4756', '1', '294', '0', '110');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4757', '1', '294', '0', '115');
-- 160max
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5557', '1', '294', '0', '110');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5558', '1', '294', '0', '115');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5559', '1', '294', '0', '120');
-- 200 max
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7582', '1', '294', '0', '120');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7583', '1', '294', '0', '130');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7584', '1', '294', '0', '140');

-- Healing Gift updates.
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES  ('80', 'Healing Gift', '2', '3', '4294967295', '4294967295', '13536', '13537', '2', '4294967295', '4294967295', '0', '0', '0', '33884', '0', '55', '2', '3', '4294967295', '2', '0', '1', '80', '1', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES  ('437', 'Advanced Healing Gift', '2', '3', '4294967295', '4294967295', '5580', '5581', '5', '4294967295', '80', '3', '0', '0', '33884', '0', '62', '2', '4', '4294967295', '2', '0', '1', '80', '1', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES  ('1086', 'Healing Gift Mastery', '3', '3', '4294967295', '4294967295', '30404', '30405', '7', '4294967295', '437', '3', '0', '0', '33884', '0', '66', '3', '8', '4294967295', '2', '0', '1', '80', '1', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES  ('4779', 'Healing Gift IV', '6', '3', '4294967295', '4294967295', '30404', '30405', '7', '4294967295', '1086', '3', '0', '0', '33884', '0', '71', '1', '12', '4294967295', '2', '0', '1', '80', '4', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES  ('5592', 'Healing Gift V', '7', '3', '4294967295', '4294967295', '30404', '30405', '7', '4294967295', '4479', '3', '0', '0', '33884', '0', '76', '2', '14', '4294967295', '2', '0', '1', '80', '4', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES  ('7590', 'Healing Gift VI', '7', '3', '4294967295', '4294967295', '30404', '30405', '7', '4294967295', '5592', '3', '0', '0', '33884', '0', '81', '2', '15', '4294967295', '2', '0', '1', '80', '5', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES  ('12454', 'Healing Gift VII', '12', '3', '4294967295', '4294967295', '30404', '30405', '7', '4294967295', '7590', '0', '0', '0', '33884', '0', '85', '2', '16', '4294967295', '2', '0', '1', '80', '6', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4779', '1', '274', '26', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4780', '1', '274', '28', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4781', '1', '274', '30', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5592', '1', '274', '32', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5593', '1', '274', '33', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5594', '1', '274', '34', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7590', '1', '274', '35', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7591', '1', '274', '36', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7592', '1', '274', '37', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12452', '1', '274', '38', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12453', '1', '274', '39', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12454', '1', '274', '40', '0');

-- Gift of Mana/II/III/IV
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES  ('4773', 'Gift of Radiant Mana', '9', '1', '4294967295', '4294967295', '4773', '4773', '7', '0', '1435', '3', '0', '0', '31812', '0', '71', '0', '12', '4294967295', '2', '0', '1', '4773', '4', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES  ('6517', 'Gift of Exquisite Radiant Mana', '9', '1', '4294967295', '4294967295', '4773', '4773', '7', '0', '4773', '1', '0', '0', '31812', '0', '76', '0', '14', '4294967295', '2', '0', '1', '6517', '4', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES  ('7621', 'Gift of Amazing Exquisite Radiant Mana', '9', '1', '4294967295', '4294967295', '4773', '4773', '7', '0', '6517', '1', '0', '0', '31812', '0', '81', '0', '15', '4294967295', '2', '0', '1', '6517', '5', '0');
-- (1)	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1435', '1', '339', '3', '8105');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1435', '2', '142', '65', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1435', '3', '311', '0', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1435', '4', '134', '70', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1435', '5', '348', '10', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1435', '6', '137', '0', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1435', '7', '339', '3', '8105');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1435', '8', '142', '65', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1435', '9', '311', '0', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1435', '10', '134', '70', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1435', '11', '348', '10', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1435', '12', '137', '100', '0');	

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1435', '13', '339', '3', '8105');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1435', '14', '142', '65', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1435', '15', '311', '0', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1435', '16', '134', '70', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1435', '17', '348', '10', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1435', '18', '137', '79', '0');	

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1435', '19', '339', '3', '8105');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1435', '20', '142', '65', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1435', '21', '311', '0', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1435', '22', '134', '70', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1435', '23', '348', '10', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1435', '24', '137', '149', '0');
-- (2)
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1436', '1', '339', '6', '8105');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1436', '2', '142', '65', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1436', '3', '311', '0', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1436', '4', '134', '70', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1436', '5', '348', '10', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1436', '6', '137', '0', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1436', '7', '339', '6', '8105');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1436', '8', '142', '65', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1436', '9', '311', '0', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1436', '10', '134', '70', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1436', '11', '348', '10', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1436', '12', '137', '100', '0');	

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1436', '13', '339', '6', '8105');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1436', '14', '142', '65', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1436', '15', '311', '0', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1436', '16', '134', '70', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1436', '17', '348', '10', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1436', '18', '137', '79', '0');	

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1436', '19', '339', '6', '8105');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1436', '20', '142', '65', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1436', '21', '311', '0', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1436', '22', '134', '70', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1436', '23', '348', '10', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1436', '24', '137', '147', '0');
-- (3)
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1437', '1', '339', '10', '8105');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1437', '2', '142', '65', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1437', '3', '311', '0', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1437', '4', '134', '70', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1437', '5', '348', '10', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1437', '6', '137', '0', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1437', '7', '339', '10', '8105');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1437', '8', '142', '65', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1437', '9', '311', '0', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1437', '10', '134', '70', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1437', '11', '348', '10', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1437', '12', '137', '100', '0');	

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1437', '13', '339', '10', '8105');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1437', '14', '142', '65', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1437', '15', '311', '0', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1437', '16', '134', '70', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1437', '17', '348', '10', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1437', '18', '137', '79', '0');	

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1437', '19', '339', '10', '8105');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1437', '20', '142', '65', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1437', '21', '311', '0', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1437', '22', '134', '70', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1437', '23', '348', '10', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1437', '24', '137', '147', '0');
-- GoRM

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4773', '1', '339', '10', '11404');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4773', '2', '142', '71', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4773', '3', '311', '0', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4773', '4', '134', '75', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4773', '5', '348', '10', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4773', '6', '137', '0', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4773', '7', '339', '10', '11404');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4773', '8', '142', '71', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4773', '9', '311', '0', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4773', '10', '134', '75', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4773', '11', '348', '10', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4773', '12', '137', '100', '0');	

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4773', '13', '339', '10', '11404');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4773', '14', '142', '71', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4773', '15', '311', '0', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4773', '16', '134', '75', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4773', '17', '348', '10', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4773', '18', '137', '79', '0');	

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4773', '19', '339', '10', '11404');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4773', '20', '142', '71', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4773', '21', '311', '0', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4773', '22', '134', '75', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4773', '23', '348', '10', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4773', '24', '137', '149', '0');

-- GoERM
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6517', '1', '339', '10', '13199');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6517', '2', '142', '76', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6517', '3', '311', '0', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6517', '4', '134', '80', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6517', '5', '348', '10', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6517', '6', '137', '0', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6517', '7', '339', '10', '13199');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6517', '8', '142', '76', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6517', '9', '311', '0', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6517', '10', '134', '80', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6517', '11', '348', '10', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6517', '12', '137', '100', '0');	

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6517', '13', '339', '10', '13199');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6517', '14', '142', '76', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6517', '15', '311', '0', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6517', '16', '134', '80', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6517', '17', '348', '10', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6517', '18', '137', '79', '0');	

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6517', '19', '339', '10', '13199');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6517', '20', '142', '76', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6517', '21', '311', '0', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6517', '22', '134', '80', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6517', '23', '348', '10', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6517', '24', '137', '149', '0');

-- GoAERM
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7621', '1', '339', '10', '13830');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7621', '2', '142', '81', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7621', '3', '311', '0', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7621', '4', '134', '85', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7621', '5', '348', '10', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7621', '6', '137', '0', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7621', '7', '339', '10', '13830');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7621', '8', '142', '81', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7621', '9', '311', '0', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7621', '10', '134', '85', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7621', '11', '348', '10', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7621', '12', '137', '100', '0');	

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7621', '13', '339', '10', '13830');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7621', '14', '142', '81', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7621', '15', '311', '0', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7621', '16', '134', '85', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7621', '17', '348', '10', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7621', '18', '137', '79', '0');	

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7621', '19', '339', '10', '13830');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7621', '20', '142', '81', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7621', '21', '311', '0', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7621', '22', '134', '85', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7621', '23', '348', '10', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7621', '24', '137', '149', '0');
		
		
	
-- END WARRIOR General/Archetype

-- Armor of Wisdom I+II - Warriors
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES  ('8235', 'Armor of Wisdom', '6', '5', '4294967295', '4294967295', '8235', '8235', '7', '4294967295', '0', '0', '0', '0', '2', '0', '81', '0', '15', '4294967295', '2', '0', '1', '8235', '5', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES  ('8305', 'Armor of Wisdom II', '6', '5', '4294967295', '4294967295', '8235', '8235', '7', '4294967295', '0', '0', '0', '0', '2', '0', '85', '0', '16', '4294967295', '2', '0', '1', '8235', '6', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8235', '1', '1', '29', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8236', '1', '1', '58', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8237', '1', '1', '87', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8238', '1', '1', '116', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8239', '1', '1', '145', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8305', '1', '1', '174', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8306', '1', '1', '203', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8307', '1', '1', '232', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8308', '1', '1', '261', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8309', '1', '1', '290', '0');

-- Finishing Blow I-VII
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES  ('119', 'Finishing Blow', '2', '3', '4294967295', '4294967295', '13562', '13563', '2', '4294967295', '0', '0', '0', '0', '33722', '1', '55', '2', '3', '4294967295', '2', '0', '1', '119', '1', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES  ('440', 'Coup de Grace', '2', '3', '4294967295', '4294967295', '5618', '5619', '5', '4294967295', '119', '3', '0', '0', '33722', '1', '62', '0', '4', '4294967295', '2', '0', '1', '119', '1', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES  ('1053', 'Deathblow', '3', '3', '4294967295', '4294967295', '30272', '30273', '7', '4294967295', '440', '3', '0', '0', '33722', '1', '66', '0', '8', '4294967295', '2', '0', '1', '119', '1', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES  ('4721', 'Finishing Blow IV', '3', '3', '4294967295', '4294967295', '119', '119', '7', '4294967295', '1053', '3', '0', '0', '33722', '1', '71', '0', '12', '4294967295', '2', '0', '1', '119', '4', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES  ('5554', 'Finishing Blow V', '7', '3', '4294967295', '4294967295', '119', '119', '7', '4294967295', '4721', '3', '0', '0', '33722', '1', '76', '2', '14', '4294967295', '2', '0', '1', '119', '4', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES  ('7565', 'Finishing Blow VI', '7', '3', '4294967295', '4294967295', '119', '119', '7', '4294967295', '5554', '3', '0', '0', '33722', '1', '81', '2', '15', '4294967295', '2', '0', '1', '119', '4', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES  ('6023', 'Finishing Blow VII', '12', '3', '4294967295', '4294967295', '119', '119', '7', '4294967295', '7565', '3', '0', '0', '33722', '1', '85', '0', '16', '4294967295', '2', '0', '1', '119', '6', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('199', '1', '278', '500', '32000');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('199', '2', '440', '50', '200');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('200', '1', '278', '500', '32000');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('200', '2', '440', '52', '200');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('201', '1', '278', '500', '32000');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('201', '2', '440', '54', '200');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('440', '1', '278', '550', '50800');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('440', '2', '440', '56', '200');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('441', '1', '278', '550', '50800');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('441', '2', '440', '58', '200');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('442', '1', '278', '550', '50800');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('442', '2', '440', '60', '200');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1053', '1', '278', '600', '65440');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1053', '2', '440', '61', '200');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1054', '1', '278', '600', '65440');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1054', '2', '440', '63', '200');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1055', '1', '278', '600', '65440');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1055', '2', '440', '65', '200');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4721', '1', '278', '670', '82600');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4721', '2', '440', '66', '200');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4722', '1', '278', '670', '82600');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4722', '2', '440', '68', '200');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4723', '1', '278', '670', '82600');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4723', '2', '440', '70', '200');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5554', '1', '278', '750', '102280');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5554', '2', '440', '71', '200');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5555', '1', '278', '750', '102280');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5555', '2', '440', '73', '200');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5556', '1', '278', '750', '102280');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5556', '2', '440', '75', '200');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7565', '1', '278', '900', '124480');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7565', '2', '440', '76', '200');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7566', '1', '278', '900', '124480');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7566', '2', '440', '78', '200');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7567', '1', '278', '900', '124480');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7567', '2', '440', '80', '200');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6023', '1', '278', '900', '132440');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6023', '2', '440', '82', '200');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6024', '1', '278', '900', '149200');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6024', '2', '440', '84', '200');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6025', '1', '278', '900', '149200');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6025', '2', '440', '86', '200');

-- Killing Spree I-III
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES   ('4739', 'Killing Spree', '3', '3', '4294967295', '4294967295', '4739', '4739', '7', '4294967295', '0', '0', '0', '0', '642', '1', '71', '3', '12', '4294967295', '2', '0', '1', '4739', '4', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES   ('5562', 'Killing Spree II', '7', '3', '4294967295', '4294967295', '4739', '4739', '7', '4294967295', '4739', '3', '0', '0', '642', '1', '76', '2', '14', '4294967295', '2', '0', '1', '4739', '4', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES   ('7573', 'Killing Spree III', '7', '3', '4294967295', '4294967295', '4739', '4739', '7', '4294967295', '5562', '3', '0', '0', '642', '1', '76', '2', '15', '4294967295', '2', '0', '1', '4739', '5', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4739', '1', '360', '10', '11023');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4740', '1', '360', '20', '11023');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4741', '1', '360', '30', '11023');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5562', '1', '360', '40', '11023');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5563', '1', '360', '50', '11023');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5564', '1', '360', '60', '11023');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7573', '1', '360', '70', '11023');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7574', '1', '360', '80', '11023');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7575', '1', '360', '90', '11023');

-- Empowered Ingenuity
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES   ('8198', 'Empowered Ingenuity', '4', '3', '4294967295', '4294967295', '8198', '8198', '7', '4294967295', '625', '3', '0', '0', '642', '1', '65', '0', '15', '4294967295', '2', '0', '1', '8198', '5', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8198', '1', '294', '0', '110');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8199', '1', '294', '0', '120');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8200', '1', '294', '0', '130');

-- Ingenuity II-III
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES   ('4733', 'Ingenuity II', '3', '3', '4294967295', '4294967295', '4733', '4733', '5', '4294967295', '625', '3', '0', '0', '642', '1', '71', '0', '12', '4294967295', '2', '0', '1', '625', '4', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES   ('7641', 'Ingenuity III', '3', '3', '4294967295', '4294967295', '4733', '4733', '5', '4294967295', '4733', '3', '0', '0', '642', '1', '76', '0', '15', '4294967295', '2', '0', '1', '625', '5', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('625', '1', '294', '3', '100');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('626', '1', '294', '6', '100');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('627', '1', '294', '9', '100');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4733', '1', '294', '11', '100');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4734', '1', '294', '13', '100');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4735', '1', '294', '15', '100');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7641', '1', '294', '17', '100');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7642', '1', '294', '19', '100');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7643', '1', '294', '21', '100');

-- Enhanced Aggression I-V
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES   ('1592', 'Enhanced Aggression', '5', '5', '4294967295', '4294967295', '1592', '1592', '7', '4294967295', '0', '0', '0', '0', '33722', '1', '70', '0', '10', '4294967295', '2', '0', '1', '1592', '1', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES   ('4725', 'Enhanced Aggression II', '5', '5', '4294967295', '4294967295', '1592', '1592', '7', '4294967295', '1592', '5', '0', '0', '33722', '1', '71', '0', '12', '4294967295', '2', '0', '1', '1592', '4', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES   ('5557', 'Enhanced Aggression III', '5', '5', '4294967295', '4294967295', '1592', '8232', '7', '4294967295', '4725', '5', '0', '0', '33722', '1', '76', '0', '14', '4294967295', '2', '0', '1', '1592', '4', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES   ('7568', 'Enhanced Aggression IV', '5', '5', '4294967295', '4294967295', '1592', '1592', '7', '4294967295', '5557', '5', '0', '0', '33722', '1', '81', '0', '15', '4294967295', '2', '0', '1', '1592', '5', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES   ('12439', 'Enhanced Aggression V', '5', '5', '4294967295', '4294967295', '1592', '1592', '7', '4294967295', '7568', '5', '0', '0', '33722', '1', '85', '0', '16', '4294967295', '2', '0', '1', '1592', '6', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1592', '1', '341', '10', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1593', '1', '341', '20', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1594', '1', '341', '30', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1595', '1', '341', '40', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1596', '1', '341', '50', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4725', '1', '341', '10', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4726', '1', '341', '20', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4727', '1', '341', '30', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4728', '1', '341', '40', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4729', '1', '341', '50', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5557', '1', '341', '10', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5558', '1', '341', '20', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5559', '1', '341', '30', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5560', '1', '341', '40', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5561', '1', '341', '50', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7568', '1', '341', '10', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7569', '1', '341', '20', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7570', '1', '341', '30', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7571', '1', '341', '40', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7572', '1', '341', '50', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12439', '1', '341', '10', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12440', '1', '341', '20', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12441', '1', '341', '30', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12442', '1', '341', '40', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12443', '1', '341', '50', '0');

-- Extended Ingenuity I + II
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES   ('8232', 'Extended Ingenuity', '4', '5', '4294967295', '4294967295', '8232', '8232', '7', '4294967295', '0', '0', '0', '0', '642', '1', '65', '0', '15', '4294967295', '2', '0', '1', '8232', '5', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES   ('8261', 'Extended Ingenuity', '4', '1', '4294967295', '4294967295', '8232', '8232', '7', '4294967295', '8232', '5', '0', '0', '642', '1', '80', '0', '16', '4294967295', '2', '0', '1', '8232', '6', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8232', '1', '128', '5', '5');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8232', '1', '138', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8232', '1', '140', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8232', '1', '311', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8232', '1', '411', '66434', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8232', '1', '137', '-40', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8233', '1', '128', '15', '15');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8233', '1', '138', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8233', '1', '140', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8233', '1', '311', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8233', '1', '411', '66434', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8233', '1', '137', '-40', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8234', '1', '128', '25', '25');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8234', '1', '138', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8234', '1', '140', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8234', '1', '311', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8234', '1', '411', '66434', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8234', '1', '137', '-40', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8235', '1', '128', '35', '35');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8235', '1', '138', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8235', '1', '140', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8235', '1', '311', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8235', '1', '411', '66434', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8235', '1', '137', '-40', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8236', '1', '128', '50', '50');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8236', '1', '138', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8236', '1', '140', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8236', '1', '311', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8236', '1', '411', '66434', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8236', '1', '137', '-40', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8261', '1', '128', '65', '65');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8261', '1', '138', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8261', '1', '140', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8261', '1', '311', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8261', '1', '411', '66434', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8261', '1', '137', '-40', '0');

-- Ageless Emenity
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES   ('10367', 'Ageless Enmity', '12', '1', '10367', '10367', '10367', '10367', '7', '21751', '0', '0', '30', '360', '2', '0', '85', '0', '16', '4294967295', '2', '0', '1', '10367', '6', '0');
REPLACE INTO `aa_actions` (`aaid`, `rank`, `reuse_time`, `spell_id`, `target`, `nonspell_action`, `nonspell_mana`, `nonspell_duration`, `redux_aa`, `redux_rate`, `redux_aa2`, `redux_rate2`) VALUES  ('10367', '1', '360', '21751', '2', '0', '0', '0', '0', '0', '0', '0');

-- Punshing Blade III/IV [Data change for I+II] MAX: 25 
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES   ('5534', 'Punishing Blade III', '8', '3', '4294967295', '4294967295', '599', '599', '7', '4294967295', '1536', '3', '0', '0', '146', '1', '76', '2', '14', '4294967295', '2', '0', '1', '599', '4', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES   ('7659', 'Punishing Blade IV', '8', '3', '4294967295', '4294967295', '599', '599', '7', '4294967295', '5534', '3', '0', '0', '146', '1', '81', '2', '15', '4294967295', '2', '0', '1', '599', '5', '0');

REPLACE INTO  `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`) VALUES ( '599', '1', '266', '2', '0');
REPLACE INTO  `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`) VALUES ( '600', '1', '266', '4', '0');
REPLACE INTO  `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`) VALUES ( '601', '1', '266', '8', '0');

REPLACE INTO  `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`) VALUES ( '1536', '1', '266', '3', '0');
REPLACE INTO  `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`) VALUES ( '1537', '1', '266', '6', '0');
REPLACE INTO  `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`) VALUES ( '1538', '1', '266', '9', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5534', '1', '266', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5532', '1', '266', '3', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5536', '1', '266', '5', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7659', '1', '266', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7660', '1', '266', '2', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7661', '1', '266', '3', '0');

-- Shielding Resistance
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES   ('1181', 'Shielding Resistance', '3', '5', '4294967295', '4294967295', '1181', '1181', '7', '4294967295', '0', '0', '0', '0', '33682', '0', '70', '0', '8', '4294967295', '2', '0', '1', '1181', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1181', '1', '305', '-20', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1182', '1', '305', '-40', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1183', '1', '305', '-60', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1184', '1', '305', '-80', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1185', '1', '305', '-100', '0');

-- Slipperly Attacks
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1093', '1', '304', '-20', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1094', '1', '304', '-40', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1095', '1', '304', '-60', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1096', '1', '304', '-80', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1097', '1', '304', '-100', '0');

-- Hardy Endurance (level required 65 + 5)
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES   ('8215', 'Hard Endurance', '5', '5', '4294967295', '4294967295', '8215', '8215', '7', '4294967295', '0', '0', '0', '0', '642', '1', '65', '0', '15', '4294967295', '2', '0', '1', '8215', '5', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8215', '1', '190', '50', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8216', '1', '190', '100', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8217', '1', '190', '150', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8218', '1', '190', '200', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8219', '1', '190', '250', '0');

-- Heightened Endurance II/III/IV
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES   ('1036', 'Fitness', '5', '3', '4294967295', '4294967295', '1036', '1036', '7', '4294967295', '683', '3', '0', '0', '642', '1', '66', '0', '8', '4294967295', '2', '0', '1', '683', '1', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES   ('5130', 'Heightened Endurance III', '5', '5', '4294967295', '4294967295', '683', '683', '7', '4294967295', '1036', '3', '0', '0', '642', '1', '71', '0', '12', '4294967295', '2', '0', '1', '683', '1', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES   ('6080', 'Heightened Endurance IV', '5', '2', '4294967295', '4294967295', '683', '683', '7', '4294967295', '5130', '5', '0', '0', '642', '1', '75', '0', '14', '4294967295', '2', '0', '1', '683', '4', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES   ('7604', 'Heightened Endurance IV', '5', '2', '4294967295', '4294967295', '683', '683', '7', '4294967295', '6080', '2', '0', '0', '642', '1', '80', '0', '15', '4294967295', '2', '0', '1', '683', '5', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1036', '1', '189', '4', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1037', '1', '189', '5', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1039', '1', '189', '6', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5130', '1', '189', '7', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5131', '1', '189', '8', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5132', '1', '189', '9', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5133', '1', '189', '10', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5134', '1', '189', '11', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6080', '1', '189', '12', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6081', '1', '189', '13', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7604', '1', '189', '14', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7605', '1', '189', '15', '0');

-- Shield Block II/III 
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES   ('5516', 'Shield Block II', '8', '3', '4294967295', '4294967295', '1287', '1287', '7', '1287', '3', '0', '0', '0', '42', '0', '76', '1', '14', '4294967295', '2', '0', '1', '1287', '4', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES   ('12469', 'Shield Block III', '7', '3', '4294967295', '4294967295', '1287', '1287', '7', '5516', '3', '0', '0', '0', '42', '0', '81', '2', '16', '4294967295', '2', '0', '1', '1287', '6', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5516', '1', '320', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5517', '1', '320', '2', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5518', '1', '320', '3', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12469', '1', '320', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12470', '1', '320', '2', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12471', '1', '320', '3', '0');

-- Spell Casting Subtlty
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES  ('98', 'Spell Casting Subtlety', '2', '3', '4294967295', '4294967295', '13548', '13549', '2', '0', '0', '0', '0', '0', '30976', '0', '55', '2', '3', '4294967295', '2', '0', '1', '98', '1', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES  ('738', 'Spell Casting Subtlety', '3', '3', '4294967295', '4294967295', '738', '738', '6', '0', '0', '0', '0', '0', '1092', '0', '65', '3', '7', '4294967295', '2', '0', '1', '738', '1', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES  ('5317', 'Spell Casting Subtlety II', '4', '3', '4294967295', '4294967295', '738', '738', '6', '738', '3', '0', '0', '0', '1092', '0', '71', '0', '12', '4294967295', '2', '0', '1', '738', '4', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES  ('5628', 'Spell Casting Subtlety III', '7', '3', '4294967295', '4294967295', '738', '738', '6', '5317', '3', '0', '0', '0', '1092', '0', '76', '2', '14', '4294967295', '2', '0', '1', '738', '4', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES  ('7583', 'Spell Casting Subtlety IV', '7', '3', '4294967295', '4294967295', '738', '738', '6', '5628', '3', '0', '0', '0', '1092', '0', '81', '2', '15', '4294967295', '2', '0', '1', '738', '5', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('98', '1', '114', '-4', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('99', '1', '114', '-12', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('100', '1', '114', '-20', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('738', '1', '114', '-4', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('739', '1', '114', '-12', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('740', '1', '114', '-20', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5317', '1', '114', '-3', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5318', '1', '114', '-6', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5319', '1', '114', '-9', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5628', '1', '114', '-3', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5629', '1', '114', '-4', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5630', '1', '114', '-5', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7583', '1', '114', '-2', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7584', '1', '114', '-4', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7585', '1', '114', '-6', '0');

-- Theft of Life/Advanced ToL/Soul Thief
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES   ('844', 'Advanced Theft of Life', '5', '2', '4294967295', '4294967295', '31453', '31454', '6', '4294967295', '634', '3', '0', '0', '2080', '0', '65', '0', '7', '4294967295', '3', '0', '8', '634', '1', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES   ('1319', 'Soul Thief', '5', '3', '4294967295', '4294967295', '31457', '31458', '7', '4294967295', '844', '2', '0', '0', '2080', '0', '68', '0', '8', '4294967295', '3', '0', '8', '634', '1', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('634', '1', '274', '3', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('635', '1', '274', '6', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('636', '1', '274', '10', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('844', '1', '274', '3', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('845', '1', '274', '6', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1319', '1', '274', '2', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1320', '1', '274', '4', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1321', '1', '274', '6', '0');

-- Soul Abrasion *You may need to do optional SQL to adjust spell data tables for Soul Abrasion to work.
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('210', '1', '302', '50', '50');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('210', '2', '385', '99', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('211', '1', '302', '100', '100');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('211', '2', '385', '99', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('212', '1', '302', '200', '200');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('212', '2', '385', '99', '0');

-- Quick Damage	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('141', '1', '127', '10', '10');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('141', '2', '137', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('141', '3', '138', '0', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('141', '4', '141', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('141', '5', '143', '3000', '0');	

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('142', '1', '127', '25', '25');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('142', '2', '137', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('142', '3', '138', '0', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('142', '4', '141', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('142', '5', '143', '3000', '0');	

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('143', '1', '127', '50', '50');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('143', '2', '137', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('143', '3', '138', '0', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('143', '4', '141', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('143', '5', '143', '3000', '0');	


-- Quick Evacuation
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('137', '1', '127', '10', '10');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('137', '2', '137', '88', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('138', '1', '127', '25', '25');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('138', '2', '137', '88', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('139', '1', '127', '50', '50');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('139', '2', '137', '88', '0');

-- Quick Summoning
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('164', '1', '127', '10', '10');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('164', '2', '137', '32', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('164', '3', '127', '10', '10');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('164', '4', '137', '33', '10');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('164', '5', '127', '10', '10');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('164', '6', '137', '82', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('164', '7', '127', '10', '10');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('164', '8', '137', '152', '10');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('164', '9', '143', '3000', '0');	

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('165', '1', '127', '25', '25');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('165', '2', '137', '32', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('165', '3', '127', '10', '10');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('165', '4', '137', '33', '10');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('165', '5', '127', '10', '10');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('165', '6', '137', '82', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('165', '7', '127', '10', '10');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('165', '8', '137', '152', '10');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('165', '9', '143', '3000', '0');	

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('166', '1', '127', '50', '50');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('166', '2', '137', '32', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('166', '3', '127', '10', '10');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('166', '4', '137', '33', '10');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('166', '5', '127', '10', '10');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('166', '6', '137', '82', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('166', '7', '127', '10', '10');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('166', '8', '137', '152', '10');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('166', '9', '143', '3000', '0');	

-- Quick Buff	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('147', '1', '127', '10', '10');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('147', '2', '138', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('147', '3', '140', '1', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('147', '4', '143', '3000', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('148', '1', '127', '25', '25');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('148', '2', '138', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('148', '3', '140', '1', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('148', '4', '143', '3000', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('149', '1', '127', '50', '50');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('149', '2', '138', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('149', '3', '140', '1', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('149', '4', '143', '3000', '0');

-- Spell Casting Deftness
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('104', '1', '127', '10', '10');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('104', '2', '138', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('104', '3', '140', '1', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('104', '4', '143', '3000', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('105', '1', '127', '25', '25');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('105', '2', '138', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('105', '3', '140', '1', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('105', '4', '143', '3000', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('106', '1', '127', '50', '50');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('106', '2', '138', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('106', '3', '140', '1', '0');	
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('106', '4', '143', '3000', '0');

-- Healing Adept I-III -- Healing Adept IV
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES  ('12449', 'Healing Adept IV', '10', '3', '4294967295', '4294967295', '77', '77', '7', '4294967295', '1083', '3', '0', '0', '33884', '0', '81', '1', '16', '4294967295', '2', '0', '1', '77', '6', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('77', '1', '125', '2', '2');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('77', '2', '137', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('77', '3', '141', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('77', '4', '139', '-6232', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('77', '5', '139', '-6264', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('77', '6', '125', '2', '2');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('77', '7', '137', '147', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('77', '8', '141', '1', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('78', '1', '125', '5', '5');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('78', '2', '137', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('78', '3', '141', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('78', '4', '139', '-6232', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('78', '5', '139', '-6264', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('78', '6', '125', '5', '5');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('78', '7', '137', '147', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('78', '8', '141', '1', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('79', '1', '125', '10', '10');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('79', '2', '137', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('79', '3', '141', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('79', '4', '139', '-6232', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('79', '5', '139', '-6264', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('79', '6', '125', '10', '10');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('79', '7', '137', '147', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('79', '8', '141', '1', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('434', '1', '125', '13', '13');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('434', '2', '137', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('434', '3', '141', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('434', '4', '139', '-6232', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('434', '5', '139', '-6264', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('434', '6', '125', '13', '13');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('434', '7', '137', '147', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('434', '8', '141', '1', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('435', '1', '125', '16', '16');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('435', '2', '137', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('435', '3', '141', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('435', '4', '139', '-6232', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('435', '5', '139', '-6264', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('435', '6', '125', '16', '16');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('435', '7', '137', '147', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('435', '8', '141', '1', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('436', '1', '125', '19', '19');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('436', '2', '137', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('436', '3', '141', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('436', '4', '139', '-6232', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('436', '5', '139', '-6264', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('436', '6', '125', '19', '19');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('436', '7', '137', '147', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('436', '8', '141', '1', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1083', '1', '125', '22', '13');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1083', '2', '137', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1083', '3', '141', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1083', '4', '139', '-6232', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1083', '5', '139', '-6264', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1083', '6', '125', '22', '22');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1083', '7', '137', '147', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1083', '8', '141', '1', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1084', '1', '125', '25', '16');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1084', '2', '137', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1084', '3', '141', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1084', '4', '139', '-6232', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1084', '5', '139', '-6264', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1084', '6', '125', '25', '25');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1084', '7', '137', '147', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1084', '8', '141', '1', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1085', '1', '125', '28', '19');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1085', '2', '137', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1085', '3', '141', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1085', '4', '139', '-6232', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1085', '5', '139', '-6264', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1085', '6', '125', '28', '28');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1085', '7', '137', '147', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1085', '8', '141', '1', '0');
-- HA4
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12449', '1', '125', '31', '31');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12449', '2', '137', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12449', '3', '141', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12449', '4', '139', '-6232', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12449', '5', '139', '-6264', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12449', '6', '125', '31', '31');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12449', '7', '137', '147', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12449', '8', '141', '1', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12450', '1', '125', '34', '34');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12450', '2', '137', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12450', '3', '141', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12450', '4', '139', '-6232', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12450', '5', '139', '-6264', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12450', '6', '125', '33', '33');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12450', '7', '137', '147', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12450', '8', '141', '1', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12451', '1', '125', '37', '37');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12451', '2', '137', '0', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12451', '3', '141', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12451', '4', '139', '-6232', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12451', '5', '139', '-6264', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12451', '6', '125', '37', '37');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12451', '7', '137', '147', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12451', '8', '141', '1', '0');

-- Combat Agility/Lightning Reflexes/Reflexive Mastery/Precognition/CA-V
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES ('125', 'Combat Agility', '2', '3', '4294967295', '4294967295', '13566', '13567', '2', '4294967295', '4294967295', '0', '0', '0', '65534', '1', '55', '2', '3', '4294967295', '1', '0', '1', '125', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('125', '1', '172', '2', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('126', '1', '172', '5', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('127', '1', '172', '10', '0');

REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES ('449', 'Lightning Reflexes', '3', '5', '4294967295', '4294967295', '5636', '5637', '5', '4294967295', '125', '3', '125', '3', '65534', '1', '61', '0', '4', '4294967295', '1', '0', '1', '125', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('449', '1', '172', '3', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('450', '1', '172', '6', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('451', '1', '172', '9', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('452', '1', '172', '12', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('453', '1', '172', '15', '0');

REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES ('1061', 'Reflexive Mastery', '5', '5', '4294967295', '4294967295', '30304', '30305', '7', '4294967295', '449', '5', '0', '0', '65534', '1', '66', '0', '8', '4294967295', '1', '0', '1', '125', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1061', '1', '172', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1062', '1', '172', '2', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1063', '1', '172', '3', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1064', '1', '172', '5', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1065', '1', '172', '7', '0');

REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES ('1394', 'Precognition', '5', '5', '4294967295', '4294967295', '1394', '1394', '7', '4294967295', '1061', '5', '0', '0', '65534', '1', '70', '0', '10', '4294967295', '1', '0', '1', '125', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1394', '1', '172', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1395', '1', '172', '2', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1396', '1', '172', '3', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1397', '1', '172', '5', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1398', '1', '172', '7', '0');

REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES ('5519', 'Combat Agility V', '6', '5', '4294967295', '4294967295', '125', '125', '7', '4294967295', '1394', '5', '0', '0', '65534', '1', '76', '1', '14', '4294967295', '1', '0', '1', '125', '4', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5519', '1', '172', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5520', '1', '172', '2', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5521', '1', '172', '3', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5522', '1', '172', '4', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5523', '1', '172', '5', '0');

REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES ('7501', 'Combat Agility VI', '7', '5', '4294967295', '4294967295', '125', '125', '7', '4294967295', '5519', '5', '0', '0', '65534', '1', '81', '1', '15', '4294967295', '1', '0', '1', '125', '5', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7501', '1', '172', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7502', '1', '172', '2', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7503', '1', '172', '3', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7504', '1', '172', '4', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7505', '1', '172', '5', '0');

REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES ('12396', 'Combat Agility VII', '8', '5', '4294967295', '4294967295', '125', '125', '7', '4294967295', '7501', '5', '0', '0', '65534', '1', '85', '1', '16', '4294967295', '1', '0', '1', '125', '6', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12396', '1', '172', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12397', '1', '172', '2', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12398', '1', '172', '3', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12399', '1', '172', '4', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12400', '1', '172', '5', '0');


-- Revision to CA/CS
-- Combat Stability/Innate Defense/Defensive Instincts/Thick Skin/CS V
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES ('122', 'Combat Stability', '2', '3', '4294967295', '4294967295', '13564', '13565', '2', '4294967295', '4294967295', '0', '0', '0', '65534', '1', '55', '2', '3', '4294967295', '1', '0', '1', '122', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('122', '1', '259', '2', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('123', '1', '259', '5', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('124', '1', '259', '10', '0');

REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES ('454', 'Innate Defense', '3', '5', '4294967295', '4294967295', '5638', '5639', '5', '4294967295', '122', '3', '122', '3', '65534', '1', '61', '0', '4', '4294967295', '1', '0', '1', '122', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('454', '1', '259', '3', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('455', '1', '259', '6', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('456', '1', '259', '9', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('457', '1', '259', '12', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('458', '1', '259', '15', '0');

REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES ('1066', 'Defensive Instincts', '5', '5', '4294967295', '4294967295', '30324', '30325', '7', '4294967295', '454', '5', '0', '0', '65534', '1', '66', '0', '8', '4294967295', '1', '0', '1', '122', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1066', '1', '259', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1067', '1', '259', '2', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1068', '1', '259', '3', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1069', '1', '259', '5', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1070', '1', '259', '7', '0');

REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES ('1399', 'Thick Skin', '5', '5', '4294967295', '4294967295', '1399', '1399', '7', '4294967295', '1066', '5', '1066', '5', '65534', '1', '70', '0', '10', '4294967295', '1', '0', '1', '122', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1399', '1', '259', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1400', '1', '259', '2', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1401', '1', '259', '3', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1402', '1', '259', '5', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1403', '1', '259', '7', '0');

REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES ('5524', 'Combat Stability V', '6', '5', '4294967295', '4294967295', '122', '122', '7', '4294967295', '1399', '5', '0', '0', '65534', '1', '76', '1', '14', '4294967295', '1', '0', '1', '122', '4', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5524', '1', '259', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5525', '1', '259', '2', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5526', '1', '259', '3', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5527', '1', '259', '4', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5528', '1', '259', '5', '0');

REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES ('7506', 'Combat Stability VI', '7', '5', '4294967295', '4294967295', '122', '122', '7', '4294967295', '5524', '5', '0', '0', '65534', '1', '81', '1', '15', '4294967295', '1', '0', '1', '122', '5', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7506', '1', '259', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7507', '1', '259', '2', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7508', '1', '259', '3', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7509', '1', '259', '4', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7510', '1', '259', '5', '0');

REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES ('12401', 'Combat Stability VII', '8', '5', '4294967295', '4294967295', '122', '122', '7', '4294967295', '7506', '5', '0', '0', '65534', '1', '85', '1', '16', '4294967295', '1', '0', '1', '122', '6', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12401', '1', '259', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12402', '1', '259', '2', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12403', '1', '259', '3', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12404', '1', '259', '4', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12405', '1', '259', '5', '0');

-- Delay Death upgrades
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES ('1389', 'Delay Death II', '3', '5', '4294967295', '4294967295', '1206', '1206', '1', '4294967295', '1026', '5', '0', '0', '65534', '1', '70', '0', '10', '4294967295', '1', '0', '1', '1026', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1389', '1', '328', '50', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1390', '1', '328', '100', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1391', '1', '328', '150', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1392', '1', '328', '200', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1393', '1', '328', '250', '0');

REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES ('4683', 'Delay Death III', '3', '5', '4294967295', '4294967295', '1206', '1206', '1', '4294967295', '1389', '5', '0', '0', '65534', '1', '71', '0', '12', '4294967295', '1', '0', '1', '1026', '4', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4683', '1', '328', '50', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4684', '1', '328', '100', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4685', '1', '328', '150', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4686', '1', '328', '200', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4687', '1', '328', '250', '0');

REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES ('6523', 'Delay Death IV', '3', '5', '4294967295', '4294967295', '1206', '1206', '1', '4294967295', '4683', '5', '0', '0', '65534', '1', '76', '0', '14', '4294967295', '1', '0', '1', '1026', '4', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6523', '1', '328', '50', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6524', '1', '328', '100', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6525', '1', '328', '150', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6526', '1', '328', '200', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6527', '1', '328', '250', '0');

REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES ('7511', 'Delay Death V', '3', '5', '4294967295', '4294967295', '1206', '1206', '1', '4294967295', '6523', '5', '0', '0', '65534', '1', '81', '0', '15', '4294967295', '1', '0', '1', '1026', '5', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7511', '1', '328', '50', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7512', '1', '328', '100', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7513', '1', '328', '150', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7514', '1', '328', '200', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7515', '1', '328', '250', '0');

-- Energetic Attunement
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES ('1056', 'Energetic Attunement', '3', '5', '4294967295', '4294967295', '1206', '1206', '1', '4294967295', '0', '0', '0', '0', '65534', '1', '71', '0', '12', '4294967295', '1', '0', '1', '1056', '4', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1056', '1', '317', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1057', '1', '317', '2', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1058', '1', '317', '3', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1059', '1', '317', '4', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1060', '1', '317', '5', '0');

REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES ('6431', 'Energetic Attunement II', '3', '5', '4294967295', '4294967295', '1643', '1643', '1', '4294967295', '1056', '5', '0', '0', '65534', '1', '76', '0', '14', '4294967295', '1', '0', '1', '1056', '4', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6431', '1', '317', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6432', '1', '317', '2', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6433', '1', '317', '3', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6434', '1', '317', '4', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6435', '1', '317', '5', '0');

REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES ('7522', 'Energetic Attunement III', '3', '5', '4294967295', '4294967295', '1643', '1643', '1', '4294967295', '6431', '5', '0', '0', '65534', '1', '81', '0', '15', '4294967295', '1', '0', '1', '1056', '5', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6431', '1', '317', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6432', '1', '317', '2', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6433', '1', '317', '3', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6434', '1', '317', '4', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6435', '1', '317', '5', '0');

-- General Sturdiness
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES ('6119', 'General Sturdiness', '6', '5', '4294967295', '4294967295', '6119', '6119', '1', '4294967295', '0', '0', '0', '0', '65534', '1', '76', '0', '14', '4294967295', '1', '0', '1', '6119', '4', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6119', '1', '69', '500', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6119', '1', '69', '500', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6119', '1', '69', '500', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6119', '1', '69', '500', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6119', '1', '69', '500', '0');

REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES ('7526', 'General Sturdiness II', '6', '5', '4294967295', '4294967295', '6119', '6119', '1', '4294967295', '6119', '5', '0', '0', '65534', '1', '81', '0', '15', '4294967295', '1', '0', '1', '6119', '5', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7526', '1', '69', '500', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7526', '1', '69', '500', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7526', '1', '69', '500', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7526', '1', '69', '500', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7526', '1', '69', '500', '0');

REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES ('12406', 'General Sturdiness III', '6', '5', '4294967295', '4294967295', '6119', '6119', '1', '4294967295', '7526', '5', '0', '0', '65534', '1', '81', '0', '16', '4294967295', '1', '0', '1', '6119', '6', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12406', '1', '69', '500', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12407', '1', '69', '500', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12408', '1', '69', '500', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12409', '1', '69', '500', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('12410', '1', '69', '500', '0');

-- SOD Discordant Defiance
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES ('7516', 'Discordant Defiance II', '5', '5', '4294967295', '4294967295', '1006', '1006', '1', '4294967295', '1006', '5', '0', '0', '65534', '1', '71', '0', '15', '4294967295', '1', '0', '1', '1006', '5', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7516', '1','262', '10', '7' );
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7516', '2','262', '10', '8' );
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7516', '3','262', '10', '9' );
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7516', '4','262', '10', '10' );
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7516', '5','262', '10', '11' );
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7517', '1','262', '20', '7' );
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7517', '2','262', '20', '8' );
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7517', '3','262', '20', '9' );
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7517', '4','262', '20', '10' );
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7517', '5','262', '20', '11' );
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7518', '1','262', '30', '7' );
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7518', '2','262', '30', '8' );
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7518', '3','262', '30', '9' );
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7518', '4','262', '30', '10' );
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7518', '5','262', '30', '11' );
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7519', '1','262', '40', '7' );
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7519', '2','262', '40', '8' );
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7519', '3','262', '40', '9' );
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7519', '4','262', '40', '10' );
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7519', '5','262', '40', '11' );
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7520', '1','262', '50', '7' );
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7520', '2','262', '50', '8' );
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7520', '3','262', '50', '9' );
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7520', '4','262', '50', '10' );
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7520', '5','262', '50', '11');

-- Mystical Attuning
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES ('6521', 'Mystical Attuning II', '5', '2', '4294967295', '4294967295', '1021', '1021', '1', '4294967295', '1021', '5', '0', '0', '65534', '1', '75', '0', '14', '4294967295', '1', '0', '1', '1021', '4', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6521', '1','327', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('6522', '1','327', '2', '0');

REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES ('7539', 'Mystical Attuning III', '5', '5', '4294967295', '4294967295', '1021', '1021', '1', '4294967295', '6521', '2', '0', '0', '65534', '1', '80', '0', '16', '4294967295', '1', '0', '1', '1021', '6', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7539', '1','327', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7540', '1','327', '2', '0' );
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7541', '1','327', '3', '0' );
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7542', '1','327', '4', '0' );
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7543', '1','327', '5', '0' );

-- Mystical Shielding
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES ('5045', 'Mystical Shielding', '9', '1', '4294967295', '4294967295', '1057', '1057', '1', '4294967295', '0', '0', '0', '0', '65534', '1', '85', '0', '16', '4294967295', '1', '0', '1', '1057', '6', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5045', '1','180', '5', '0');

-- Mental Fortitude 
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES ('8228', 'Mental Fortitude', '5', '3', '4294967295', '4294967295', '8828', '8828', '1', '4294967295', '0', '0', '0', '0', '65534', '1', '75', '0', '15', '4294967295', '1', '0', '1', '8228', '5', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8228', '1', '378', '5', '22');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8229', '1', '378', '10', '22');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('8230', '1', '378', '15', '22');

-- Fix Frenzied Defense
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES  ('1166', 'Frenzied Defense', '3', '3', '4294967295', '4294967295', '1143', '1143', '6', '4294967295', '0', '0', '0', '0', '0', '1', '65', '0', '7', '4294967295', '3', '0', '3', '1143', '4', '0');

-- Fixes for incorrect ID's MoP II-V
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES ('735', 'Mastery of the Past', '3', '3', '4294967295', '4294967295', '9163', '9164', '6', '4294967295', '0', '0', '0', '0', '33884', '0', '62', '0', '7', '4294967295', '2', '0', '12', '735', '1', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES ('7050', 'Mastery of the Past II', '5', '3', '4294967295', '4294967295', '735', '735', '5', '4294967295', '0', '0', '0', '0', '33884', '0', '67', '0', '8', '4294967295', '2', '0', '1', '735', '1', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES ('7053', 'Mastery of the Past III', '7', '3', '4294967295', '4294967295', '735', '735', '5', '4294967295', '7050', '3', '0', '0', '33884', '0', '71', '0', '12', '4294967295', '2', '0', '1', '735', '4', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES ('7063', 'Mastery of the Past IV', '8', '3', '4294967295', '4294967295', '735', '735', '5', '4294967295', '7053', '3', '0', '0', '33884', '0', '76', '0', '14', '4294967295', '2', '0', '1', '735', '4', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES ('7622', 'Mastery of the Past V', '8', '3', '4294967295', '4294967295', '735', '735', '5', '4294967295', '7063', '3', '0', '0', '33884', '0', '81', '0', '15', '4294967295', '2', '0', '1', '735', '5', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7050', '1', '265', '62', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7051', '1', '265', '64', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7052', '1', '265', '66', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7053', '1', '265', '67', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7054', '1', '265', '68', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7055', '1', '265', '69', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7063', '1', '265', '70', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7064', '1', '265', '71', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7065', '1', '265', '72', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7622', '1', '265', '74', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7623', '1', '265', '76', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('7624', '1', '265', '79', '0');

-- Data adjustments for effects to be addititive.
-- TripleBS
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('846', '1', '258', '5', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('847', '1', '258', '10', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('848', '1', '258', '15', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1301', '1', '258', '5', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1302', '1', '258', '10', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1303', '1', '258', '15', '0');

-- FrontalBS
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('878', '1', '252', '10', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('879', '1', '252', '20', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('880', '1', '252', '30', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1539', '1', '252', '5', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1540', '1', '252', '10', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1541', '1', '252', '15', '0');

-- DoubleAttack
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('564', '1', '177', '3', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('565', '1', '177', '6', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('566', '1', '177', '9', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('561', '1', '177', '3', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('562', '1', '177', '6', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('563', '1', '177', '9', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1624', '1', '177', '5', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1625', '1', '177', '10', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1626', '1', '177', '15', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1621', '1', '177', '5', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1622', '1', '177', '10', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1623', '1', '177', '15', '0');

-- Flurry
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('255', '1', '279', '7', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('256', '1', '279', '11', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('257', '1', '279', '15', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('542', '1', '279', '2', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('543', '1', '279', '4', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('544', '1', '279', '6', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1163', '1', '279', '2', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1164', '1', '279', '4', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1165', '1', '279', '6', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4795', '1', '279', '1', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4796', '1', '279', '2', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('4797', '1', '279', '3', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('815', '1', '279', '7', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('816', '1', '279', '11', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('817', '1', '279', '15', '0');

REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1616', '1', '279', '7', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1617', '1', '279', '11', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('1618', '1', '279', '15', '0');

-- Bard song range
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('568', '1', '270', '5', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('569', '1', '270', '10', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('570', '1', '270', '15', '0');

-- Enhanced root
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('144', '1', '244', '50', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('567', '1', '244', '12', '0');
REPLACE INTO `aa_effects` (`aaid`, `slot`, `effectid`, `base1`, `base2`)  VALUES ('5061', '1', '244', '11', '0');


-- Fixes for Warlord Tenacity/Resolute Defiance
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES  ('912', 'Warlord\'s Tenacity', '3', '3', '912', '912', '912', '912', '6', '4925', '0', '0', '4', '3600', '2', '0', '65', '3', '7', '4294967295', '3', '0', '65', '912', '1', '0');
REPLACE INTO `altadv_vars` (`skill_id`, `name`, `cost`, `max_level`, `hotkey_sid`, `hotkey_sid2`, `title_sid`, `desc_sid`, `type`, `spellid`, `prereq_skill`, `prereq_minpoints`, `spell_type`, `spell_refresh`, `classes`, `berserker`, `class_type`, `cost_inc`, `aa_expansion`, `special_category`, `sof_type`, `sof_cost_inc`, `sof_max_level`, `sof_next_skill`, `clientver`, `account_time_required`) VALUES  ('1330', 'Resolute Defiance', '3', '3', '912', '912', '1330', '1330', '7', '4925', '912', '3', '4', '3600', '2', '0', '70', '3', '8', '4294967295', '3', '0', '70', '912', '1', '0');
UPDATE aa_actions SET reuse_time = 3600 WHERE aaid = 912;
UPDATE aa_actions SET reuse_time = 3600 WHERE aaid = 1330;

-- Misc display fix.
UPDATE `altadv_vars` SET `sof_type` = 1 WHERE `sof_next_skill` = 122;
UPDATE `altadv_vars` SET `sof_type` = 1 WHERE `sof_next_skill` = 125;
UPDATE `altadv_vars` SET `sof_type` = 2 WHERE `sof_next_skill` = 599;
UPDATE `altadv_vars` SET `sof_type` = 2 WHERE `sof_next_skill` = 1536;
UPDATE `altadv_vars` SET `sof_type` = 2 WHERE `sof_next_skill` = 625;
UPDATE `altadv_vars` SET `sof_type` = 2 WHERE `sof_next_skill` = 1435;
UPDATE `altadv_vars` SET `sof_type` = 2 WHERE `sof_next_skill` = 1210;

-- Remove redundant/error entry
DELETE FROM altadv_vars WHERE skill_id = 1143;
DELETE FROM altadv_vars WHERE skill_id = 7056;
DELETE FROM altadv_vars WHERE skill_id = 7059;
DELETE FROM altadv_vars WHERE skill_id = 7066;

-- Misc pre req fixes
UPDATE `altadv_vars` SET `prereq_skill` = 676 WHERE `skill_id` = 978;
UPDATE `altadv_vars` SET `prereq_skill` = 267 WHERE `skill_id` = 92;
UPDATE `altadv_vars` SET `prereq_skill` = 533 WHERE `skill_id` = 155;
UPDATE `altadv_vars` SET `prereq_skill` = 213 WHERE `skill_id` = 700;
UPDATE `altadv_vars` SET `prereq_skill` = 230 WHERE `skill_id` = 539;
UPDATE `altadv_vars` SET `prereq_skill` = 640 WHERE `skill_id` = 924;
UPDATE `altadv_vars` SET `prereq_skill` = 288 WHERE `skill_id` = 1129;
UPDATE `altadv_vars` SET `prereq_skill` = 418 WHERE `skill_id` = 1001;
UPDATE `altadv_vars` SET `prereq_skill` = 589 WHERE `skill_id` = 893;
UPDATE `altadv_vars` SET `prereq_skill` = 619 WHERE `skill_id` = 721;
UPDATE `altadv_vars` SET `prereq_skill` = 637 WHERE `skill_id` = 770;
UPDATE `altadv_vars` SET `prereq_skill` = 1340 WHERE `skill_id` = 724;
UPDATE `altadv_vars` SET `prereq_skill` = 1341 WHERE `skill_id` = 729;

UPDATE `altadv_vars` SET `sof_next_skill` = 1342 WHERE `skill_id` = 1342;

-- Unneccessary data.
DELETE FROM aa_effects WHERE aaid=80 AND slot=2;
DELETE FROM aa_effects WHERE aaid=81 AND slot=2;
DELETE FROM aa_effects WHERE aaid=82 AND slot=2;

-- Update all sof_max_level by finding the sum of all AA that share the same sof_next_skill

CREATE TEMPORARY TABLE temp_table (
sof_next_skill INT(11) DEFAULT 0 PRIMARY KEY,
sof_max_level INT(11) DEFAULT 0
);

INSERT INTO temp_table ( temp_table.sof_next_skill ) (SELECT altadv_vars.sof_next_skill FROM altadv_vars GROUP BY altadv_vars.sof_next_skill);

UPDATE temp_table SET temp_table.sof_max_level = (SELECT SUM(altadv_vars.max_level) FROM altadv_vars WHERE altadv_vars.sof_next_skill = temp_table.sof_next_skill);

UPDATE altadv_vars, temp_table SET altadv_vars.sof_max_level = temp_table.sof_max_level WHERE altadv_vars.sof_next_skill = temp_table.sof_next_skill;

DROP TEMPORARY TABLE temp_table;

-- Add new fields for AA stacking.

ALTER TABLE `altadv_vars` 
ADD COLUMN `sof_current_level` tinyint(3) unsigned NOT NULL default '0' AFTER `account_time_required`,
ADD COLUMN `sof_next_id` int(10) unsigned  unsigned NOT NULL default '0' AFTER `sof_current_level`,
ADD COLUMN `level_inc` tinyint(3) unsigned NOT NULL default '0' AFTER `sof_next_id`;

-- Populate new fields

UPDATE altadv_vars SET level_inc = 5 WHERE skill_id = 8215;
UPDATE altadv_vars SET level_inc = 5 WHERE skill_id = 8228;
UPDATE altadv_vars SET level_inc = 5 WHERE skill_id = 8224;

UPDATE altadv_vars SET level_inc = 1 WHERE aa_expansion = 12 AND class_type = 71 AND max_level = 5;
UPDATE altadv_vars SET level_inc = 2 WHERE aa_expansion = 12 AND class_type = 71 AND max_level = 3;

UPDATE altadv_vars SET level_inc = 1 WHERE aa_expansion = 14 AND class_type = 76 AND max_level = 5;
UPDATE altadv_vars SET level_inc = 2 WHERE aa_expansion = 14 AND class_type = 76 AND max_level = 3;

UPDATE altadv_vars SET level_inc = 1 WHERE aa_expansion = 15 AND class_type = 81 AND max_level = 5;
UPDATE altadv_vars SET level_inc = 2 WHERE aa_expansion = 15 AND class_type = 81 AND max_level = 3;

UPDATE altadv_vars SET sof_current_level = 	5	WHERE skill_id =	42	;
UPDATE altadv_vars SET sof_current_level = 	1	WHERE skill_id =	130	;
UPDATE altadv_vars SET sof_current_level = 	3	WHERE skill_id =	263	;
UPDATE altadv_vars SET sof_current_level = 	3	WHERE skill_id =	267	;
UPDATE altadv_vars SET sof_current_level = 	5	WHERE skill_id =	292	;
UPDATE altadv_vars SET sof_current_level = 	5	WHERE skill_id =	302	;
UPDATE altadv_vars SET sof_current_level = 	5	WHERE skill_id =	312	;
UPDATE altadv_vars SET sof_current_level = 	5	WHERE skill_id =	322	;
UPDATE altadv_vars SET sof_current_level = 	5	WHERE skill_id =	332	;
UPDATE altadv_vars SET sof_current_level = 	5	WHERE skill_id =	342	;
UPDATE altadv_vars SET sof_current_level = 	5	WHERE skill_id =	352	;
UPDATE altadv_vars SET sof_current_level = 	5	WHERE skill_id =	362	;
UPDATE altadv_vars SET sof_current_level = 	5	WHERE skill_id =	372	;
UPDATE altadv_vars SET sof_current_level = 	5	WHERE skill_id =	382	;
UPDATE altadv_vars SET sof_current_level = 	5	WHERE skill_id =	392	;
UPDATE altadv_vars SET sof_current_level = 	5	WHERE skill_id =	402	;
UPDATE altadv_vars SET sof_current_level = 	3	WHERE skill_id =	434	;
UPDATE altadv_vars SET sof_current_level = 	3	WHERE skill_id =	437	;
UPDATE altadv_vars SET sof_current_level = 	3	WHERE skill_id =	440	;
UPDATE altadv_vars SET sof_current_level = 	3	WHERE skill_id =	443	;
UPDATE altadv_vars SET sof_current_level = 	3	WHERE skill_id =	449	;
UPDATE altadv_vars SET sof_current_level = 	3	WHERE skill_id =	454	;
UPDATE altadv_vars SET sof_current_level = 	1	WHERE skill_id =	531	;
UPDATE altadv_vars SET sof_current_level = 	1	WHERE skill_id =	533	;
UPDATE altadv_vars SET sof_current_level = 	3	WHERE skill_id =	539	;
UPDATE altadv_vars SET sof_current_level = 	3	WHERE skill_id =	542	;
UPDATE altadv_vars SET sof_current_level = 	5	WHERE skill_id =	672	;
UPDATE altadv_vars SET sof_current_level = 	3	WHERE skill_id =	674	;
UPDATE altadv_vars SET sof_current_level = 	3	WHERE skill_id =	676	;
UPDATE altadv_vars SET sof_current_level = 	3	WHERE skill_id =	721	;
UPDATE altadv_vars SET sof_current_level = 	3	WHERE skill_id =	924	;
UPDATE altadv_vars SET sof_current_level = 	5	WHERE skill_id =	978	;
UPDATE altadv_vars SET sof_current_level = 	5	WHERE skill_id =	1001	;
UPDATE altadv_vars SET sof_current_level = 	3	WHERE skill_id =	1031	;
UPDATE altadv_vars SET sof_current_level = 	6	WHERE skill_id =	1053	;
UPDATE altadv_vars SET sof_current_level = 	8	WHERE skill_id =	1061	;
UPDATE altadv_vars SET sof_current_level = 	8	WHERE skill_id =	1066	;
UPDATE altadv_vars SET sof_current_level = 	6	WHERE skill_id =	1083	;
UPDATE altadv_vars SET sof_current_level = 	6	WHERE skill_id =	1086	;
UPDATE altadv_vars SET sof_current_level = 	3	WHERE skill_id =	1099	;
UPDATE altadv_vars SET sof_current_level = 	1	WHERE skill_id =	1129	;
UPDATE altadv_vars SET sof_current_level = 	5	WHERE skill_id =	1340	;
UPDATE altadv_vars SET sof_current_level = 	5	WHERE skill_id =	1341	;
UPDATE altadv_vars SET sof_current_level = 	3	WHERE skill_id =	770	;
UPDATE altadv_vars SET sof_current_level = 	3	WHERE skill_id =	893	;
UPDATE altadv_vars SET sof_current_level = 	3	WHERE skill_id =	700	;
UPDATE altadv_vars SET sof_current_level = 	0	WHERE skill_id =	1287	;
UPDATE altadv_vars SET sof_current_level = 	3	WHERE skill_id =	1158	;
UPDATE altadv_vars SET sof_current_level = 	3	WHERE skill_id =	1621	;
UPDATE altadv_vars SET sof_current_level = 	3	WHERE skill_id =	1536	;
UPDATE altadv_vars SET sof_current_level = 	3	WHERE skill_id =	1624	;
UPDATE altadv_vars SET sof_current_level = 	3	WHERE skill_id =	1524	;
UPDATE altadv_vars SET sof_current_level = 	13	WHERE skill_id =	1394	;
UPDATE altadv_vars SET sof_current_level = 	18	WHERE skill_id =	5519	;
UPDATE altadv_vars SET sof_current_level = 	13	WHERE skill_id =	1399	;
UPDATE altadv_vars SET sof_current_level = 	18	WHERE skill_id =	5524	;
UPDATE altadv_vars SET sof_current_level = 	6	WHERE skill_id =	1163	;
UPDATE altadv_vars SET sof_current_level = 	9	WHERE skill_id =	4795	;
UPDATE altadv_vars SET sof_current_level = 	3	WHERE skill_id =	7050	;
UPDATE altadv_vars SET sof_current_level = 	6	WHERE skill_id =	7053	;
UPDATE altadv_vars SET sof_current_level = 	9	WHERE skill_id =	7063	;
UPDATE altadv_vars SET sof_current_level = 	12	WHERE skill_id =	7622	;
UPDATE altadv_vars SET sof_current_level = 	1	WHERE skill_id =	5061	;
UPDATE altadv_vars SET sof_current_level = 	23	WHERE skill_id =	7501	;
UPDATE altadv_vars SET sof_current_level = 	28	WHERE skill_id =	12396	;
UPDATE altadv_vars SET sof_current_level = 	23	WHERE skill_id =	7506	;
UPDATE altadv_vars SET sof_current_level = 	28	WHERE skill_id =	12401	;
UPDATE altadv_vars SET sof_current_level = 	5	WHERE skill_id =	1389	;
UPDATE altadv_vars SET sof_current_level = 	10	WHERE skill_id =	4683	;
UPDATE altadv_vars SET sof_current_level = 	15	WHERE skill_id =	6523	;
UPDATE altadv_vars SET sof_current_level = 	20	WHERE skill_id =	7511	;
UPDATE altadv_vars SET sof_current_level = 	5	WHERE skill_id =	6431	;
UPDATE altadv_vars SET sof_current_level = 	10	WHERE skill_id =	7522	;
UPDATE altadv_vars SET sof_current_level = 	5	WHERE skill_id =	7526	;
UPDATE altadv_vars SET sof_current_level = 	10	WHERE skill_id =	12406	;
UPDATE altadv_vars SET sof_current_level = 	5	WHERE skill_id =	7516	;
UPDATE altadv_vars SET sof_current_level = 	5	WHERE skill_id =	6521	;
UPDATE altadv_vars SET sof_current_level = 	7	WHERE skill_id =	7539	;
UPDATE altadv_vars SET sof_current_level = 	3	WHERE skill_id =	4733	;
UPDATE altadv_vars SET sof_current_level = 	6	WHERE skill_id =	7641	;
UPDATE altadv_vars SET sof_current_level = 	0	WHERE skill_id =	1592	;
UPDATE altadv_vars SET sof_current_level = 	5	WHERE skill_id =	4725	;
UPDATE altadv_vars SET sof_current_level = 	10	WHERE skill_id =	5557	;
UPDATE altadv_vars SET sof_current_level = 	15	WHERE skill_id =	7568	;
UPDATE altadv_vars SET sof_current_level = 	20	WHERE skill_id =	12439	;
UPDATE altadv_vars SET sof_current_level = 	5	WHERE skill_id =	8261	;
UPDATE altadv_vars SET sof_current_level = 	6	WHERE skill_id =	5534	;
UPDATE altadv_vars SET sof_current_level = 	9	WHERE skill_id =	7659	;
UPDATE altadv_vars SET sof_current_level = 	3	WHERE skill_id =	1036	;
UPDATE altadv_vars SET sof_current_level = 	6	WHERE skill_id =	5130	;
UPDATE altadv_vars SET sof_current_level = 	11	WHERE skill_id =	6080	;
UPDATE altadv_vars SET sof_current_level = 	13	WHERE skill_id =	7604	;
UPDATE altadv_vars SET sof_current_level = 	3	WHERE skill_id =	5516	;
UPDATE altadv_vars SET sof_current_level = 	3	WHERE skill_id =	5562	;
UPDATE altadv_vars SET sof_current_level = 	6	WHERE skill_id =	7573	;
UPDATE altadv_vars SET sof_current_level = 	5	WHERE skill_id =	5529	;
UPDATE altadv_vars SET sof_current_level = 	10	WHERE skill_id =	7554	;
UPDATE altadv_vars SET sof_current_level = 	3	WHERE skill_id =	4755	;
UPDATE altadv_vars SET sof_current_level = 	9	WHERE skill_id =	7582	;
UPDATE altadv_vars SET sof_current_level = 	9	WHERE skill_id =	4779	;
UPDATE altadv_vars SET sof_current_level = 	12	WHERE skill_id =	5592	;
UPDATE altadv_vars SET sof_current_level = 	15	WHERE skill_id =	7590	;
UPDATE altadv_vars SET sof_current_level = 	5	WHERE skill_id =	8305	;
UPDATE altadv_vars SET sof_current_level = 	9	WHERE skill_id =	4721	;
UPDATE altadv_vars SET sof_current_level = 	12	WHERE skill_id =	5554	;
UPDATE altadv_vars SET sof_current_level = 	18	WHERE skill_id =	6023	;
UPDATE altadv_vars SET sof_current_level = 	15	WHERE skill_id =	7565	;
UPDATE altadv_vars SET sof_current_level = 	6	WHERE skill_id =	12423	;
UPDATE altadv_vars SET sof_current_level = 	3	WHERE skill_id =	7647	;
UPDATE altadv_vars SET sof_current_level = 	6	WHERE skill_id =	7670	;
UPDATE altadv_vars SET sof_current_level = 	18	WHERE skill_id =	12454	;
UPDATE altadv_vars SET sof_current_level = 	3	WHERE skill_id =	5317	;
UPDATE altadv_vars SET sof_current_level = 	6	WHERE skill_id =	5628	;
UPDATE altadv_vars SET sof_current_level = 	9	WHERE skill_id =	7583	;
UPDATE altadv_vars SET sof_current_level = 	9	WHERE skill_id =	12449	;
UPDATE altadv_vars SET sof_current_level = 	3	WHERE skill_id =	504	;
UPDATE altadv_vars SET sof_current_level = 	3	WHERE skill_id =	1290	;
UPDATE altadv_vars SET sof_current_level = 	10	WHERE skill_id =	4678	;
UPDATE altadv_vars SET sof_current_level = 	15	WHERE skill_id =	7547	;
UPDATE altadv_vars SET sof_current_level = 	3	WHERE skill_id =	844	;
UPDATE altadv_vars SET sof_current_level = 	5	WHERE skill_id =	1319	;
UPDATE altadv_vars SET sof_current_level = 	6	WHERE skill_id =	12469	;

UPDATE altadv_vars SET sof_next_id = 	292	WHERE skill_id =	2	;
UPDATE altadv_vars SET sof_next_id = 	302	WHERE skill_id =	7	;
UPDATE altadv_vars SET sof_next_id = 	312	WHERE skill_id =	12	;
UPDATE altadv_vars SET sof_next_id = 	322	WHERE skill_id =	17	;
UPDATE altadv_vars SET sof_next_id = 	332	WHERE skill_id =	22	;
UPDATE altadv_vars SET sof_next_id = 	342	WHERE skill_id =	27	;
UPDATE altadv_vars SET sof_next_id = 	352	WHERE skill_id =	32	;
UPDATE altadv_vars SET sof_next_id = 	362	WHERE skill_id =	37	;
UPDATE altadv_vars SET sof_next_id = 	372	WHERE skill_id =	42	;
UPDATE altadv_vars SET sof_next_id = 	382	WHERE skill_id =	47	;
UPDATE altadv_vars SET sof_next_id = 	392	WHERE skill_id =	52	;
UPDATE altadv_vars SET sof_next_id = 	402	WHERE skill_id =	57	;
UPDATE altadv_vars SET sof_next_id = 	672	WHERE skill_id =	62	;
UPDATE altadv_vars SET sof_next_id = 	674	WHERE skill_id =	65	;
UPDATE altadv_vars SET sof_next_id = 	676	WHERE skill_id =	71	;
UPDATE altadv_vars SET sof_next_id = 	263	WHERE skill_id =	74	;
UPDATE altadv_vars SET sof_next_id = 	434	WHERE skill_id =	77	;
UPDATE altadv_vars SET sof_next_id = 	437	WHERE skill_id =	80	;
UPDATE altadv_vars SET sof_next_id = 	267	WHERE skill_id =	92	;
UPDATE altadv_vars SET sof_next_id = 	1031	WHERE skill_id =	110	;
UPDATE altadv_vars SET sof_next_id = 	443	WHERE skill_id =	113	;
UPDATE altadv_vars SET sof_next_id = 	440	WHERE skill_id =	119	;
UPDATE altadv_vars SET sof_next_id = 	454	WHERE skill_id =	122	;
UPDATE altadv_vars SET sof_next_id = 	449	WHERE skill_id =	125	;
UPDATE altadv_vars SET sof_next_id = 	531	WHERE skill_id =	131	;
UPDATE altadv_vars SET sof_next_id = 	533	WHERE skill_id =	155	;
UPDATE altadv_vars SET sof_next_id = 	1524	WHERE skill_id =	190	;
UPDATE altadv_vars SET sof_next_id = 	700	WHERE skill_id =	213	;
UPDATE altadv_vars SET sof_next_id = 	539	WHERE skill_id =	230	;
UPDATE altadv_vars SET sof_next_id = 	542	WHERE skill_id =	255	;
UPDATE altadv_vars SET sof_next_id = 	1129	WHERE skill_id =	288	;
UPDATE altadv_vars SET sof_next_id = 	1001	WHERE skill_id =	418	;
UPDATE altadv_vars SET sof_next_id = 	1083	WHERE skill_id =	434	;
UPDATE altadv_vars SET sof_next_id = 	1086	WHERE skill_id =	437	;
UPDATE altadv_vars SET sof_next_id = 	1053	WHERE skill_id =	440	;
UPDATE altadv_vars SET sof_next_id = 	1061	WHERE skill_id =	449	;
UPDATE altadv_vars SET sof_next_id = 	1066	WHERE skill_id =	454	;
UPDATE altadv_vars SET sof_next_id = 	1163	WHERE skill_id =	542	;
UPDATE altadv_vars SET sof_next_id = 	1624	WHERE skill_id =	561	;
UPDATE altadv_vars SET sof_next_id = 	1621	WHERE skill_id =	564	;
UPDATE altadv_vars SET sof_next_id = 	5061	WHERE skill_id =	567	;
UPDATE altadv_vars SET sof_next_id = 	893	WHERE skill_id =	589	;
UPDATE altadv_vars SET sof_next_id = 	1536	WHERE skill_id =	599	;
UPDATE altadv_vars SET sof_next_id = 	721	WHERE skill_id =	619	;
UPDATE altadv_vars SET sof_next_id = 	4733	WHERE skill_id =	625	;
UPDATE altadv_vars SET sof_next_id = 	770	WHERE skill_id =	637	;
UPDATE altadv_vars SET sof_next_id = 	924	WHERE skill_id =	640	;
UPDATE altadv_vars SET sof_next_id = 	978	WHERE skill_id =	676	;
UPDATE altadv_vars SET sof_next_id = 	7647	WHERE skill_id =	692	;
UPDATE altadv_vars SET sof_next_id = 	1340	WHERE skill_id =	724	;
UPDATE altadv_vars SET sof_next_id = 	1341	WHERE skill_id =	729	;
UPDATE altadv_vars SET sof_next_id = 	7050	WHERE skill_id =	446	;
UPDATE altadv_vars SET sof_next_id = 	7050	WHERE skill_id =	735	;
UPDATE altadv_vars SET sof_next_id = 	1099	WHERE skill_id =	767	;
UPDATE altadv_vars SET sof_next_id = 	7516	WHERE skill_id =	1006	;
UPDATE altadv_vars SET sof_next_id = 	6521	WHERE skill_id =	1021	;
UPDATE altadv_vars SET sof_next_id = 	1389	WHERE skill_id =	1026	;
UPDATE altadv_vars SET sof_next_id = 	4721	WHERE skill_id =	1053	;
UPDATE altadv_vars SET sof_next_id = 	1394	WHERE skill_id =	1061	;
UPDATE altadv_vars SET sof_next_id = 	1399	WHERE skill_id =	1066	;
UPDATE altadv_vars SET sof_next_id = 	12449	WHERE skill_id =	1083	;
UPDATE altadv_vars SET sof_next_id = 	4779	WHERE skill_id =	1086	;
UPDATE altadv_vars SET sof_next_id = 	12423	WHERE skill_id =	1099	;
UPDATE altadv_vars SET sof_next_id = 	4755	WHERE skill_id =	1210	;
UPDATE altadv_vars SET sof_next_id = 	1036	WHERE skill_id =	683	;
UPDATE altadv_vars SET sof_next_id = 	5317	WHERE skill_id =	738	;
UPDATE altadv_vars SET sof_next_id = 	1158	WHERE skill_id =	1134	;
UPDATE altadv_vars SET sof_next_id = 	5516	WHERE skill_id =	1287	;
UPDATE altadv_vars SET sof_next_id = 	5529	WHERE skill_id =	1486	;
UPDATE altadv_vars SET sof_next_id = 	5534	WHERE skill_id =	1536	;
UPDATE altadv_vars SET sof_next_id = 	5519	WHERE skill_id =	1394	;
UPDATE altadv_vars SET sof_next_id = 	7501	WHERE skill_id =	5519	;
UPDATE altadv_vars SET sof_next_id = 	5524	WHERE skill_id =	1399	;
UPDATE altadv_vars SET sof_next_id = 	7506	WHERE skill_id =	5524	;
UPDATE altadv_vars SET sof_next_id = 	4795	WHERE skill_id =	1163	;
UPDATE altadv_vars SET sof_next_id = 	7053	WHERE skill_id =	7050	;
UPDATE altadv_vars SET sof_next_id = 	7063	WHERE skill_id =	7053	;
UPDATE altadv_vars SET sof_next_id = 	7622	WHERE skill_id =	7063	;
UPDATE altadv_vars SET sof_next_id = 	12396	WHERE skill_id =	7501	;
UPDATE altadv_vars SET sof_next_id = 	12401	WHERE skill_id =	7506	;
UPDATE altadv_vars SET sof_next_id = 	4683	WHERE skill_id =	1389	;
UPDATE altadv_vars SET sof_next_id = 	6523	WHERE skill_id =	4683	;
UPDATE altadv_vars SET sof_next_id = 	7511	WHERE skill_id =	6523	;
UPDATE altadv_vars SET sof_next_id = 	7522	WHERE skill_id =	6431	;
UPDATE altadv_vars SET sof_next_id = 	7526	WHERE skill_id =	6119	;
UPDATE altadv_vars SET sof_next_id = 	12406	WHERE skill_id =	7526	;
UPDATE altadv_vars SET sof_next_id = 	7539	WHERE skill_id =	6521	;
UPDATE altadv_vars SET sof_next_id = 	6431	WHERE skill_id =	1056	;
UPDATE altadv_vars SET sof_next_id = 	7641	WHERE skill_id =	4733	;
UPDATE altadv_vars SET sof_next_id = 	4725	WHERE skill_id =	1592	;
UPDATE altadv_vars SET sof_next_id = 	5557	WHERE skill_id =	4725	;
UPDATE altadv_vars SET sof_next_id = 	7568	WHERE skill_id =	5557	;
UPDATE altadv_vars SET sof_next_id = 	12439	WHERE skill_id =	7568	;
UPDATE altadv_vars SET sof_next_id = 	8621	WHERE skill_id =	8232	;
UPDATE altadv_vars SET sof_next_id = 	7659	WHERE skill_id =	5534	;
UPDATE altadv_vars SET sof_next_id = 	5130	WHERE skill_id =	1036	;
UPDATE altadv_vars SET sof_next_id = 	6080	WHERE skill_id =	5130	;
UPDATE altadv_vars SET sof_next_id = 	7604	WHERE skill_id =	6080	;
UPDATE altadv_vars SET sof_next_id = 	12469	WHERE skill_id =	5516	;
UPDATE altadv_vars SET sof_next_id = 	5562	WHERE skill_id =	4739	;
UPDATE altadv_vars SET sof_next_id = 	7573	WHERE skill_id =	5562	;
UPDATE altadv_vars SET sof_next_id = 	7554	WHERE skill_id =	5529;
UPDATE altadv_vars SET sof_next_id = 	5557	WHERE skill_id =	4755	;
UPDATE altadv_vars SET sof_next_id = 	5592	WHERE skill_id =	4779	;
UPDATE altadv_vars SET sof_next_id = 	7590	WHERE skill_id =	5592	;
UPDATE altadv_vars SET sof_next_id = 	12454	WHERE skill_id =	7590	;
UPDATE altadv_vars SET sof_next_id = 	8305	WHERE skill_id =	8235	;
UPDATE altadv_vars SET sof_next_id = 	5554	WHERE skill_id =	4721	;
UPDATE altadv_vars SET sof_next_id = 	7565	WHERE skill_id =	5554	;
UPDATE altadv_vars SET sof_next_id = 	6023	WHERE skill_id =	7565	;
UPDATE altadv_vars SET sof_next_id = 	7670	WHERE skill_id =	7647	;
UPDATE altadv_vars SET sof_next_id = 	5628	WHERE skill_id =	5317	;
UPDATE altadv_vars SET sof_next_id = 	7583	WHERE skill_id =	5628	;
UPDATE altadv_vars SET sof_next_id = 	504	WHERE skill_id =	247	;
UPDATE altadv_vars SET sof_next_id = 	1290	WHERE skill_id =	684	;
UPDATE altadv_vars SET sof_next_id = 	7547	WHERE skill_id =	4678;

UPDATE altadv_vars SET sof_next_id = 	844	WHERE skill_id =	634	;
UPDATE altadv_vars SET sof_next_id = 	1319	WHERE skill_id =	844	;
UPDATE altadv_vars SET sof_next_id = 	4678	WHERE skill_id =	1001	;

