![]() |
|
|
#1 |
|
Архивный участник
Join Date: Sep 2005
Posts: 455
|
Very basic system, and I am not giving you the full thing, but it is very good for all players to get started.
ai.obj Code:
class gatekeeper_catacombwitch : teleporter_need_item handler 32 // MENU_SELECTED variable_begin "talker" "ask" "reply" "myself" "_choiceN" "_code" "_from_choice" variable_end push_event // ask push_const 100 add fetch_i push_const 6 negate equal branch_false L33287 L33286 shift_sp 1 push_event // talker push_const 32 add fetch_i push_parameter ItemNeeded func_call 81 // func[OwnItemCount] shift_sp -2 push_const 0 not_equal branch_false L33289 L33288 shift_sp 1 push_event // talker push_const 32 add fetch_i push_parameter ItemNeeded push_const 1 shift_sp -3 shift_sp -1 shift_sp 1 push_event // talker push_const 32 add fetch_i push_const 140581 push_const 79677 push_const 5424 negate func_call 46 // func[InstantTeleport] shift_sp -4 shift_sp -1 jump L33290 L33289 shift_sp 1 push_event // talker push_const 32 add fetch_i push_parameter fnNoItem func_call 43 // func[ShowPage] shift_sp -2 shift_sp -1 L33290 L33287 handler_end class_end class gatekeeper_catacombbranded : teleporter_need_item handler 32 // MENU_SELECTED variable_begin "talker" "ask" "reply" "myself" "_choiceN" "_code" "_from_choice" variable_end push_event // ask push_const 100 add fetch_i push_const 6 negate equal branch_false L33287 L33286 shift_sp 1 push_event // talker push_const 32 add fetch_i push_parameter ItemNeeded func_call 81 // func[OwnItemCount] shift_sp -2 push_const 0 not_equal branch_false L33289 L33288 shift_sp 1 push_event // talker push_const 32 add fetch_i push_parameter ItemNeeded push_const 1 shift_sp -3 shift_sp -1 shift_sp 1 push_event // talker push_const 32 add fetch_i push_const 46586 push_const 170303 push_const 4976 negate func_call 46 // func[InstantTeleport] shift_sp -4 shift_sp -1 jump L33290 L33289 shift_sp 1 push_event // talker push_const 32 add fetch_i push_parameter fnNoItem func_call 43 // func[ShowPage] shift_sp -2 shift_sp -1 L33290 L33287 handler_end class_end class gatekeeper_catacombapostate : teleporter_need_item handler 32 // MENU_SELECTED variable_begin "talker" "ask" "reply" "myself" "_choiceN" "_code" "_from_choice" variable_end push_event // ask push_const 100 add fetch_i push_const 6 negate equal branch_false L33287 L33286 shift_sp 1 push_event // talker push_const 32 add fetch_i push_parameter ItemNeeded func_call 81 // func[OwnItemCount] shift_sp -2 push_const 0 not_equal branch_false L33289 L33288 shift_sp 1 push_event // talker push_const 32 add fetch_i push_parameter ItemNeeded push_const 1 shift_sp -3 shift_sp -1 shift_sp 1 push_event // talker push_const 32 add fetch_i push_const 78062 push_const 78379 push_const 5120 negate func_call 46 // func[InstantTeleport] shift_sp -4 shift_sp -1 jump L33290 L33289 shift_sp 1 push_event // talker push_const 32 add fetch_i push_parameter fnNoItem func_call 43 // func[ShowPage] shift_sp -2 shift_sp -1 L33290 L33287 handler_end class_end class gatekeeper_saintnecropolis : teleporter_need_item handler 32 // MENU_SELECTED variable_begin "talker" "ask" "reply" "myself" "_choiceN" "_code" "_from_choice" variable_end push_event // ask push_const 100 add fetch_i push_const 6 negate equal branch_false L33287 L33286 shift_sp 1 push_event // talker push_const 32 add fetch_i push_parameter ItemNeeded func_call 81 // func[OwnItemCount] shift_sp -2 push_const 0 not_equal branch_false L33289 L33288 shift_sp 1 push_event // talker push_const 32 add fetch_i push_parameter ItemNeeded push_const 1 shift_sp -3 shift_sp -1 shift_sp 1 push_event // talker push_const 32 add fetch_i push_const 83436 push_const 209214 push_const 5432 negate func_call 46 // func[InstantTeleport] shift_sp -4 shift_sp -1 jump L33290 L33289 shift_sp 1 push_event // talker push_const 32 add fetch_i push_parameter fnNoItem func_call 43 // func[ShowPage] shift_sp -2 shift_sp -1 L33290 L33287 handler_end class_end class gatekeeper_asceticsnecropolis : teleporter_need_item handler 32 // MENU_SELECTED variable_begin "talker" "ask" "reply" "myself" "_choiceN" "_code" "_from_choice" variable_end push_event // ask push_const 100 add fetch_i push_const 6 negate equal branch_false L33287 L33286 shift_sp 1 push_event // talker push_const 32 add fetch_i push_parameter ItemNeeded func_call 81 // func[OwnItemCount] shift_sp -2 push_const 0 not_equal branch_false L33289 L33288 shift_sp 1 push_event // talker push_const 32 add fetch_i push_parameter ItemNeeded push_const 1 shift_sp -3 shift_sp -1 shift_sp 1 push_event // talker push_const 32 add fetch_i push_const 51933 negate push_const 79094 push_const 4736 negate func_call 46 // func[InstantTeleport] shift_sp -4 shift_sp -1 jump L33290 L33289 shift_sp 1 push_event // talker push_const 32 add fetch_i push_parameter fnNoItem func_call 43 // func[ShowPage] shift_sp -2 shift_sp -1 L33290 L33287 handler_end class_end class gatekeeper_disciplesnecropolis : teleporter_need_item handler 32 // MENU_SELECTED variable_begin "talker" "ask" "reply" "myself" "_choiceN" "_code" "_from_choice" variable_end push_event // ask push_const 100 add fetch_i push_const 6 negate equal branch_false L33287 L33286 shift_sp 1 push_event // talker push_const 32 add fetch_i push_parameter ItemNeeded func_call 81 // func[OwnItemCount] shift_sp -2 push_const 0 not_equal branch_false L33289 L33288 shift_sp 1 push_event // talker push_const 32 add fetch_i push_parameter ItemNeeded push_const 1 shift_sp -3 shift_sp -1 shift_sp 1 push_event // talker push_const 32 add fetch_i push_const 172661 push_const 17597 negate push_const 4896 negate func_call 46 // func[InstantTeleport] shift_sp -4 shift_sp -1 jump L33290 L33289 shift_sp 1 push_event // talker push_const 32 add fetch_i push_parameter fnNoItem func_call 43 // func[ShowPage] shift_sp -2 shift_sp -1 L33290 L33287 handler_end class_end class gatekeeper_patriotsnecropolis : teleporter_need_item handler 32 // MENU_SELECTED variable_begin "talker" "ask" "reply" "myself" "_choiceN" "_code" "_from_choice" variable_end push_event // ask push_const 100 add fetch_i push_const 6 negate equal branch_false L33287 L33286 shift_sp 1 push_event // talker push_const 32 add fetch_i push_parameter ItemNeeded func_call 81 // func[OwnItemCount] shift_sp -2 push_const 0 not_equal branch_false L33289 L33288 shift_sp 1 push_event // talker push_const 32 add fetch_i push_parameter ItemNeeded push_const 1 shift_sp -3 shift_sp -1 shift_sp 1 push_event // talker push_const 32 add fetch_i push_const 21423 negate push_const 77374 push_const 5168 negate func_call 46 // func[InstantTeleport] shift_sp -4 shift_sp -1 jump L33290 L33289 shift_sp 1 push_event // talker push_const 32 add fetch_i push_parameter fnNoItem func_call 43 // func[ShowPage] shift_sp -2 shift_sp -1 L33290 L33287 handler_end class_end class gatekeeper_pilgrimsnecropolis : teleporter_need_item handler 32 // MENU_SELECTED variable_begin "talker" "ask" "reply" "myself" "_choiceN" "_code" "_from_choice" variable_end push_event // ask push_const 100 add fetch_i push_const 6 negate equal branch_false L33287 L33286 shift_sp 1 push_event // talker push_const 32 add fetch_i push_parameter ItemNeeded func_call 81 // func[OwnItemCount] shift_sp -2 push_const 0 not_equal branch_false L33289 L33288 shift_sp 1 push_event // talker push_const 32 add fetch_i push_parameter ItemNeeded push_const 1 shift_sp -3 shift_sp -1 shift_sp 1 push_event // talker push_const 32 add fetch_i push_const 45249 push_const 123526 push_const 5408 negate func_call 46 // func[InstantTeleport] shift_sp -4 shift_sp -1 jump L33290 L33289 shift_sp 1 push_event // talker push_const 32 add fetch_i push_parameter fnNoItem func_call 43 // func[ShowPage] shift_sp -2 shift_sp -1 L33290 L33287 handler_end class_end class gatekeeper_worshipersnecropolis : teleporter_need_item handler 32 // MENU_SELECTED variable_begin "talker" "ask" "reply" "myself" "_choiceN" "_code" "_from_choice" variable_end push_event // ask push_const 100 add fetch_i push_const 6 negate equal branch_false L33287 L33286 shift_sp 1 push_event // talker push_const 32 add fetch_i push_parameter ItemNeeded func_call 81 // func[OwnItemCount] shift_sp -2 push_const 0 not_equal branch_false L33289 L33288 shift_sp 1 push_event // talker push_const 32 add fetch_i push_parameter ItemNeeded push_const 1 shift_sp -3 shift_sp -1 shift_sp 1 push_event // talker push_const 32 add fetch_i push_const 111599 push_const 174024 push_const 5432 negate func_call 46 // func[InstantTeleport] shift_sp -4 shift_sp -1 jump L33290 L33289 shift_sp 1 push_event // talker push_const 32 add fetch_i push_parameter fnNoItem func_call 43 // func[ShowPage] shift_sp -2 shift_sp -1 L33290 L33287 handler_end class_end Code:
npc_begin teleporter 8114 [enter_catacomb1] level=70 exp=4296345xx.xx5 acquire_exp_rate=1.2 undying=1 can_be_attacked=0 acquire_sp=144 race=humanoid sex=female temper=100 safe_height=100 org_jump=15 skill_list={@s_full_magic_defence} magic_list={} max_item=80 item_make_list={} corpse_make_list={} additional_make_list={} additional_make_multi_list={} slot_chest=[] slot_rhand=[] slot_lhand=[] base_attack_type=fist base_can_penetrate=0 base_attack_range=40 base_damage_range={0;0;80;120} base_rand_dam=30 str=40 int=21 dex=30 wit=20 con=43 men=10 hp_increase=40 mp_increase=7 org_hp_regen=7.5 org_mp_regen=2.7 ground_low={80;0;10} ground_high={120;-30;30} underwater_low={50;0;10} underwater_high={0;0;30} fly_low={0;0;10} fly_high={0;-30;30} float_low={0;0;10} float_high={0;-30;30} org_earshot=100 sight={0;0;2500;120;5} agro_range=1000 org_hp=24xx.xx818899627 org_mp=1345.8 base_defend=2xx.xx597408024 base_magic_attack=4xx.xx4627426724 base_magic_defend=2xx.xx8467292763 base_physical_attack=6xx.xx3725587608 physical_hit_modify=4.75 physical_avoid_modify=0 base_attack_speed=253 base_reuse_delay=0 base_critical=4 magic_use_speed_modify=0 status={normal} align=-4900 collision_radius=7 collision_height=15 category={} clan={} clan_help_range=300 guild={} pledge={} pledge_leader=0 alliance={} alliance_leader=0 ignore_clan_list={} ruler=0 ruling_domain={} npc_ai={ } corpse_time=7 no_sleep_mode=0 npc_end
npc_begin teleporter 8115 [enter_catacomb2] level=70 exp=4296345xx.xx5 acquire_exp_rate=1.2 undying=1 can_be_attacked=0 acquire_sp=144 race=humanoid sex=female temper=100 safe_height=100 org_jump=15 skill_list={@s_full_magic_defence} magic_list={} max_item=80 item_make_list={} corpse_make_list={} additional_make_list={} additional_make_multi_list={} slot_chest=[] slot_rhand=[] slot_lhand=[] base_attack_type=fist base_can_penetrate=0 base_attack_range=40 base_damage_range={0;0;80;120} base_rand_dam=30 str=40 int=21 dex=30 wit=20 con=43 men=10 hp_increase=40 mp_increase=7 org_hp_regen=7.5 org_mp_regen=2.7 ground_low={80;0;10} ground_high={120;-30;30} underwater_low={50;0;10} underwater_high={0;0;30} fly_low={0;0;10} fly_high={0;-30;30} float_low={0;0;10} float_high={0;-30;30} org_earshot=100 sight={0;0;2500;120;5} agro_range=1000 org_hp=24xx.xx818899627 org_mp=1345.8 base_defend=2xx.xx597408024 base_magic_attack=4xx.xx4627426724 base_magic_defend=2xx.xx8467292763 base_physical_attack=6xx.xx3725587608 physical_hit_modify=4.75 physical_avoid_modify=0 base_attack_speed=253 base_reuse_delay=0 base_critical=4 magic_use_speed_modify=0 status={normal} align=-4900 collision_radius=8 collision_height=15 category={} clan={} clan_help_range=300 guild={} pledge={} pledge_leader=0 alliance={} alliance_leader=0 ignore_clan_list={} ruler=0 ruling_domain={} npc_ai={[gatekeeper_catacombbranded];{[fnHi] = [enter_darkomens.htm]};{[fnNoItem] = [wrong_side.htm]};{[ItemNeeded]=@record_of_seven_sign_for_dawn}} corpse_time=7 no_sleep_mode=0 npc_end
npc_begin teleporter 8116 [enter_catacomb3] level=70 exp=4296345xx.xx5 acquire_exp_rate=1.2 undying=1 can_be_attacked=0 acquire_sp=144 race=humanoid sex=female temper=100 safe_height=100 org_jump=15 skill_list={@s_full_magic_defence} magic_list={} max_item=80 item_make_list={} corpse_make_list={} additional_make_list={} additional_make_multi_list={} slot_chest=[] slot_rhand=[] slot_lhand=[] base_attack_type=fist base_can_penetrate=0 base_attack_range=40 base_damage_range={0;0;80;120} base_rand_dam=30 str=40 int=21 dex=30 wit=20 con=43 men=10 hp_increase=40 mp_increase=7 org_hp_regen=7.5 org_mp_regen=2.7 ground_low={80;0;10} ground_high={120;-30;30} underwater_low={50;0;10} underwater_high={0;0;30} fly_low={0;0;10} fly_high={0;-30;30} float_low={0;0;10} float_high={0;-30;30} org_earshot=100 sight={0;0;2500;120;5} agro_range=1000 org_hp=24xx.xx818899627 org_mp=1345.8 base_defend=2xx.xx597408024 base_magic_attack=4xx.xx4627426724 base_magic_defend=2xx.xx8467292763 base_physical_attack=6xx.xx3725587608 physical_hit_modify=4.75 physical_avoid_modify=0 base_attack_speed=253 base_reuse_delay=0 base_critical=4 magic_use_speed_modify=0 status={normal} align=-4900 collision_radius=7 collision_height=15 category={} clan={} clan_help_range=300 guild={} pledge={} pledge_leader=0 alliance={} alliance_leader=0 ignore_clan_list={} ruler=0 ruling_domain={} npc_ai={[gatekeeper_catacombapostate];{[fnHi] = [enter_darkomens.htm]};{[fnNoItem] = [wrong_side.htm]};{[ItemNeeded]=@record_of_seven_sign_for_dawn}} corpse_time=7 no_sleep_mode=0 npc_end
npc_begin teleporter 8117 [enter_catacomb4] level=70 exp=4296345xx.xx5 acquire_exp_rate=1.2 undying=1 can_be_attacked=0 acquire_sp=144 race=humanoid sex=female temper=100 safe_height=100 org_jump=15 skill_list={@s_full_magic_defence} magic_list={} max_item=80 item_make_list={} corpse_make_list={} additional_make_list={} additional_make_multi_list={} slot_chest=[] slot_rhand=[] slot_lhand=[] base_attack_type=fist base_can_penetrate=0 base_attack_range=40 base_damage_range={0;0;80;120} base_rand_dam=30 str=40 int=21 dex=30 wit=20 con=43 men=10 hp_increase=40 mp_increase=7 org_hp_regen=7.5 org_mp_regen=2.7 ground_low={80;0;10} ground_high={120;-30;30} underwater_low={50;0;10} underwater_high={0;0;30} fly_low={0;0;10} fly_high={0;-30;30} float_low={0;0;10} float_high={0;-30;30} org_earshot=100 sight={0;0;2500;120;5} agro_range=1000 org_hp=24xx.xx818899627 org_mp=1345.8 base_defend=2xx.xx597408024 base_magic_attack=4xx.xx4627426724 base_magic_defend=2xx.xx8467292763 base_physical_attack=6xx.xx3725587608 physical_hit_modify=4.75 physical_avoid_modify=0 base_attack_speed=253 base_reuse_delay=0 base_critical=4 magic_use_speed_modify=0 status={normal} align=-4900 collision_radius=7 collision_height=15 category={} clan={} clan_help_range=300 guild={} pledge={} pledge_leader=0 alliance={} alliance_leader=0 ignore_clan_list={} ruler=0 ruling_domain={} npc_ai={[gatekeeper_catacombwitch];{[fnHi] = [enter_darkomens.htm]};{[fnNoItem] = [wrong_side.htm]};{[ItemNeeded]=@record_of_seven_sign_for_dawn}} corpse_time=7 no_sleep_mode=0 npc_end
npc_begin teleporter 8118 [enter_catacomb5] level=70 exp=4296345xx.xx5 acquire_exp_rate=1.2 undying=1 can_be_attacked=0 acquire_sp=144 race=humanoid sex=female temper=100 safe_height=100 org_jump=15 skill_list={@s_full_magic_defence} magic_list={} max_item=80 item_make_list={} corpse_make_list={} additional_make_list={} additional_make_multi_list={} slot_chest=[] slot_rhand=[] slot_lhand=[] base_attack_type=fist base_can_penetrate=0 base_attack_range=40 base_damage_range={0;0;80;120} base_rand_dam=30 str=40 int=21 dex=30 wit=20 con=43 men=10 hp_increase=40 mp_increase=7 org_hp_regen=7.5 org_mp_regen=2.7 ground_low={80;0;10} ground_high={120;-30;30} underwater_low={50;0;10} underwater_high={0;0;30} fly_low={0;0;10} fly_high={0;-30;30} float_low={0;0;10} float_high={0;-30;30} org_earshot=100 sight={0;0;2500;120;5} agro_range=1000 org_hp=24xx.xx818899627 org_mp=1345.8 base_defend=2xx.xx597408024 base_magic_attack=4xx.xx4627426724 base_magic_defend=2xx.xx8467292763 base_physical_attack=6xx.xx3725587608 physical_hit_modify=4.75 physical_avoid_modify=0 base_attack_speed=253 base_reuse_delay=0 base_critical=4 magic_use_speed_modify=0 status={normal} align=-4900 collision_radius=7 collision_height=15 category={} clan={} clan_help_range=300 guild={} pledge={} pledge_leader=0 alliance={} alliance_leader=0 ignore_clan_list={} ruler=0 ruling_domain={} npc_ai={[gatekeeper_darkomens];{[fnHi] = [enter_darkomens.htm]};{[fnNoItem] = [wrong_side.htm]};{[ItemNeeded]=@record_of_seven_sign_for_dawn}} corpse_time=7 no_sleep_mode=0 npc_end
npc_begin teleporter 8119 [enter_catacomb6] level=70 exp=4296345xx.xx5 acquire_exp_rate=1.2 undying=1 can_be_attacked=0 acquire_sp=144 race=humanoid sex=female temper=100 safe_height=100 org_jump=15 skill_list={@s_full_magic_defence} magic_list={} max_item=80 item_make_list={} corpse_make_list={} additional_make_list={} additional_make_multi_list={} slot_chest=[] slot_rhand=[] slot_lhand=[] base_attack_type=fist base_can_penetrate=0 base_attack_range=40 base_damage_range={0;0;80;120} base_rand_dam=30 str=40 int=21 dex=30 wit=20 con=43 men=10 hp_increase=40 mp_increase=7 org_hp_regen=7.5 org_mp_regen=2.7 ground_low={80;0;10} ground_high={120;-30;30} underwater_low={50;0;10} underwater_high={0;0;30} fly_low={0;0;10} fly_high={0;-30;30} float_low={0;0;10} float_high={0;-30;30} org_earshot=100 sight={0;0;2500;120;5} agro_range=1000 org_hp=24xx.xx818899627 org_mp=1345.8 base_defend=2xx.xx597408024 base_magic_attack=4xx.xx4627426724 base_magic_defend=2xx.xx8467292763 base_physical_attack=6xx.xx3725587608 physical_hit_modify=4.75 physical_avoid_modify=0 base_attack_speed=253 base_reuse_delay=0 base_critical=4 magic_use_speed_modify=0 status={normal} align=-4900 collision_radius=7 collision_height=15 category={} clan={} clan_help_range=300 guild={} pledge={} pledge_leader=0 alliance={} alliance_leader=0 ignore_clan_list={} ruler=0 ruling_domain={} npc_ai={} corpse_time=7 no_sleep_mode=0 npc_end
npc_begin teleporter 8095 [enter_necropolis1] level=66 exp=2719752xx.xx5 acquire_exp_rate=10.8 undying=1 can_be_attacked=0 acquire_sp=126 race=humanoid sex=male temper=100 safe_height=100 org_jump=15 skill_list={@s_full_magic_defence} magic_list={} max_item=80 item_make_list={} corpse_make_list={} additional_make_list={} additional_make_multi_list={} slot_chest=[] slot_rhand=[] slot_lhand=[] base_attack_type=bow base_can_penetrate=0 base_attack_range=1100 base_damage_range={0;0;80;120} base_rand_dam=0 str=40 int=21 dex=30 wit=20 con=43 men=10 hp_increase=40 mp_increase=7 org_hp_regen=7.5 org_mp_regen=2.7 ground_low={80;0;10} ground_high={120;-30;30} underwater_low={50;0;10} underwater_high={0;0;30} fly_low={0;0;10} fly_high={0;-30;30} float_low={0;0;10} float_high={0;-30;30} org_earshot=100 sight={0;0;2500;120;5} agro_range=1000 org_hp=67xx.xx146118935 org_mp=1219.8 base_defend=5xx.xx5040328361 base_magic_attack=5xx.xx5709791816 base_magic_defend=2xx.xx7189482006 base_physical_attack=40xx.xx431336161 physical_hit_modify=10 physical_avoid_modify=0 base_attack_speed=293 base_reuse_delay=1500 base_critical=8 magic_use_speed_modify=0 status={normal} align=-1296 collision_radius=8 collision_height=15 category={} clan={} clan_help_range=1200 guild={} pledge={} pledge_leader=0 alliance={} alliance_leader=0 ignore_clan_list={} ruler=0 ruling_domain={} npc_ai={} corpse_time=7 no_sleep_mode=0 npc_end
npc_begin teleporter 8096 [enter_necropolis2] level=66 exp=2719752xx.xx5 acquire_exp_rate=10.8 undying=1 can_be_attacked=0 acquire_sp=126 race=humanoid sex=male temper=100 safe_height=100 org_jump=15 skill_list={@s_full_magic_defence} magic_list={} max_item=80 item_make_list={} corpse_make_list={} additional_make_list={} additional_make_multi_list={} slot_chest=[] slot_rhand=[] slot_lhand=[] base_attack_type=bow base_can_penetrate=0 base_attack_range=1100 base_damage_range={0;0;80;120} base_rand_dam=0 str=40 int=21 dex=30 wit=20 con=43 men=10 hp_increase=40 mp_increase=7 org_hp_regen=7.5 org_mp_regen=2.7 ground_low={80;0;10} ground_high={120;-30;30} underwater_low={50;0;10} underwater_high={0;0;30} fly_low={0;0;10} fly_high={0;-30;30} float_low={0;0;10} float_high={0;-30;30} org_earshot=100 sight={0;0;2500;120;5} agro_range=1000 org_hp=67xx.xx146118935 org_mp=1219.8 base_defend=5xx.xx5040328361 base_magic_attack=5xx.xx5709791816 base_magic_defend=2xx.xx7189482006 base_physical_attack=40xx.xx431336161 physical_hit_modify=10 physical_avoid_modify=0 base_attack_speed=293 base_reuse_delay=1500 base_critical=8 magic_use_speed_modify=0 status={normal} align=-1296 collision_radius=8 collision_height=15 category={} clan={} clan_help_range=1200 guild={} pledge={} pledge_leader=0 alliance={} alliance_leader=0 ignore_clan_list={} ruler=0 ruling_domain={} npc_ai={[gatekeeper_pilgrimsnecropolis];{[fnHi] = [enter_darkomens.htm]};{[fnNoItem] = [wrong_side.htm]};{[ItemNeeded]=@record_of_seven_sign_for_dawn}} corpse_time=7 no_sleep_mode=0 npc_end
npc_begin teleporter 8097 [enter_necropolis3] level=66 exp=2719752xx.xx5 acquire_exp_rate=10.8 undying=1 can_be_attacked=0 acquire_sp=126 race=humanoid sex=male temper=100 safe_height=100 org_jump=15 skill_list={@s_full_magic_defence} magic_list={} max_item=80 item_make_list={} corpse_make_list={} additional_make_list={} additional_make_multi_list={} slot_chest=[] slot_rhand=[] slot_lhand=[] base_attack_type=bow base_can_penetrate=0 base_attack_range=1100 base_damage_range={0;0;80;120} base_rand_dam=0 str=40 int=21 dex=30 wit=20 con=43 men=10 hp_increase=40 mp_increase=7 org_hp_regen=7.5 org_mp_regen=2.7 ground_low={80;0;10} ground_high={120;-30;30} underwater_low={50;0;10} underwater_high={0;0;30} fly_low={0;0;10} fly_high={0;-30;30} float_low={0;0;10} float_high={0;-30;30} org_earshot=100 sight={0;0;2500;120;5} agro_range=1000 org_hp=67xx.xx146118935 org_mp=1219.8 base_defend=5xx.xx5040328361 base_magic_attack=5xx.xx5709791816 base_magic_defend=2xx.xx7189482006 base_physical_attack=40xx.xx431336161 physical_hit_modify=10 physical_avoid_modify=0 base_attack_speed=293 base_reuse_delay=1500 base_critical=8 magic_use_speed_modify=0 status={normal} align=-1296 collision_radius=8 collision_height=15 category={} clan={} clan_help_range=1200 guild={} pledge={} pledge_leader=0 alliance={} alliance_leader=0 ignore_clan_list={} ruler=0 ruling_domain={} npc_ai={[gatekeeper_worshipersnecropolis];{[fnHi] = [enter_darkomens.htm]};{[fnNoItem] = [wrong_side.htm]};{[ItemNeeded]=@record_of_seven_sign_for_dawn}} corpse_time=7 no_sleep_mode=0 npc_end
npc_begin teleporter 8098 [enter_necropolis4] level=66 exp=2719752xx.xx5 acquire_exp_rate=10.8 undying=1 can_be_attacked=0 acquire_sp=126 race=humanoid sex=male temper=100 safe_height=100 org_jump=15 skill_list={@s_full_magic_defence} magic_list={} max_item=80 item_make_list={} corpse_make_list={} additional_make_list={} additional_make_multi_list={} slot_chest=[] slot_rhand=[] slot_lhand=[] base_attack_type=bow base_can_penetrate=0 base_attack_range=1100 base_damage_range={0;0;80;120} base_rand_dam=0 str=40 int=21 dex=30 wit=20 con=43 men=10 hp_increase=40 mp_increase=7 org_hp_regen=7.5 org_mp_regen=2.7 ground_low={80;0;10} ground_high={120;-30;30} underwater_low={50;0;10} underwater_high={0;0;30} fly_low={0;0;10} fly_high={0;-30;30} float_low={0;0;10} float_high={0;-30;30} org_earshot=100 sight={0;0;2500;120;5} agro_range=1000 org_hp=67xx.xx146118935 org_mp=1219.8 base_defend=5xx.xx5040328361 base_magic_attack=5xx.xx5709791816 base_magic_defend=2xx.xx7189482006 base_physical_attack=40xx.xx431336161 physical_hit_modify=10 physical_avoid_modify=0 base_attack_speed=293 base_reuse_delay=1500 base_critical=8 magic_use_speed_modify=0 status={normal} align=-1296 collision_radius=8 collision_height=15 category={} clan={} clan_help_range=1200 guild={} pledge={} pledge_leader=0 alliance={} alliance_leader=0 ignore_clan_list={} ruler=0 ruling_domain={} npc_ai={[gatekeeper_patriotsnecropolis];{[fnHi] = [enter_darkomens.htm]};{[fnNoItem] = [wrong_side.htm]};{[ItemNeeded]=@record_of_seven_sign_for_dawn}} corpse_time=7 no_sleep_mode=0 npc_end
npc_begin teleporter 8099 [enter_necropolis5] level=66 exp=2719752xx.xx5 acquire_exp_rate=10.8 undying=1 can_be_attacked=0 acquire_sp=126 race=humanoid sex=male temper=100 safe_height=100 org_jump=15 skill_list={@s_full_magic_defence} magic_list={} max_item=80 item_make_list={} corpse_make_list={} additional_make_list={} additional_make_multi_list={} slot_chest=[] slot_rhand=[] slot_lhand=[] base_attack_type=bow base_can_penetrate=0 base_attack_range=1100 base_damage_range={0;0;80;120} base_rand_dam=0 str=40 int=21 dex=30 wit=20 con=43 men=10 hp_increase=40 mp_increase=7 org_hp_regen=7.5 org_mp_regen=2.7 ground_low={80;0;10} ground_high={120;-30;30} underwater_low={50;0;10} underwater_high={0;0;30} fly_low={0;0;10} fly_high={0;-30;30} float_low={0;0;10} float_high={0;-30;30} org_earshot=100 sight={0;0;2500;120;5} agro_range=1000 org_hp=67xx.xx146118935 org_mp=1219.8 base_defend=5xx.xx5040328361 base_magic_attack=5xx.xx5709791816 base_magic_defend=2xx.xx7189482006 base_physical_attack=40xx.xx431336161 physical_hit_modify=10 physical_avoid_modify=0 base_attack_speed=293 base_reuse_delay=1500 base_critical=8 magic_use_speed_modify=0 status={normal} align=-1296 collision_radius=8 collision_height=15 category={} clan={} clan_help_range=1200 guild={} pledge={} pledge_leader=0 alliance={} alliance_leader=0 ignore_clan_list={} ruler=0 ruling_domain={} npc_ai={[gatekeeper_asceticsnecropolis];{[fnHi] = [enter_darkomens.htm]};{[fnNoItem] = [wrong_side.htm]};{[ItemNeeded]=@record_of_seven_sign_for_dawn}} corpse_time=7 no_sleep_mode=0 npc_end
npc_begin teleporter 8100 [enter_necropolis6] level=66 exp=2719752xx.xx5 acquire_exp_rate=10.8 undying=1 can_be_attacked=0 acquire_sp=126 race=humanoid sex=male temper=100 safe_height=100 org_jump=15 skill_list={@s_full_magic_defence} magic_list={} max_item=80 item_make_list={} corpse_make_list={} additional_make_list={} additional_make_multi_list={} slot_chest=[] slot_rhand=[] slot_lhand=[] base_attack_type=bow base_can_penetrate=0 base_attack_range=1100 base_damage_range={0;0;80;120} base_rand_dam=0 str=40 int=21 dex=30 wit=20 con=43 men=10 hp_increase=40 mp_increase=7 org_hp_regen=7.5 org_mp_regen=2.7 ground_low={80;0;10} ground_high={120;-30;30} underwater_low={50;0;10} underwater_high={0;0;30} fly_low={0;0;10} fly_high={0;-30;30} float_low={0;0;10} float_high={0;-30;30} org_earshot=100 sight={0;0;2500;120;5} agro_range=1000 org_hp=67xx.xx146118935 org_mp=1219.8 base_defend=5xx.xx5040328361 base_magic_attack=5xx.xx5709791816 base_magic_defend=2xx.xx7189482006 base_physical_attack=40xx.xx431336161 physical_hit_modify=10 physical_avoid_modify=0 base_attack_speed=293 base_reuse_delay=1500 base_critical=8 magic_use_speed_modify=0 status={normal} align=-1296 collision_radius=8 collision_height=15 category={} clan={} clan_help_range=1200 guild={} pledge={} pledge_leader=0 alliance={} alliance_leader=0 ignore_clan_list={} ruler=0 ruling_domain={} npc_ai={} corpse_time=7 no_sleep_mode=0 npc_end
npc_begin teleporter 8101 [enter_necropolis7] level=66 exp=2719752xx.xx5 acquire_exp_rate=10.8 undying=1 can_be_attacked=0 acquire_sp=126 race=humanoid sex=male temper=100 safe_height=100 org_jump=15 skill_list={@s_full_magic_defence} magic_list={} max_item=80 item_make_list={} corpse_make_list={} additional_make_list={} additional_make_multi_list={} slot_chest=[] slot_rhand=[] slot_lhand=[] base_attack_type=bow base_can_penetrate=0 base_attack_range=1100 base_damage_range={0;0;80;120} base_rand_dam=0 str=40 int=21 dex=30 wit=20 con=43 men=10 hp_increase=40 mp_increase=7 org_hp_regen=7.5 org_mp_regen=2.7 ground_low={80;0;10} ground_high={120;-30;30} underwater_low={50;0;10} underwater_high={0;0;30} fly_low={0;0;10} fly_high={0;-30;30} float_low={0;0;10} float_high={0;-30;30} org_earshot=100 sight={0;0;2500;120;5} agro_range=1000 org_hp=67xx.xx146118935 org_mp=1219.8 base_defend=5xx.xx5040328361 base_magic_attack=5xx.xx5709791816 base_magic_defend=2xx.xx7189482006 base_physical_attack=40xx.xx431336161 physical_hit_modify=10 physical_avoid_modify=0 base_attack_speed=293 base_reuse_delay=1500 base_critical=8 magic_use_speed_modify=0 status={normal} align=-1296 collision_radius=8 collision_height=15 category={} clan={} clan_help_range=1200 guild={} pledge={} pledge_leader=0 alliance={} alliance_leader=0 ignore_clan_list={} ruler=0 ruling_domain={} npc_ai={[gatekeeper_disciplesnecropolis];{[fnHi] = [enter_darkomens.htm]};{[fnNoItem] = [wrong_side.htm]};{[ItemNeeded]=@record_of_seven_sign_for_dawn}} corpse_time=7 no_sleep_mode=0 npc_end
npc_begin teleporter 8102 [enter_necropolis8] level=66 exp=2719752xx.xx5 acquire_exp_rate=10.8 undying=1 can_be_attacked=0 acquire_sp=126 race=humanoid sex=male temper=100 safe_height=100 org_jump=15 skill_list={@s_full_magic_defence} magic_list={} max_item=80 item_make_list={} corpse_make_list={} additional_make_list={} additional_make_multi_list={} slot_chest=[] slot_rhand=[] slot_lhand=[] base_attack_type=bow base_can_penetrate=0 base_attack_range=1100 base_damage_range={0;0;80;120} base_rand_dam=0 str=40 int=21 dex=30 wit=20 con=43 men=10 hp_increase=40 mp_increase=7 org_hp_regen=7.5 org_mp_regen=2.7 ground_low={80;0;10} ground_high={120;-30;30} underwater_low={50;0;10} underwater_high={0;0;30} fly_low={0;0;10} fly_high={0;-30;30} float_low={0;0;10} float_high={0;-30;30} org_earshot=100 sight={0;0;2500;120;5} agro_range=1000 org_hp=67xx.xx146118935 org_mp=1219.8 base_defend=5xx.xx5040328361 base_magic_attack=5xx.xx5709791816 base_magic_defend=2xx.xx7189482006 base_physical_attack=40xx.xx431336161 physical_hit_modify=10 physical_avoid_modify=0 base_attack_speed=293 base_reuse_delay=1500 base_critical=8 magic_use_speed_modify=0 status={normal} align=-1296 collision_radius=8 collision_height=15 category={} clan={} clan_help_range=1200 guild={} pledge={} pledge_leader=0 alliance={} alliance_leader=0 ignore_clan_list={} ruler=0 ruling_domain={} npc_ai={[gatekeeper_saintnecropolis];{[fnHi] = [enter_darkomens.htm]};{[fnNoItem] = [wrong_side.htm]};{[ItemNeeded]=@record_of_seven_sign_for_dawn}} corpse_time=7 no_sleep_mode=0 npc_end
npc_begin citizen 8081 [dawn_priest_giran] level=66 exp=2719752xx.xx5 acquire_exp_rate=10.8 undying=1 can_be_attacked=0 acquire_sp=126 race=humanoid sex=male temper=100 safe_height=100 org_jump=15 skill_list={@s_full_magic_defence} magic_list={} max_item=80 item_make_list={} corpse_make_list={} additional_make_list={} additional_make_multi_list={} slot_chest=[] slot_rhand=[] slot_lhand=[] base_attack_type=bow base_can_penetrate=0 base_attack_range=1100 base_damage_range={0;0;80;120} base_rand_dam=0 str=40 int=21 dex=30 wit=20 con=43 men=10 hp_increase=40 mp_increase=7 org_hp_regen=7.5 org_mp_regen=2.7 ground_low={80;0;10} ground_high={120;-30;30} underwater_low={50;0;10} underwater_high={0;0;30} fly_low={0;0;10} fly_high={0;-30;30} float_low={0;0;10} float_high={0;-30;30} org_earshot=100 sight={0;0;2500;120;5} agro_range=1000 org_hp=67xx.xx146118935 org_mp=1219.8 base_defend=5xx.xx5040328361 base_magic_attack=5xx.xx5709791816 base_magic_defend=2xx.xx7189482006 base_physical_attack=40xx.xx431336161 physical_hit_modify=10 physical_avoid_modify=0 base_attack_speed=293 base_reuse_delay=1500 base_critical=8 magic_use_speed_modify=0 status={normal} align=-1296 collision_radius=12 collision_height=31 category={} clan={} clan_help_range=1200 guild={} pledge={} pledge_leader=0 alliance={} alliance_leader=0 ignore_clan_list={} ruler=0 ruling_domain={} npc_ai={[gamble_master];{[fnHi] = [dawn_priest_001a.htm]}} corpse_time=7 no_sleep_mode=0 npc_end
npc_begin citizen 8088 [dusk_priestess_giran] level=66 exp=2719752xx.xx5 acquire_exp_rate=10.8 undying=1 can_be_attacked=0 acquire_sp=126 race=humanoid sex=male temper=100 safe_height=100 org_jump=15 skill_list={@s_full_magic_defence} magic_list={} max_item=80 item_make_list={} corpse_make_list={} additional_make_list={} additional_make_multi_list={} slot_chest=[] slot_rhand=[] slot_lhand=[] base_attack_type=bow base_can_penetrate=0 base_attack_range=1100 base_damage_range={0;0;80;120} base_rand_dam=0 str=40 int=21 dex=30 wit=20 con=43 men=10 hp_increase=40 mp_increase=7 org_hp_regen=7.5 org_mp_regen=2.7 ground_low={80;0;10} ground_high={120;-30;30} underwater_low={50;0;10} underwater_high={0;0;30} fly_low={0;0;10} fly_high={0;-30;30} float_low={0;0;10} float_high={0;-30;30} org_earshot=100 sight={0;0;2500;120;5} agro_range=1000 org_hp=67xx.xx146118935 org_mp=1219.8 base_defend=5xx.xx5040328361 base_magic_attack=5xx.xx5709791816 base_magic_defend=2xx.xx7189482006 base_physical_attack=40xx.xx431336161 physical_hit_modify=10 physical_avoid_modify=0 base_attack_speed=293 base_reuse_delay=1500 base_critical=8 magic_use_speed_modify=0 status={normal} align=-1296 collision_radius=8 collision_height=25 category={} clan={} clan_help_range=1200 guild={} pledge={} pledge_leader=0 alliance={} alliance_leader=0 ignore_clan_list={} ruler=0 ruling_domain={} npc_ai={[gamble_master];{[fnHi] = [dusk_priest_1a.htm]}} corpse_time=7 no_sleep_mode=0 npc_end
Code:
territory_begin [C3_NEW_NPC_AT_GIRAN] {{83260;147820;-3524;-3324};{83460;147820;-3524;-3324};{83460;148020;-3524;-3324};{83260;148020;-3524;-3324}} territory_end
npcmaker_begin [C3_NEW_NPC_AT_GIRAN]
npc_begin [dusk_priestess_giran] pos = {83396;149337;-3405;49152} total = 1 respawn = 1min npc_end
npc_begin [dawn_priest_giran] pos = {83306;149337;-3405;49152} total = 1 respawn = 1min npc_end
npcmaker_end
territory_begin [C3_NEW_NPC_AT_DION] {{83260;147820;-3524;-3324};{83460;147820;-3524;-3324};{83460;148020;-3524;-3324};{83260;148020;-3524;-3324}} territory_end
npcmaker_begin [C3_NEW_NPC_AT_DION]
npc_begin [dusk_priestess_giran] pos = {18067;145310;-3048;-3056} total = 1 respawn = 1min npc_end
npc_begin [dawn_priest_giran] pos = {18472;144612;-3056;-3056} total = 1 respawn = 1min npc_end
npcmaker_end
Code:
{{{[green_seal_stone];1;1;0.5};{[red_seal_stone];1;1;0.1};{[blue_seal_stone];1;1;1}};80}
ITEMDATA.txt Code:
item_begin questitem 9142 [record_of_seven_sign_for_dawn] item_type=questitem slot_bit_type={none} armor_type=none etcitem_type=none blessed=0 weight=10 default_action=action_none consume_type=consume_type_stackable initial_count=1 maximum_count=20 soulshot_count=0 spiritshot_count=0 immediate_effect=1 price=0 default_price=0 item_skill=[none] critical_attack_skill=[none] material_type=liquid crystal_type=none crystal_count=0 is_trade=0 is_drop=0 is_destruct=0 physical_damage=0 random_damage=0 weapon_type=none can_penetrate=0 critical=0 hit_modify=0 avoid_modify=0 dual_fhit_rate=0 shield_defense=0 shield_defense_rate=0 attack_range=0 effective_range=0 damage_range={} attack_speed=0 reuse_delay=0 mp_consume=0 magical_damage=0 durability=0 damaged=0 physical_defense=0 magical_defense=0 mp_bonus=0 category={} enchanted=0 html=[item_default.htm] equip_pet={0} magic_weapon=0 item_end
item_begin questitem 9143 [record_of_seven_sign_for_dusk] item_type=questitem slot_bit_type={none} armor_type=none etcitem_type=none blessed=0 weight=10 default_action=action_none consume_type=consume_type_stackable initial_count=1 maximum_count=20 soulshot_count=0 spiritshot_count=0 immediate_effect=1 price=0 default_price=0 item_skill=[none] critical_attack_skill=[none] material_type=liquid crystal_type=none crystal_count=0 is_trade=0 is_drop=0 is_destruct=0 physical_damage=0 random_damage=0 weapon_type=none can_penetrate=0 critical=0 hit_modify=0 avoid_modify=0 dual_fhit_rate=0 shield_defense=0 shield_defense_rate=0 attack_range=0 effective_range=0 damage_range={} attack_speed=0 reuse_delay=0 mp_consume=0 magical_damage=0 durability=0 damaged=0 physical_defense=0 magical_defense=0 mp_bonus=0 category={} enchanted=0 html=[item_default.htm] equip_pet={0} magic_weapon=0 item_end
item_begin questitem 9144 [record_of_seven_sign_unsigned] item_type=questitem slot_bit_type={none} armor_type=none etcitem_type=none blessed=0 weight=10 default_action=action_none consume_type=consume_type_stackable initial_count=1 maximum_count=20 soulshot_count=0 spiritshot_count=0 immediate_effect=1 price=0 default_price=0 item_skill=[none] critical_attack_skill=[none] material_type=liquid crystal_type=none crystal_count=0 is_trade=0 is_drop=0 is_destruct=0 physical_damage=0 random_damage=0 weapon_type=none can_penetrate=0 critical=0 hit_modify=0 avoid_modify=0 dual_fhit_rate=0 shield_defense=0 shield_defense_rate=0 attack_range=0 effective_range=0 damage_range={} attack_speed=0 reuse_delay=0 mp_consume=0 magical_damage=0 durability=0 damaged=0 physical_defense=0 magical_defense=0 mp_bonus=0 category={} enchanted=0 html=[item_default.htm] equip_pet={0} magic_weapon=0 item_end
item_begin etcitem 6360 [blue_seal_stone] item_type=etcitem slot_bit_type={none} armor_type=none etcitem_type=none blessed=0 weight=10 default_action=action_none consume_type=consume_type_stackable initial_count=1 maximum_count=1 soulshot_count=0 spiritshot_count=0 immediate_effect=1 price=0 default_price=0 item_skill=[none] critical_attack_skill=[none] material_type=steel crystal_type=none crystal_count=0 is_trade=0 is_drop=0 is_destruct=0 physical_damage=0 random_damage=0 weapon_type=none can_penetrate=0 critical=0 hit_modify=0 avoid_modify=0 dual_fhit_rate=0 shield_defense=0 shield_defense_rate=0 attack_range=0 effective_range=0 damage_range={} attack_speed=0 reuse_delay=0 mp_consume=0 magical_damage=0 durability=0 damaged=0 physical_defense=0 magical_defense=0 mp_bonus=0 category={} enchanted=0 html=[item_default.htm] equip_pet={0} magic_weapon=0 item_end
item_begin etcitem 6361 [green_seal_stone] item_type=etcitem slot_bit_type={none} armor_type=none etcitem_type=none blessed=0 weight=10 default_action=action_none consume_type=consume_type_stackable initial_count=1 maximum_count=1 soulshot_count=0 spiritshot_count=0 immediate_effect=1 price=0 default_price=0 item_skill=[none] critical_attack_skill=[none] material_type=steel crystal_type=none crystal_count=0 is_trade=0 is_drop=0 is_destruct=0 physical_damage=0 random_damage=0 weapon_type=none can_penetrate=0 critical=0 hit_modify=0 avoid_modify=0 dual_fhit_rate=0 shield_defense=0 shield_defense_rate=0 attack_range=0 effective_range=0 damage_range={} attack_speed=0 reuse_delay=0 mp_consume=0 magical_damage=0 durability=0 damaged=0 physical_defense=0 magical_defense=0 mp_bonus=0 category={} enchanted=0 html=[item_default.htm] equip_pet={0} magic_weapon=0 item_end
item_begin etcitem 6362 [red_seal_stone] item_type=etcitem slot_bit_type={none} armor_type=none etcitem_type=none blessed=0 weight=10 default_action=action_none consume_type=consume_type_stackable initial_count=1 maximum_count=1 soulshot_count=0 spiritshot_count=0 immediate_effect=1 price=0 default_price=0 item_skill=[none] critical_attack_skill=[none] material_type=steel crystal_type=none crystal_count=0 is_trade=0 is_drop=0 is_destruct=0 physical_damage=0 random_damage=0 weapon_type=none can_penetrate=0 critical=0 hit_modify=0 avoid_modify=0 dual_fhit_rate=0 shield_defense=0 shield_defense_rate=0 attack_range=0 effective_range=0 damage_range={} attack_speed=0 reuse_delay=0 mp_consume=0 magical_damage=0 durability=0 damaged=0 physical_defense=0 magical_defense=0 mp_bonus=0 category={} enchanted=0 html=[item_default.htm] equip_pet={0} magic_weapon=0 item_end
Code:
MultiSell_begin [dawn] 8903
selllist={{{[record_of_seven_sign_for_dawn];1};{{[record_of_seven_sign_unsigned];1}}}}
MultiSell_end
MultiSell_begin [dusk] 8904
selllist={{{[record_of_seven_sign_for_dusk];1};{{[record_of_seven_sign_unsigned];1}}}}
MultiSell_end
Code:
[record_of_seven_sign_unsigned] OK! What this does, if you check NPCDATA You will see in the AI [REQUIRED ITEM]. (I am not giving you function, I want people to learn while using this). There is a @record_of_seven_sign_for_dawn Which means only people with that Item may teleport in. (Dawn is winning in L2-Paradise.com Right now). I am not giving you how to calculate who is winning, or how to start the event over, but this will get everyone started. You can add a MULTISELL if you want, to exchange the Crystals for AA and then do it that way, no one will ever win, but its another event for your players. HTMLs have been shared, they need a bit of editing, since some of the stuff in the HTMLs is not in this pack, but you can edit it, and add the 2 multisells linking to the exchange of an UNSIGNED to a SIGNED side. (Dawn or Dusk). Enjoy. |
|
|
|
|