View Single Post
Old 27.06.2007, 16:05   #1
Fot@r@s
Архивный участник
 
Join Date: Mar 2007
Posts: 118
Default [Share] NPC "PK Killer"

Hello Guyz,
I have made this npc to protect the players from spawnkilling.

Server Side:
npcdata.txt
Code:
npc_begin	guard	18000	[pk_killer]	level=80	acquire_exp_rate=0	acquire_sp=0	unsowing=1	clan={}	ignore_clan_list={}	clan_help_range=300	slot_chest=[]	slot_rhand=[draconic_bow]	slot_lhand=[]	shield_defense_rate=0	shield_defense=0	skill_list={@s_race_undead;@s_full_magic_defence}	npc_ai={[pk_killer];{[fnHi]=[pk_killer.htm]};{[MoveAroundSocial]=0};{[MoveAroundSocial1]=92};{[MoveAroundSocial2]=92}}	category={}	race=human	sex=male	undying=1	can_be_attacked=0	corpse_time=7	no_sleep_mode=0	agro_range=18000	ground_high={160;0;0}	ground_low={50;0;0}	exp=1	org_hp=5000000000	org_hp_regen=10	org_mp=5000000000.0	org_mp_regen=10	collision_radius={8;8}	collision_height={24;24}	str=99	int=99	dex=99	wit=99	con=99	men=99	base_attack_type=bow	base_attack_range=60	base_damage_range={0;0;80;120}	base_rand_dam=30	base_physical_attack=9xx.xx854	base_critical=50	physical_hit_modify=4.75	base_attack_speed=5000	base_reuse_delay=0	base_magic_attack=611	base_defend=99xx.xx	base_magic_defend=9999.8	physical_avoid_modify=-6	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
htm:
Code:
<html><body> 
PK killer:<br>
Please go Away!! I have work now....<br>
</body></html>
Ai: attached below
Client Side:

npcname-e.dat
Code:
18000	Maximus	Elite Guard	3F	8B	FE	-1
npcgrp.dat
Code:
18000	LineageNPC.e_guard_MOrc	LineageNPCs.e_guard_MOrc_m00	4	LineageNPCsTex.e_guard_MOrc_m00_t00_b00	LineageNPCsTex.e_guard_MOrc_m00_t00_b01	LineageNPCsTex.e_guard_MOrc_m00_t00_f	LineageNPCsTex.e_guard_MOrc_m00_t00_h		0			1	0								2.00000000	0	3	ItemSound.fist_1	ItemSound.fist_2	ItemSound.fist_3	5	ItemSound.armor_metal_strong_1	ItemSound.armor_metal_strong_3	ItemSound.armor_metal_strong_7	ItemSound.armor_metal_alt_6	ItemSound.armor_metal_weak_2	3	ChrSound.MNpc_Giant_Dmg_1	ChrSound.MNpc_Giant_Dmg_2	ChrSound.MNpc_Giant_Dmg_3	0	0																											0	0	LineageEffect.p_u002_a	0	xx.xx000000	2xx.xx000000	xx.xx000000	0	0
Maybe needs some corrections.

Вложения из исходного сообщения (сами файлы в копии отсутствуют):
ai.txt — 4896 байт
Fot@r@s is offline