|
public bool epicpirate()
{
if (entityflag == game.entityflag.entity)
{
var weapons = owner.weapons;
if (weapons.item1 != null && weapons.item2 != null)
if (weapons.item1.id / 1000 == 671 && weapons.item2.id / 1000 == 670)
return true;
}
return false;
}
public static positions itempositionfromid(uint32 itemid)
else if (itype == 1050 || itype == 900 || itype == 619)
return positions.left;
else if ((itype >= 410 && itype <= 490) || (itype >= 500 && itype <= 580) || (itype >= 601 && itype <= 617) || itype == 620 || itype == 624 || itype == 626)
return positions.right;
public static ushort itemposition(uint id)
#region epicpirate k7host.com
if (id >= 670003 && id <= 670439)
return conqueritem.leftweapon;
if (id >= 671003 && id <= 671439)
return conqueritem.rightweapon;
if (itype == 671)
return conqueritem.rightweapon;
if (itype == 670)
return conqueritem.leftweapon;
#endregion
public static bool israpier(uint id)
public static bool israpier(uint id)
{
if (id >= 611000 && id <= 611439 || (id >= 670000 && id <= 670439))
{ return true; }
else { return false; }
}
public static bool ispistol(uint id)
public static bool ispistol(uint id)
{
if (id >= 612000 && id <= 612439 || id >= 671000 && id <= 671439)
{ return true; }
else { return false; }
}
bool twohand = istwohand(item.id);
if (client.entity.class >= 70 && client.entity.class <= 75)
{
if (itemusage.dwparam > 20)
{
if (!client.equipment.free(24))
{
if (israpier(client.equipment.trygetitem(24).id))
{
if (ispistol(item.id))
{
can2wpn = true;
}
}
}
}
else if (!client.equipment.free(4))
{
if (israpier(client.equipment.trygetitem(4).id))
{
if (ispistol(item.id))
{
can2wpn = true;
}
}
}
}
670439@@oceandominator@@70@@12@@140@@0@@0@@36@@0@@0@@0@@0@@100000@@0@@3666@@2554@@0@@78@@0@@2616@@0@@7099@@7099@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1000@@0@@0@@0@@0@@0@@0@@300@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@epicweapon@@none@@5@@0@@0@@0@@1070@@500@@0@@0@@0@@0@@0@@
670239@@divinedictator@@70@@0@@120@@0@@0@@36@@0@@0@@0@@0@@200000@@0@@2313@@1212@@0@@61@@0@@149@@0@@7099@@7099@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1000@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@20@@0@@0@@0@@0@@0@@0@@0@@epicweapon@@none@@5@@0@@0@@0@@1360@@500@@0@@0@@0@@0@@0@@
670009@@tempestplunder@@70@@0@@5@@0@@0@@2@@0@@0@@0@@0@@153@@0@@15@@9@@0@@61@@0@@6@@0@@1599@@1599@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1000@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@20@@0@@0@@0@@0@@0@@0@@0@@epicweapon@@none@@5@@0@@0@@0@@1360@@500@@0@@0@@0@@0@@0@@
671439@@mightyrapierofviolence@@70@@11@@140@@0@@0@@36@@0@@0@@0@@0@@100000@@0@@3300@@2800@@0@@78@@0@@0@@0@@7099@@7099@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1000@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@epicweapon@@none@@5@@0@@0@@0@@1060@@500@@0@@0@@0@@0@@0@@
671239@@mightyrapierofambition@@70@@0@@120@@0@@0@@36@@0@@0@@0@@0@@200000@@0 @@2330@@1200@@0@@61@@0@@0@@0@@7099@@7099@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1000@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@20@@0@@0@@0@@0@@0@@0@@0@@epicweapon@@none@@5@@0@@0@@0@@1350@@500@@0@@0@@0@@0@@0@@
671009@@mightyrapierofinvasion@@70@@0@@5@@0@@0@@2 @@0@@0@@0@@153@@0@@15@@9@@0@@0@@61@@0@@0@@0@@1599@@1599@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1000@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@20@@0@@0@@0@@0@@0@@0@@0@@epicweapon@@none@@5@@0@@0@@0@@1350@@500@@0@@0@@0@@0@@0@@
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14570, 14570, 0078, 'leftchop', 1, 1, 0, 0000, 0000, 0000, 30200, 0000, 0030, 0000, 0003, 0008, 0000, 0000, 20243, 0015, 0, 61626626, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0000, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14580, 14580, 0078, 'rightchop', 1, 1, 0, 0000, 0000, 0000, 30200, 0000, 0030, 0000, 0003, 0008, 0000, 0000, 20243, 0015, 0, 61626626, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0000, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14590, 14590, 0081, 'gunfire', 1, 1, 0, 0000, 0000, 0000, 30200, 0000, 0030, 0000, 0003, 0008, 0000, 0000, 20243, 0015, 0, 61626626, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0000, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14680, 14680, 0090, 'seaburial', 1, 1, 0, 0000, 0000, 0000, 30100, 0000, 0030, 0000, 0003, 0008, 0000, 900000, 10000, 0015, 0, 60671670, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0000, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14681, 14680, 0000, 'seaburial', 1, 1, 0, 0000, 0000, 0000, 30102, 0000, 0030, 0000, 0003, 0008, 0000, 3000000, 30000, 0015, 0, 60671670, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0000, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14682, 14680, 0005, 'seaburial', 1, 1, 0, 0000, 0000, 0000, 30104, 0000, 0030, 0000, 0003, 0008, 0000, 10000000, 60000, 0015, 0, 60671670, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0001, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14683, 14680, 0090, 'seaburial', 1, 1, 0, 0000, 0000, 0000, 30106, 0000, 0030, 0000, 0003, 0008, 0000, 50000000, 120000, 0015, 0, 60671670, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0000, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14684, 14680, 0090, 'seaburial', 1, 1, 0, 0000, 0000, 0000, 30108, 0000, 0030, 0000, 0003, 0008, 0000, 100000000, 240000, 0015, 0, 60671670, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0001, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14685, 14680, 0090, 'seaburial', 1, 1, 0, 0000, 0000, 0000, 30110, 0000, 0030, 0000, 0003, 0008, 0000, 100000000, 6000000, 0015, 0, 60671670, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0000, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14686, 14680, 0090, 'seaburial', 1, 1, 0, 0000, 0000, 0000, 30115, 0000, 0030, 0000, 0003, 0008, 0000, 500000000, 0, 0015, 0, 60671670, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0001, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14710, 14710, 0006, 'immortalforce', 0, 0, 0, 0002, 0000, 0000, 1, 0000, 0100, 0010, 0000, 0000, 0220, 0500, 0, 0015, 0, 60671670, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0000, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14711, 14710, 0006, 'immortalforce', 0, 0, 0, 0002, 0000, 0000, 1, 0000, 0100, 0010, 0000, 0000, 0220, 1000, 0, 0015, 0, 60671670, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0000, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14712, 14710, 0006, 'immortalforce', 0, 0, 0, 0002, 0000, 0000, 1, 0000, 0100, 0010, 0000, 0000, 0220, 10000, 0, 0015, 0, 60671670, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0000, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14713, 14710, 0006, 'immortalforce', 0, 0, 0, 0002, 0000, 0000, 1, 0000, 0100, 0010, 0000, 0000, 0220, 50000, 0, 0015, 0, 60671670, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0000, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14714, 14710, 0006, 'immortalforce', 0, 0, 0, 0002, 0000, 0000, 1, 0000, 0100, 0010, 0000, 0000, 0220, 100000, 0, 0015, 0, 60671670, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0000, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14715, 14710, 0006, 'immortalforce', 0, 0, 0, 0002, 0000, 0000, 1, 0000, 0100, 0010, 0000, 0000, 0220, 500000, 0, 0015, 0, 60671670, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0000, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14716, 14710, 0006, 'immortalforce', 0, 0, 0, 0002, 0000, 0000, 1, 0000, 0100, 0010, 0000, 0000, 0220, 900000, 0, 0015, 0, 60671670, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0000, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14717, 14710, 0006, 'immortalforce', 0, 0, 0, 0002, 0000, 0000, 1, 0000, 0100, 0010, 0000, 0000, 0220, 1300000, 0, 0015, 0, 60671670, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0000, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14718, 14710, 0006, 'immortalforce', 0, 0, 0, 0002, 0000, 0000, 1, 0000, 0100, 0010, 0000, 0000, 0220, 0000, 0, 0015, 0, 60671670, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0000, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14720, 14720, 0021, 'bloomofdeath', 1, 1, 4, 0000, 0000, 0000, 30180, 0000, 0100, 0010, 0000, 0000, 0220, 0500, 0, 0015, 0, 60671670, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0000, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14721, 14720, 0021, 'bloomofdeath', 1, 1, 4, 0001, 0000, 0000, 30185, 0000, 0100, 0010, 0000, 0000, 0220, 0500, 0, 0015, 0, 60671670, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0000, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14722, 14720, 0021, 'bloomofdeath', 1, 1, 4, 0002, 0000, 0000, 30195, 0000, 0100, 0010, 0000, 0000, 0220, 0500, 0, 0015, 0, 60671670, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0000, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14723, 14720, 0021, 'bloomofdeath', 1, 1, 4, 0003, 0000, 0000, 30200, 0000, 0100, 0010, 0000, 0000, 0220, 0500, 0, 0015, 0, 60671670, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0000, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14724, 14720, 0021, 'bloomofdeath', 1, 1, 4, 0004, 0000, 0000, 30220, 0000, 0100, 0010, 0000, 0000, 0220, 0500, 0, 0015, 0, 60671670, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0000, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14725, 14720, 0021, 'bloomofdeath', 1, 1, 4, 0005, 0000, 0000, 30225, 0000, 0100, 0010, 0000, 0000, 0220, 0500, 0, 0015, 0, 60671670, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0000, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14726, 14720, 0021, 'bloomofdeath', 0, 0, 0, 0006, 0000, 0000, 30230, 0000, 0100, 0010, 0000, 0000, 0220, 0500, 0, 0015, 0, 60671670, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0000, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14727, 14720, 0021, 'bloomofdeath', 0, 0, 0, 0007, 0000, 0000, 30235, 0000, 0100, 0010, 0000, 0000, 0220, 0500, 0, 0015, 0, 60671670, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0000, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14728, 14720, 0021, 'bloomofdeath', 0, 0, 0, 0008, 0000, 0000, 30245, 0000, 0100, 0010, 0000, 0000, 0220, 0500, 0, 0015, 0, 60671670, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0000, 1, 1);
#region epicpirate(melee)
if (attacker.epicpirate())
{
#region epicpirate 14570
// var lastattacked = attacked;
var spell20 = database.spelltable.getspell(14570, attacker.owner);
if (kernel.rate(spell20.percent) && attacker.owner.spells.containskey(14570) && attacker.epicpirate())
{
{
msgmagiceffect suse = new msgmagiceffect(true);
suse.attacker = attacker.uid;
suse.spellid = spell20.id;
suse.spelllevel = spell20.level;
suse.x = lastattacked.x;
suse.y = lastattacked.y;
foreach (interfaces.imapobject _obj in attacker.owner.screen.objects)
{
if (_obj == null)
continue;
attacked = _obj as player;
if (attacked == null) continue;
if (kernel.getdistance(attacked.x, attacked.y, attacker.x, attacker.y) <= spell20.range)
{
if (_obj.mapobjtype == mapobjecttype.player)
{
if (!canattack(attacker, attacked, null, attack.interacttype == msginteract.melee)) continue;
uint damage = game.attacking.calculate.melee(attacker, attacked, ref attack);
attack.damage = 0;
damage = (damage * spell20.increasedmg);
damage = (damage / spell20.decreasedmg);
receiveattack(attacker, attacked, attack, ref damage, spell5);
suse.addtarget(attacked.uid, damage, attack);
}
else if (_obj.mapobjtype == mapobjecttype.monster)
{
if (!canattack(attacker, attacked, null, attack.interacttype == msginteract.melee)) continue;
uint damage = game.attacking.calculate.melee(attacker, attacked, ref attack);
attack.damage = 0;
damage = (damage * spell20.increasedmg);
damage = (damage / spell20.decreasedmg);
receiveattack(attacker, attacked, attack, ref damage, spell20);
suse.addtarget(attacked.uid, damage, attack);
}
else if (_obj.mapobjtype == mapobjecttype.sobnpc)
{
attackedsob = _obj as msgnpcinfoex;
if (kernel.getdistance(lastattacked.x, lastattacked.y, attackedsob.x, attackedsob.y) <= 5)
{
if (handle.canattack(attacker, attackedsob, spell20))
{
// lastattacked = attackedsob;
uint damages = game.attacking.calculate.melee(attacker, attackedsob, ref attack);
suse.effect2 = attack.effect2;
if (damages == 0) break;
handle.receiveattack(attacker, attackedsob, attack, damages, spell20);
suse.addtarget(attackedsob.uid, damages, attack);
}
}
}
}
}
attacker.attackpacket = null;
attacker.owner.sendscreen(suse, true);
}
return;
}
#endregion
#region epicpirate 14580
// var lastattacked = attacked;
var spell21 = database.spelltable.getspell(14580, attacker.owner);
if (kernel.rate(spell21.percent) && attacker.owner.spells.containskey(14580) && attacker.epicpirate())
{
#region epicpirate
{
msgmagiceffect suse = new msgmagiceffect(true);
suse.attacker = attacker.uid;
suse.spellid = spell21.id;
suse.spelllevel = spell21.level;
suse.x = lastattacked.x;
suse.y = lastattacked.y;
foreach (interfaces.imapobject _obj in attacker.owner.screen.objects)
{
if (_obj == null)
continue;
attacked = _obj as player;
if (attacked == null) continue;
if (kernel.getdistance(attacked.x, attacked.y, attacker.x, attacker.y) <= spell21.range)
{
if (_obj.mapobjtype == mapobjecttype.player)
{
if (!canattack(attacker, attacked, null, attack.interacttype == msginteract.melee)) continue;
uint damage = game.attacking.calculate.melee(attacker, attacked, ref attack);
attack.damage = 0;
damage = (damage * spell21.increasedmg);
damage = (damage / spell21.decreasedmg);
receiveattack(attacker, attacked, attack, ref damage, spell21);
suse.addtarget(attacked.uid, damage, attack);
}
else if (_obj.mapobjtype == mapobjecttype.monster)
{
if (!canattack(attacker, attacked, null, attack.interacttype == msginteract.melee)) continue;
uint damage = game.attacking.calculate.melee(attacker, attacked, ref attack);
attack.damage = 0;
damage = (damage * spell21.increasedmg);
damage = (damage / spell21.decreasedmg);
receiveattack(attacker, attacked, attack, ref damage, spell21);
suse.addtarget(attacked.uid, damage, attack);
}
else if (_obj.mapobjtype == mapobjecttype.sobnpc)
{
attackedsob = _obj as msgnpcinfoex;
if (kernel.getdistance(lastattacked.x, lastattacked.y, attackedsob.x, attackedsob.y) <= 5)
{
if (handle.canattack(attacker, attackedsob, spell5))
{
// lastattacked = attackedsob;
uint damages = game.attacking.calculate.melee(attacker, attackedsob, ref attack);
suse.effect2 = attack.effect2;
if (damages == 0) break;
handle.receiveattack(attacker, attackedsob, attack, damages, spell5);
suse.addtarget(attackedsob.uid, damages, attack);
}
}
}
}
}
attacker.attackpacket = null;
attacker.owner.sendscreen(suse, true);
}
#endregion
return;
}
#endregion
#region epicpirate 14590
// var lastattacked = attacked;
var spell22 = database.spelltable.getspell(14590, attacker.owner);
if (kernel.rate(spell22.percent) && attacker.owner.spells.containskey(14590) && attacker.epicpirate())
{
#region epicpirate
{
msgmagiceffect suse = new msgmagiceffect(true);
suse.attacker = attacker.uid;
suse.spellid = spell22.id;
suse.spelllevel = spell22.level;
suse.x = lastattacked.x;
suse.y = lastattacked.y;
foreach (interfaces.imapobject _obj in attacker.owner.screen.objects)
{
if (_obj == null)
continue;
attacked = _obj as player;
if (attacked == null) continue;
if (kernel.getdistance(attacked.x, attacked.y, attacker.x, attacker.y) <= spell22.range)
{
if (_obj.mapobjtype == mapobjecttype.player)
{
if (!canattack(attacker, attacked, null, attack.interacttype == msginteract.melee)) continue;
attacker.update(msgname.mode.effect, "hdswzfwodrd", true);// hdswzfwodrd
attacker.update(msgname.mode.effect, "hdswzf-shouji", true);
attacker.update(msgname.mode.effect, "hdswzf-shifa", true);
uint damage = game.attacking.calculate.melee(attacker, attacked, ref attack);
attack.damage = 0;
damage = (damage * spell22.increasedmg);
damage = (damage / spell22.decreasedmg);
receiveattack(attacker, attacked, attack, ref damage, spell22);
suse.addtarget(attacked.uid, damage, attack);
}
else if (_obj.mapobjtype == mapobjecttype.monster)
{
if (!canattack(attacker, attacked, null, attack.interacttype == msginteract.melee)) continue;
attacker.update(msgname.mode.effect, "hdswzfwodrd", true);// hdswzfwodrd
attacker.update(msgname.mode.effect, "hdswzf-shouji", true);
attacker.update(msgname.mode.effect, "hdswzf-shifa", true);
uint damage = game.attacking.calculate.melee(attacker, attacked, ref attack);
attack.damage = 0;
damage = (damage * spell22.increasedmg);
damage = (damage / spell22.decreasedmg);
receiveattack(attacker, attacked, attack, ref damage, spell22);
suse.addtarget(attacked.uid, damage, attack);
}
else if (_obj.mapobjtype == mapobjecttype.sobnpc)
{
attackedsob = _obj as msgnpcinfoex;
if (kernel.getdistance(lastattacked.x, lastattacked.y, attackedsob.x, attackedsob.y) <= 5)
{
if (handle.canattack(attacker, attackedsob, spell5))
{
attacker.update(msgname.mode.effect, "hdswzfwodrd", true);// hdswzfwodrd
attacker.update(msgname.mode.effect, "hdswzf-shouji", true);
attacker.update(msgname.mode.effect, "hdswzf-shifa", true);
// lastattacked = attackedsob;
uint damages = game.attacking.calculate.melee(attacker, attackedsob, ref attack);
suse.effect2 = attack.effect2;
if (damages == 0) break;
handle.receiveattack(attacker, attackedsob, attack, damages, spell5);
suse.addtarget(attackedsob.uid, damages, attack);
}
}
}
}
}
attacker.attackpacket = null;
attacker.owner.sendscreen(suse, true);
}
#endregion
return;
}
#endregion
//case 14720:
#region epicpirate 14720
// var lastattacked = attacked;
var spell23 = database.spelltable.getspell(14720, attacker.owner);
if (kernel.rate(spell23.percent) && attacker.owner.spells.containskey(14720) && attacker.epicpirate())
{
#region epicpirate
{
msgmagiceffect suse = new msgmagiceffect(true);
suse.attacker = attacker.uid;
suse.spellid = spell23.id;
suse.spelllevel = spell23.level;
ushort _x = attacker.x, _y = attacker.y;
ushort _tx = x, _ty = y;
byte dist = (byte)spell23.distance;
var array = attacker.owner.screen.objects;
inlinealgorithm algo = new inlinealgorithm(attacker.x, x, attacker.y, y, dist,
inlinealgorithm.algorithm.dda);
x = attacker.x;
x = attacker.y;
int i = 0;
for (i = 0; i < algo.lcoords.count; i++)
{
if (attacker.owner.map.floor[algo.lcoords[i].x, algo.lcoords[i].y, mapobjecttype.player]
&& !attacker.throughgate(algo.lcoords[i].x, algo.lcoords[i].y))
{
x = (ushort)algo.lcoords[i].x;
y = (ushort)algo.lcoords[i].y;
}
else
{
break;
}
}
suse.x = x;
suse.y = y;
if (!attacker.owner.map.floor[x, y, mapobjecttype.player, null])
return;
double disth = 1.5;
foreach (interfaces.imapobject _obj in array)
{
bool hit = false;
for (int j = 0; j < i; j++)
if (
kernel.getddistance(_obj.x, _obj.y, (ushort)algo.lcoords[j].x,
(ushort)algo.lcoords[j].y) <= disth)
hit = true;
if (hit)
{
if (_obj.mapobjtype == mapobjecttype.monster)
{
attacked = _obj as player;
if (canattack(attacker, attacked, spell23,
attack.interacttype == msginteract.melee))
{
var damage = game.attacking.calculate.melee(attacker, attacked, ref attack);
damage = (damage * spell23.increasedmg);
damage = (damage / spell23.decreasedmg);
receiveattack(attacker, attacked, attack, ref damage, spell23);
attacked.update(msgname.mode.effect, "zssjhdsssj", true);
suse.addtarget(attacked.uid, damage, attack);
}
}
else if (_obj.mapobjtype == mapobjecttype.player)
{
attacked = _obj as player;
if (canattack(attacker, attacked, spell23,
attack.interacttype == msginteract.melee))
{
var damage = game.attacking.calculate.melee(attacker, attacked,
ref attack);
damage = (damage * spell23.increasedmg);
damage = (damage / spell23.decreasedmg);
receiveattack(attacker, attacked, attack, ref damage, spell23);
attacked.update(msgname.mode.effect, "zssjhdsssj", true);
suse.addtarget(attacked.uid, damage, attack);
}
}
else if (_obj.mapobjtype == mapobjecttype.sobnpc)
{
attackedsob = _obj as msgnpcinfoex;
if (canattack(attacker, attackedsob, spell23))
{
var damage = game.attacking.calculate.melee(attacker,
attackedsob, ref attack);
//damage = (damage * spell.increasedmg);
//damage = (damage / spell.decreasedmg);
receiveattack(attacker, attackedsob, attack, damage, spell23);
attacked.update(msgname.mode.effect, "zssjhdsssj", true);
suse.addtarget(attackedsob.uid, damage, attack);
}
}
}
}
attacker.owner.sendscreen(suse, true);
}
}
#endregion
#endregion
}
#endregion
#region epic pirate
#region seaburial
case 14680:
{
if (canusespell(spell, attacker.owner))
{
preparespell(spell, attacker.owner);
msgmagiceffect suse = new msgmagiceffect(true);
suse.attacker = attacker.uid;
suse.spellid = spell.id;
suse.spelllevel = spell.level;
ushort _x = attacker.x, _y = attacker.y;
ushort _tx = x, _ty = y;
byte dist = (byte)spell.distance;
var array = attacker.owner.screen.objects;
inlinealgorithm algo = new inlinealgorithm(attacker.x, x, attacker.y, y, dist,
inlinealgorithm.algorithm.dda);
x = attacker.x;
y = attacker.y;
int i = 0;
for (i = 0; i < algo.lcoords.count; i++)
{
if (attacker.owner.map.floor[
algo.lcoords[i].x, algo.lcoords[i].y, mapobjecttype.player]
&& !attacker.throughgate(algo.lcoords[i].x, algo.lcoords[i].y))
{
x = (ushort)algo.lcoords[i].x;
y = (ushort)algo.lcoords[i].y;
}
else
{
break;
}
}
suse.x = x;
suse.y = y;
#region floor
msgname str = new msgname(true);
str.uid = attacker.uid;
str.textscount = 1;
str.x = x;
str.y = y;
str.positionx = attacker.x;
str.positiony = attacker.y;
str.action = msgname.mode.mapeffect;
str.texts.add("hdhlyz-lsyujing");
attacker.owner.sendscreen(str.toarray(), true);
msgaction data = new network.gamepackets.msgaction(true);
data.uid = attacker.uid;
data.x = x;
data.y = y;
data.id = msgaction.mode.flashstep;
data.wparam1 = attacker.x;
data.wparam2 = attacker.y;
attacker.owner.sendscreen(data, true);
#endregion
if (!attacker.owner.map.floor[x, y, mapobjecttype.player, null])
return;
double disth = 2.5;
foreach (interfaces.imapobject _obj in array)
{
bool hit = false;
for (int j = 0; j < i; j++)
if (
kernel.getddistance(_obj.x, _obj.y, (ushort)algo.lcoords[j].x,
(ushort)algo.lcoords[j].y) <= disth)
hit = true;
if (hit)
{
if (_obj.mapobjtype == mapobjecttype.monster)
{
attacked = _obj as player;
if (canattack(attacker, attacked, spell,
attack.interacttype == msginteract.melee))
{
var damage = game.attacking.calculate.melee(attacker, attacked,
ref attack);
damage = (damage * spell.increasedmg);
damage = (damage / spell.decreasedmg);
receiveattack(attacker, attacked, attack, ref damage, spell);
suse.addtarget(attacked.uid, damage, attack);
}
}
else if (_obj.mapobjtype == mapobjecttype.player)
{
attacked = _obj as player;
if (canattack(attacker, attacked, spell,
attack.interacttype == msginteract.melee))
{
var damage = game.attacking.calculate.melee(attacker, attacked,
ref attack);
damage = (damage * spell.increasedmg);
damage = (damage / spell.decreasedmg);
receiveattack(attacker, attacked, attack, ref damage, spell);
suse.addtarget(attacked.uid, damage, attack);
}
}
else if (_obj.mapobjtype == mapobjecttype.sobnpc)
{
attackedsob = _obj as msgnpcinfoex;
if (canattack(attacker, attackedsob, spell))
{
var damage = game.attacking.calculate.melee(attacker,
attackedsob, ref attack);
//damage = (damage * spell.increasedmg);
//damage = (damage / spell.decreasedmg);
receiveattack(attacker, attackedsob, attack, damage, spell);
suse.addtarget(attackedsob.uid, damage, attack);
}
}
}
}
attacker.owner.sendscreen(suse, true);
}
break;
}
#endregion
#region immortalforce
case 14710:
{
if (canusespell(spell, attacker.owner))
{
attacker.greeneffect = 10;
preparespell(spell, attacker.owner);
msgmagiceffect suse = new msgmagiceffect(true);
suse.attacker = attacker.uid;
suse.attacker1 = attacker.uid;
suse.spellid = spell.id;
suse.spelllevel = spell.level;
suse.addtarget(attacker.uid, 0, null);
attacker.owner.sendscreen(suse, true);
attacker.immortalforcestamp = time32.now;
attacker.addflag4((ulong)msgupdate.flags4.immortalforce);
}
break;
}
#endregion
#endregion
public static bool canattack
#region epic pirate immortalforce
if (attacked.containsflag4(msgupdate.flags4.immortalforce))
{
attacked.update(_string.effect, "hdyh-debuff", true);
// aaa hdyh-debuff
return false;
}
#endregion
public time32 omnipotencestamp,immortalforcestamp;
public time32 immortalforce { get; set; }
private unsafe void bufferscallback(gamestate client, int time)
{
#region epic pirate immortalforce
if (now > client.entity.immortalforcestamp.addseconds(5))
client.entity.removeflag(msgupdate.flags.immortalforce);
#endregion
public class flags4
.immortalforce = 1ul << 220
public bool epicpirate()
{
if (entityflag == game.entityflag.entity)
{
var weapons = owner.weapons;
if (weapons.item1 != null && weapons.item2 != null)
if (weapons.item1.id / 1000 == 671 && weapons.item2.id / 1000 == 670)
return true;
}
return false;
}
public static positions itempositionfromid(uint32 itemid)
else if (itype == 1050 || itype == 900 || itype == 619)
return positions.left;
else if ((itype >= 410 && itype <= 490) || (itype >= 500 && itype <= 580) || (itype >= 601 && itype <= 617) || itype == 620 || itype == 624 || itype == 626)
return positions.right;
public static ushort itemposition(uint id)
#region epicpirate k7host.com
if (id >= 670003 && id <= 670439)
return conqueritem.leftweapon;
if (id >= 671003 && id <= 671439)
return conqueritem.rightweapon;
if (itype == 671)
return conqueritem.rightweapon;
if (itype == 670)
return conqueritem.leftweapon;
#endregion
public static bool israpier(uint id)
public static bool israpier(uint id)
{
if (id >= 611000 && id <= 611439 || (id >= 670000 && id <= 670439))
{ return true; }
else { return false; }
}
public static bool ispistol(uint id)
public static bool ispistol(uint id)
{
if (id >= 612000 && id <= 612439 || id >= 671000 && id <= 671439)
{ return true; }
else { return false; }
}
bool twohand = istwohand(item.id);
if (client.entity.class >= 70 && client.entity.class <= 75)
{
if (itemusage.dwparam > 20)
{
if (!client.equipment.free(24))
{
if (israpier(client.equipment.trygetitem(24).id))
{
if (ispistol(item.id))
{
can2wpn = true;
}
}
}
}
else if (!client.equipment.free(4))
{
if (israpier(client.equipment.trygetitem(4).id))
{
if (ispistol(item.id))
{
can2wpn = true;
}
}
}
}
670439@@oceandominator@@70@@12@@140@@0@@0@@36@@0@@0@@0@@0@@100000@@0@@3666@@2554@@0@@78@@0@@2616@@0@@7099@@7099@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1000@@0@@0@@0@@0@@0@@0@@300@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@epicweapon@@none@@5@@0@@0@@0@@1070@@500@@0@@0@@0@@0@@0@@
670239@@divinedictator@@70@@0@@120@@0@@0@@36@@0@@0@@0@@0@@200000@@0@@2313@@1212@@0@@61@@0@@149@@0@@7099@@7099@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1000@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@20@@0@@0@@0@@0@@0@@0@@0@@epicweapon@@none@@5@@0@@0@@0@@1360@@500@@0@@0@@0@@0@@0@@
670009@@tempestplunder@@70@@0@@5@@0@@0@@2@@0@@0@@0@@0@@153@@0@@15@@9@@0@@61@@0@@6@@0@@1599@@1599@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1000@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@20@@0@@0@@0@@0@@0@@0@@0@@epicweapon@@none@@5@@0@@0@@0@@1360@@500@@0@@0@@0@@0@@0@@
671439@@mightyrapierofviolence@@70@@11@@140@@0@@0@@36@@0@@0@@0@@0@@100000@@0@@3300@@2800@@0@@78@@0@@0@@0@@7099@@7099@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1000@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@epicweapon@@none@@5@@0@@0@@0@@1060@@500@@0@@0@@0@@0@@0@@
671239@@mightyrapierofambition@@70@@0@@120@@0@@0@@36@@0@@0@@0@@0@@200000@@0 @@2330@@1200@@0@@61@@0@@0@@0@@7099@@7099@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1000@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@20@@0@@0@@0@@0@@0@@0@@0@@epicweapon@@none@@5@@0@@0@@0@@1350@@500@@0@@0@@0@@0@@0@@
671009@@mightyrapierofinvasion@@70@@0@@5@@0@@0@@2 @@0@@0@@0@@153@@0@@15@@9@@0@@0@@61@@0@@0@@0@@1599@@1599@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1000@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@20@@0@@0@@0@@0@@0@@0@@0@@epicweapon@@none@@5@@0@@0@@0@@1350@@500@@0@@0@@0@@0@@0@@
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14570, 14570, 0078, 'leftchop', 1, 1, 0, 0000, 0000, 0000, 30200, 0000, 0030, 0000, 0003, 0008, 0000, 0000, 20243, 0015, 0, 61626626, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0000, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14580, 14580, 0078, 'rightchop', 1, 1, 0, 0000, 0000, 0000, 30200, 0000, 0030, 0000, 0003, 0008, 0000, 0000, 20243, 0015, 0, 61626626, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0000, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14590, 14590, 0081, 'gunfire', 1, 1, 0, 0000, 0000, 0000, 30200, 0000, 0030, 0000, 0003, 0008, 0000, 0000, 20243, 0015, 0, 61626626, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0000, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14680, 14680, 0090, 'seaburial', 1, 1, 0, 0000, 0000, 0000, 30100, 0000, 0030, 0000, 0003, 0008, 0000, 900000, 10000, 0015, 0, 60671670, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0000, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14681, 14680, 0000, 'seaburial', 1, 1, 0, 0000, 0000, 0000, 30102, 0000, 0030, 0000, 0003, 0008, 0000, 3000000, 30000, 0015, 0, 60671670, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0000, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14682, 14680, 0005, 'seaburial', 1, 1, 0, 0000, 0000, 0000, 30104, 0000, 0030, 0000, 0003, 0008, 0000, 10000000, 60000, 0015, 0, 60671670, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0001, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14683, 14680, 0090, 'seaburial', 1, 1, 0, 0000, 0000, 0000, 30106, 0000, 0030, 0000, 0003, 0008, 0000, 50000000, 120000, 0015, 0, 60671670, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0000, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14684, 14680, 0090, 'seaburial', 1, 1, 0, 0000, 0000, 0000, 30108, 0000, 0030, 0000, 0003, 0008, 0000, 100000000, 240000, 0015, 0, 60671670, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0001, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14685, 14680, 0090, 'seaburial', 1, 1, 0, 0000, 0000, 0000, 30110, 0000, 0030, 0000, 0003, 0008, 0000, 100000000, 6000000, 0015, 0, 60671670, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0000, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14686, 14680, 0090, 'seaburial', 1, 1, 0, 0000, 0000, 0000, 30115, 0000, 0030, 0000, 0003, 0008, 0000, 500000000, 0, 0015, 0, 60671670, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0001, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14710, 14710, 0006, 'immortalforce', 0, 0, 0, 0002, 0000, 0000, 1, 0000, 0100, 0010, 0000, 0000, 0220, 0500, 0, 0015, 0, 60671670, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0000, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14711, 14710, 0006, 'immortalforce', 0, 0, 0, 0002, 0000, 0000, 1, 0000, 0100, 0010, 0000, 0000, 0220, 1000, 0, 0015, 0, 60671670, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0000, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14712, 14710, 0006, 'immortalforce', 0, 0, 0, 0002, 0000, 0000, 1, 0000, 0100, 0010, 0000, 0000, 0220, 10000, 0, 0015, 0, 60671670, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0000, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14713, 14710, 0006, 'immortalforce', 0, 0, 0, 0002, 0000, 0000, 1, 0000, 0100, 0010, 0000, 0000, 0220, 50000, 0, 0015, 0, 60671670, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0000, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14714, 14710, 0006, 'immortalforce', 0, 0, 0, 0002, 0000, 0000, 1, 0000, 0100, 0010, 0000, 0000, 0220, 100000, 0, 0015, 0, 60671670, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0000, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14715, 14710, 0006, 'immortalforce', 0, 0, 0, 0002, 0000, 0000, 1, 0000, 0100, 0010, 0000, 0000, 0220, 500000, 0, 0015, 0, 60671670, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0000, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14716, 14710, 0006, 'immortalforce', 0, 0, 0, 0002, 0000, 0000, 1, 0000, 0100, 0010, 0000, 0000, 0220, 900000, 0, 0015, 0, 60671670, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0000, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14717, 14710, 0006, 'immortalforce', 0, 0, 0, 0002, 0000, 0000, 1, 0000, 0100, 0010, 0000, 0000, 0220, 1300000, 0, 0015, 0, 60671670, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0000, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14718, 14710, 0006, 'immortalforce', 0, 0, 0, 0002, 0000, 0000, 1, 0000, 0100, 0010, 0000, 0000, 0220, 0000, 0, 0015, 0, 60671670, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0000, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14720, 14720, 0021, 'bloomofdeath', 1, 1, 4, 0000, 0000, 0000, 30180, 0000, 0100, 0010, 0000, 0000, 0220, 0500, 0, 0015, 0, 60671670, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0000, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14721, 14720, 0021, 'bloomofdeath', 1, 1, 4, 0001, 0000, 0000, 30185, 0000, 0100, 0010, 0000, 0000, 0220, 0500, 0, 0015, 0, 60671670, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0000, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14722, 14720, 0021, 'bloomofdeath', 1, 1, 4, 0002, 0000, 0000, 30195, 0000, 0100, 0010, 0000, 0000, 0220, 0500, 0, 0015, 0, 60671670, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0000, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14723, 14720, 0021, 'bloomofdeath', 1, 1, 4, 0003, 0000, 0000, 30200, 0000, 0100, 0010, 0000, 0000, 0220, 0500, 0, 0015, 0, 60671670, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0000, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14724, 14720, 0021, 'bloomofdeath', 1, 1, 4, 0004, 0000, 0000, 30220, 0000, 0100, 0010, 0000, 0000, 0220, 0500, 0, 0015, 0, 60671670, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0000, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14725, 14720, 0021, 'bloomofdeath', 1, 1, 4, 0005, 0000, 0000, 30225, 0000, 0100, 0010, 0000, 0000, 0220, 0500, 0, 0015, 0, 60671670, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0000, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14726, 14720, 0021, 'bloomofdeath', 0, 0, 0, 0006, 0000, 0000, 30230, 0000, 0100, 0010, 0000, 0000, 0220, 0500, 0, 0015, 0, 60671670, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0000, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14727, 14720, 0021, 'bloomofdeath', 0, 0, 0, 0007, 0000, 0000, 30235, 0000, 0100, 0010, 0000, 0000, 0220, 0500, 0, 0015, 0, 60671670, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0000, 1, 1);
insert into `cq1`.`spells`(`id`, `type`, `sort`, `name`, `crime`, `ground`, `multi`, `target`, `level`, `use_mp`, `power`, `intone_speed`, `percent`, `step_secs`, `range`, `distance`, `status`, `need_prof`, `need_exp`, `need_level`, `use_xp`, `weapon_subtype`, `active_times`, `auto_active`, `floor_attr`, `auto_learn`, `learn_level`, `drop_weapon`, `use_ep`, `weapon_hit`, `use_item`, `next_magic`, `delay_ms`, `use_item_num`, `increasedmg`, `decreasedmg`) values (14728, 14720, 0021, 'bloomofdeath', 0, 0, 0, 0008, 0000, 0000, 30245, 0000, 0100, 0010, 0000, 0000, 0220, 0500, 0, 0015, 0, 60671670, 0000, 0, 0000, 0, 0000, 0, 0000, 0, 0000, 0000, 0000, 0000, 1, 1);
#region epicpirate(melee)
if (attacker.epicpirate())
{
#region epicpirate 14570
// var lastattacked = attacked;
var spell20 = database.spelltable.getspell(14570, attacker.owner);
if (kernel.rate(spell20.percent) && attacker.owner.spells.containskey(14570) && attacker.epicpirate())
{
{
msgmagiceffect suse = new msgmagiceffect(true);
suse.attacker = attacker.uid;
suse.spellid = spell20.id;
suse.spelllevel = spell20.level;
suse.x = lastattacked.x;
suse.y = lastattacked.y;
foreach (interfaces.imapobject _obj in attacker.owner.screen.objects)
{
if (_obj == null)
continue;
attacked = _obj as player;
if (attacked == null) continue;
if (kernel.getdistance(attacked.x, attacked.y, attacker.x, attacker.y) <= spell20.range)
{
if (_obj.mapobjtype == mapobjecttype.player)
{
if (!canattack(attacker, attacked, null, attack.interacttype == msginteract.melee)) continue;
uint damage = game.attacking.calculate.melee(attacker, attacked, ref attack);
attack.damage = 0;
damage = (damage * spell20.increasedmg);
damage = (damage / spell20.decreasedmg);
receiveattack(attacker, attacked, attack, ref damage, spell5);
suse.addtarget(attacked.uid, damage, attack);
}
else if (_obj.mapobjtype == mapobjecttype.monster)
{
if (!canattack(attacker, attacked, null, attack.interacttype == msginteract.melee)) continue;
uint damage = game.attacking.calculate.melee(attacker, attacked, ref attack);
attack.damage = 0;
damage = (damage * spell20.increasedmg);
damage = (damage / spell20.decreasedmg);
receiveattack(attacker, attacked, attack, ref damage, spell20);
suse.addtarget(attacked.uid, damage, attack);
}
else if (_obj.mapobjtype == mapobjecttype.sobnpc)
{
attackedsob = _obj as msgnpcinfoex;
if (kernel.getdistance(lastattacked.x, lastattacked.y, attackedsob.x, attackedsob.y) <= 5)
{
if (handle.canattack(attacker, attackedsob, spell20))
{
// lastattacked = attackedsob;
uint damages = game.attacking.calculate.melee(attacker, attackedsob, ref attack);
suse.effect2 = attack.effect2;
if (damages == 0) break;
handle.receiveattack(attacker, attackedsob, attack, damages, spell20);
suse.addtarget(attackedsob.uid, damages, attack);
}
}
}
}
}
attacker.attackpacket = null;
attacker.owner.sendscreen(suse, true);
}
return;
}
#endregion
#region epicpirate 14580
// var lastattacked = attacked;
var spell21 = database.spelltable.getspell(14580, attacker.owner);
if (kernel.rate(spell21.percent) && attacker.owner.spells.containskey(14580) && attacker.epicpirate())
{
#region epicpirate
{
msgmagiceffect suse = new msgmagiceffect(true);
suse.attacker = attacker.uid;
suse.spellid = spell21.id;
suse.spelllevel = spell21.level;
suse.x = lastattacked.x;
suse.y = lastattacked.y;
foreach (interfaces.imapobject _obj in attacker.owner.screen.objects)
{
if (_obj == null)
continue;
attacked = _obj as player;
if (attacked == null) continue;
if (kernel.getdistance(attacked.x, attacked.y, attacker.x, attacker.y) <= spell21.range)
{
if (_obj.mapobjtype == mapobjecttype.player)
{
if (!canattack(attacker, attacked, null, attack.interacttype == msginteract.melee)) continue;
uint damage = game.attacking.calculate.melee(attacker, attacked, ref attack);
attack.damage = 0;
damage = (damage * spell21.increasedmg);
damage = (damage / spell21.decreasedmg);
receiveattack(attacker, attacked, attack, ref damage, spell21);
suse.addtarget(attacked.uid, damage, attack);
}
else if (_obj.mapobjtype == mapobjecttype.monster)
{
if (!canattack(attacker, attacked, null, attack.interacttype == msginteract.melee)) continue;
uint damage = game.attacking.calculate.melee(attacker, attacked, ref attack);
attack.damage = 0;
damage = (damage * spell21.increasedmg);
damage = (damage / spell21.decreasedmg);
receiveattack(attacker, attacked, attack, ref damage, spell21);
suse.addtarget(attacked.uid, damage, attack);
}
else if (_obj.mapobjtype == mapobjecttype.sobnpc)
{
attackedsob = _obj as msgnpcinfoex;
if (kernel.getdistance(lastattacked.x, lastattacked.y, attackedsob.x, attackedsob.y) <= 5)
{
if (handle.canattack(attacker, attackedsob, spell5))
{
// lastattacked = attackedsob;
uint damages = game.attacking.calculate.melee(attacker, attackedsob, ref attack);
suse.effect2 = attack.effect2;
if (damages == 0) break;
handle.receiveattack(attacker, attackedsob, attack, damages, spell5);
suse.addtarget(attackedsob.uid, damages, attack);
}
}
}
}
}
attacker.attackpacket = null;
attacker.owner.sendscreen(suse, true);
}
#endregion
return;
}
#endregion
#region epicpirate 14590
// var lastattacked = attacked;
var spell22 = database.spelltable.getspell(14590, attacker.owner);
if (kernel.rate(spell22.percent) && attacker.owner.spells.containskey(14590) && attacker.epicpirate())
{
#region epicpirate
{
msgmagiceffect suse = new msgmagiceffect(true);
suse.attacker = attacker.uid;
suse.spellid = spell22.id;
suse.spelllevel = spell22.level;
suse.x = lastattacked.x;
suse.y = lastattacked.y;
foreach (interfaces.imapobject _obj in attacker.owner.screen.objects)
{
if (_obj == null)
continue;
attacked = _obj as player;
if (attacked == null) continue;
if (kernel.getdistance(attacked.x, attacked.y, attacker.x, attacker.y) <= spell22.range)
{
if (_obj.mapobjtype == mapobjecttype.player)
{
if (!canattack(attacker, attacked, null, attack.interacttype == msginteract.melee)) continue;
attacker.update(msgname.mode.effect, "hdswzfwodrd", true);// hdswzfwodrd
attacker.update(msgname.mode.effect, "hdswzf-shouji", true);
attacker.update(msgname.mode.effect, "hdswzf-shifa", true);
uint damage = game.attacking.calculate.melee(attacker, attacked, ref attack);
attack.damage = 0;
damage = (damage * spell22.increasedmg);
damage = (damage / spell22.decreasedmg);
receiveattack(attacker, attacked, attack, ref damage, spell22);
suse.addtarget(attacked.uid, damage, attack);
}
else if (_obj.mapobjtype == mapobjecttype.monster)
{
if (!canattack(attacker, attacked, null, attack.interacttype == msginteract.melee)) continue;
attacker.update(msgname.mode.effect, "hdswzfwodrd", true);// hdswzfwodrd
attacker.update(msgname.mode.effect, "hdswzf-shouji", true);
attacker.update(msgname.mode.effect, "hdswzf-shifa", true);
uint damage = game.attacking.calculate.melee(attacker, attacked, ref attack);
attack.damage = 0;
damage = (damage * spell22.increasedmg);
damage = (damage / spell22.decreasedmg);
receiveattack(attacker, attacked, attack, ref damage, spell22);
suse.addtarget(attacked.uid, damage, attack);
}
else if (_obj.mapobjtype == mapobjecttype.sobnpc)
{
attackedsob = _obj as msgnpcinfoex;
if (kernel.getdistance(lastattacked.x, lastattacked.y, attackedsob.x, attackedsob.y) <= 5)
{
if (handle.canattack(attacker, attackedsob, spell5))
{
attacker.update(msgname.mode.effect, "hdswzfwodrd", true);// hdswzfwodrd
attacker.update(msgname.mode.effect, "hdswzf-shouji", true);
attacker.update(msgname.mode.effect, "hdswzf-shifa", true);
// lastattacked = attackedsob;
uint damages = game.attacking.calculate.melee(attacker, attackedsob, ref attack);
suse.effect2 = attack.effect2;
if (damages == 0) break;
handle.receiveattack(attacker, attackedsob, attack, damages, spell5);
suse.addtarget(attackedsob.uid, damages, attack);
}
}
}
}
}
attacker.attackpacket = null;
attacker.owner.sendscreen(suse, true);
}
#endregion
return;
}
#endregion
//case 14720:
#region epicpirate 14720
// var lastattacked = attacked;
var spell23 = database.spelltable.getspell(14720, attacker.owner);
if (kernel.rate(spell23.percent) && attacker.owner.spells.containskey(14720) && attacker.epicpirate())
{
#region epicpirate
{
msgmagiceffect suse = new msgmagiceffect(true);
suse.attacker = attacker.uid;
suse.spellid = spell23.id;
suse.spelllevel = spell23.level;
ushort _x = attacker.x, _y = attacker.y;
ushort _tx = x, _ty = y;
byte dist = (byte)spell23.distance;
var array = attacker.owner.screen.objects;
inlinealgorithm algo = new inlinealgorithm(attacker.x, x, attacker.y, y, dist,
inlinealgorithm.algorithm.dda);
x = attacker.x;
x = attacker.y;
int i = 0;
for (i = 0; i < algo.lcoords.count; i++)
{
if (attacker.owner.map.floor[algo.lcoords[i].x, algo.lcoords[i].y, mapobjecttype.player]
&& !attacker.throughgate(algo.lcoords[i].x, algo.lcoords[i].y))
{
x = (ushort)algo.lcoords[i].x;
y = (ushort)algo.lcoords[i].y;
}
else
{
break;
}
}
suse.x = x;
suse.y = y;
if (!attacker.owner.map.floor[x, y, mapobjecttype.player, null])
return;
double disth = 1.5;
foreach (interfaces.imapobject _obj in array)
{
bool hit = false;
for (int j = 0; j < i; j++)
if (
kernel.getddistance(_obj.x, _obj.y, (ushort)algo.lcoords[j].x,
(ushort)algo.lcoords[j].y) <= disth)
hit = true;
if (hit)
{
if (_obj.mapobjtype == mapobjecttype.monster)
{
attacked = _obj as player;
if (canattack(attacker, attacked, spell23,
attack.interacttype == msginteract.melee))
{
var damage = game.attacking.calculate.melee(attacker, attacked, ref attack);
damage = (damage * spell23.increasedmg);
damage = (damage / spell23.decreasedmg);
receiveattack(attacker, attacked, attack, ref damage, spell23);
attacked.update(msgname.mode.effect, "zssjhdsssj", true);
suse.addtarget(attacked.uid, damage, attack);
}
}
else if (_obj.mapobjtype == mapobjecttype.player)
{
attacked = _obj as player;
if (canattack(attacker, attacked, spell23,
attack.interacttype == msginteract.melee))
{
var damage = game.attacking.calculate.melee(attacker, attacked,
ref attack);
damage = (damage * spell23.increasedmg);
damage = (damage / spell23.decreasedmg);
receiveattack(attacker, attacked, attack, ref damage, spell23);
attacked.update(msgname.mode.effect, "zssjhdsssj", true);
suse.addtarget(attacked.uid, damage, attack);
}
}
else if (_obj.mapobjtype == mapobjecttype.sobnpc)
{
attackedsob = _obj as msgnpcinfoex;
if (canattack(attacker, attackedsob, spell23))
{
var damage = game.attacking.calculate.melee(attacker,
attackedsob, ref attack);
//damage = (damage * spell.increasedmg);
//damage = (damage / spell.decreasedmg);
receiveattack(attacker, attackedsob, attack, damage, spell23);
attacked.update(msgname.mode.effect, "zssjhdsssj", true);
suse.addtarget(attackedsob.uid, damage, attack);
}
}
}
}
attacker.owner.sendscreen(suse, true);
}
}
#endregion
#endregion
}
#endregion
#region epic pirate
#region seaburial
case 14680:
{
if (canusespell(spell, attacker.owner))
{
preparespell(spell, attacker.owner);
msgmagiceffect suse = new msgmagiceffect(true);
suse.attacker = attacker.uid;
suse.spellid = spell.id;
suse.spelllevel = spell.level;
ushort _x = attacker.x, _y = attacker.y;
ushort _tx = x, _ty = y;
byte dist = (byte)spell.distance;
var array = attacker.owner.screen.objects;
inlinealgorithm algo = new inlinealgorithm(attacker.x, x, attacker.y, y, dist,
inlinealgorithm.algorithm.dda);
x = attacker.x;
y = attacker.y;
int i = 0;
for (i = 0; i < algo.lcoords.count; i++)
{
if (attacker.owner.map.floor[
algo.lcoords[i].x, algo.lcoords[i].y, mapobjecttype.player]
&& !attacker.throughgate(algo.lcoords[i].x, algo.lcoords[i].y))
{
x = (ushort)algo.lcoords[i].x;
y = (ushort)algo.lcoords[i].y;
}
else
{
break;
}
}
suse.x = x;
suse.y = y;
#region floor
msgname str = new msgname(true);
str.uid = attacker.uid;
str.textscount = 1;
str.x = x;
str.y = y;
str.positionx = attacker.x;
str.positiony = attacker.y;
str.action = msgname.mode.mapeffect;
str.texts.add("hdhlyz-lsyujing");
attacker.owner.sendscreen(str.toarray(), true);
msgaction data = new network.gamepackets.msgaction(true);
data.uid = attacker.uid;
data.x = x;
data.y = y;
data.id = msgaction.mode.flashstep;
data.wparam1 = attacker.x;
data.wparam2 = attacker.y;
attacker.owner.sendscreen(data, true);
#endregion
if (!attacker.owner.map.floor[x, y, mapobjecttype.player, null])
return;
double disth = 2.5;
foreach (interfaces.imapobject _obj in array)
{
bool hit = false;
for (int j = 0; j < i; j++)
if (
kernel.getddistance(_obj.x, _obj.y, (ushort)algo.lcoords[j].x,
(ushort)algo.lcoords[j].y) <= disth)
hit = true;
if (hit)
{
if (_obj.mapobjtype == mapobjecttype.monster)
{
attacked = _obj as player;
if (canattack(attacker, attacked, spell,
attack.interacttype == msginteract.melee))
{
var damage = game.attacking.calculate.melee(attacker, attacked,
ref attack);
damage = (damage * spell.increasedmg);
damage = (damage / spell.decreasedmg);
receiveattack(attacker, attacked, attack, ref damage, spell);
suse.addtarget(attacked.uid, damage, attack);
}
}
else if (_obj.mapobjtype == mapobjecttype.player)
{
attacked = _obj as player;
if (canattack(attacker, attacked, spell,
attack.interacttype == msginteract.melee))
{
var damage = game.attacking.calculate.melee(attacker, attacked,
ref attack);
damage = (damage * spell.increasedmg);
damage = (damage / spell.decreasedmg);
receiveattack(attacker, attacked, attack, ref damage, spell);
suse.addtarget(attacked.uid, damage, attack);
}
}
else if (_obj.mapobjtype == mapobjecttype.sobnpc)
{
attackedsob = _obj as msgnpcinfoex;
if (canattack(attacker, attackedsob, spell))
{
var damage = game.attacking.calculate.melee(attacker,
attackedsob, ref attack);
//damage = (damage * spell.increasedmg);
//damage = (damage / spell.decreasedmg);
receiveattack(attacker, attackedsob, attack, damage, spell);
suse.addtarget(attackedsob.uid, damage, attack);
}
}
}
}
attacker.owner.sendscreen(suse, true);
}
break;
}
#endregion
#region immortalforce
case 14710:
{
if (canusespell(spell, attacker.owner))
{
attacker.greeneffect = 10;
preparespell(spell, attacker.owner);
msgmagiceffect suse = new msgmagiceffect(true);
suse.attacker = attacker.uid;
suse.attacker1 = attacker.uid;
suse.spellid = spell.id;
suse.spelllevel = spell.level;
suse.addtarget(attacker.uid, 0, null);
attacker.owner.sendscreen(suse, true);
attacker.immortalforcestamp = time32.now;
attacker.addflag4((ulong)msgupdate.flags4.immortalforce);
}
break;
}
#endregion
#endregion
public static bool canattack
#region epic pirate immortalforce
if (attacked.containsflag4(msgupdate.flags4.immortalforce))
{
attacked.update(_string.effect, "hdyh-debuff", true);
// aaa hdyh-debuff
return false;
}
#endregion
public time32 omnipotencestamp,immortalforcestamp;
public time32 immortalforce { get; set; }
private unsafe void bufferscallback(gamestate client, int time)
{
#region epic pirate immortalforce
if (now > client.entity.immortalforcestamp.addseconds(5))
client.entity.removeflag(msgupdate.flags.immortalforce);
#endregion
public class flags4
.immortalforce = 1ul << 220
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
لودر أحمد الزيرو للسورسات ال2دى | ابو حمزه9 | البرامج والودرات | 138 | اليوم 09:07 PM |
اضافة ابيك القرصان كامل | محمد ياسر | تطوير سيرفرات كونكر | 28 | 2023-09-10 08:59 PM |
مشكله الضربه العاديه مش شغاله | Mawdo3jded | مشكلات السيرفيرات كونكر الشخصيه | 2 | 2019-12-13 03:04 AM |
مشكله فى اضافة ابيك القرصان | amosha | مشكلات السيرفيرات كونكر الشخصيه | 11 | 2019-09-29 04:02 AM |
سكل ابيك القرصان | اسلام | مشكلات السيرفيرات كونكر الشخصيه | 1 | 2019-09-29 03:48 AM |