View Single Post
Old 11.10.2006, 05:32   #10
HF
Архивный участник
 
Join Date: Aug 2005
Posts: 1,531
Default NpcData bug: Impassable catacombs and necropolises.

After an entrance in catacombs you cannot pass in one room.
Because ziggurat teleport Z position below them Z-layer of catacomb.
First fix owner by FidoW

Code:
npc_begin	citizen	8095	[enter_necropolis1]	level=70	acquire_exp_rate=0	acquire_sp=0	unsowing=1	clan={}	ignore_clan_list={}	clan_help_range=300	slot_chest=[]	slot_rhand=[]	slot_lhand=[]	shield_defense_rate=0	shield_defense=0	skill_list={@s_race_undead;@s_full_magic_defence;@s_npc_abnormal_immunity;@s_npc_abnormal_immunity;@s_npc_abnormal_immunity}	npc_ai={[enter_necropolis1];{[MoveAroundSocial]=0};{[MoveAroundSocial1]=0};{[MoveAroundSocial2]=0};{[Role]=0};{[SignNumber]=1};{[PosX]=-41567};{[PosY]=209828};{[PosZ]=-5112}}	category={}	race=etc	sex=etc	undying=1	can_be_attacked=0	corpse_time=7	no_sleep_mode=0	agro_range=1000	ground_high={120;0;0}	ground_low={50;0;0}	exp=429634528	org_hp=24xx.xx819	org_hp_regen=7.5	org_mp=1345.8	org_mp_regen=2.7	collision_radius={7;7}	collision_height={15;15}	str=40	int=21	dex=30	wit=20	con=43	men=10	base_attack_type=sword	base_attack_range=40	base_damage_range={0;0;80;120}	base_rand_dam=30	base_physical_attack=6xx.xx373	base_critical=4	physical_hit_modify=4.75	base_attack_speed=253	base_reuse_delay=0	base_magic_attack=4xx.xx463	base_defend=2xx.xx597	base_magic_defend=2xx.xx847	physical_avoid_modify=0	soulshot_count=0	spiritshot_count=0	hit_time_factor=0.6	item_make_list={}	corpse_make_list={}	additional_make_list={}	additional_make_multi_list={}	hp_increase=0	mp_increase=0	safe_height=100	npc_end
fix all PosZ to +50 for all
'8095 [enter_necropolis1]' to '8102 [enter_necropolis8]'
'8114 [enter_catacomb1]' to '8119 [enter_catacomb6]'

example:
Code:
npc_ai={[enter_necropolis1];{[MoveAroundSocial]=0};{[MoveAroundSocial1]=0};{[MoveAroundSocial2]=0};{[Role]=0};{[SignNumber]=1};{[PosX]=-41567};{[PosY]=209828};{[PosZ]=-5112}}
to
Code:
npc_ai={[enter_necropolis1];{[MoveAroundSocial]=0};{[MoveAroundSocial1]=0};{[MoveAroundSocial2]=0};{[Role]=0};{[SignNumber]=1};{[PosX]=-41567};{[PosY]=209828};{[PosZ]=-5062}}
HF is offline