View Single Post
Old 05.09.2005, 11:28   #1
rodier
Архивный участник
 
Join Date: May 2005
Posts: 979
Default NPC that play music

I changed xmass tree:

Code:
npc_begin	warrior	12619	[x_mas_tree_a]	level=66	exp=2.925	acquire_exp_rate=7.2	undying=1	can_be_attacked=1	acquire_sp=60	race=castle_guard	sex=male	temper=100	safe_height=100	org_jump=15	skill_list={@s_carol_crystal1}	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=100	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=97xx.xx146118935	org_mp=1219.8	base_defend=5xx.xx5040328361	base_magic_attack=1.735709791816	base_magic_defend=2.497189482006	base_physical_attack=1.92431336161	physical_hit_modify=10	physical_avoid_modify=0	base_attack_speed=293	base_reuse_delay=1000	base_critical=8	magic_use_speed_modify=0	status={normal}	align=-1296	collision_radius=12	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={[elpy];{DDMagic]=@s_carol_crystal1}}	corpse_time=7	no_sleep_mode=0	npc_end
but dont have too much experience with AI and skill list.. do u think this will be working?
- when player attack NPC.. NPC start attacking back - but with very low dmg and start casting skill s_carol_crystal1 (that skill play music)
I can;t try it now.. but later today or yesterday ......... any ideas here ;-D
rodier is offline