Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 12.12.2005, 23:52   #1
KTPSMF
Архивный участник
 
Join Date: Oct 2005
Posts: 367
Default [SHARING} Merry Cristmas Ha Ha Ha {xmas trees(summons)}

i found echo_crystal_xmas_1 skill for background music, but efect is null, so maby someone knows efect, so share with me , thanx.




Code:
By KTP^SMF


{------------ NPC DATA -----------------}

npc_begin	pet	12619	[x_mas_tree_a]	level=66	exp=2719752xx.xx5	acquire_exp_rate=3.6	undying=0	can_be_attacked=0	acquire_sp=30	race=humanoid	sex=male	temper=100	safe_height=100	org_jump=15	skill_list={@s_crastleshi5}	magic_list={@s_crastleshi5}	max_item=50	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=0	base_damage_range={0;0;80;120}	base_rand_dam=0	str=1	int=1	dex=1	wit=1	con=1	men=1	hp_increase=80	mp_increase=7	org_hp_regen=4.5	org_mp_regen=1.8	ground_low={50;0;10}	ground_high={186;-30;30}	underwater_low={50;0;10}	underwater_high={0;0;30}	fly_low={70;0;10}	fly_high={70;-30;30}	float_low={0;0;10}	float_high={0;-30;30}	org_earshot=100	sight={0;0;2500;120;5}	agro_range=1	org_hp=24xx.xx818899627	org_mp=672.9	base_defend=25000	base_magic_attack=0	base_magic_defend=54000	base_physical_attack=0	physical_hit_modify=3.75	physical_avoid_modify=0	base_attack_speed=0	base_reuse_delay=0	base_critical=0	magic_use_speed_modify=0	status={normal}	align=-1296	collision_radius=12	collision_height=31	category={}	clan={}	clan_help_range=300	guild={}	pledge={}	pledge_leader=0	alliance={}	alliance_leader=0	ignore_clan_list={}	ruler=0	ruling_domain={}	npc_ai={[pet_wolf_a]}	corpse_time=180	no_sleep_mode=0	npc_end
npc_begin	pet	12620	[x_mas_tree_b]	level=66	exp=2719752xx.xx5	acquire_exp_rate=3.6	undying=0	can_be_attacked=0	acquire_sp=30	race=humanoid	sex=male	temper=100	safe_height=100	org_jump=15	skill_list={@s_crastleshi5}	magic_list={@s_crastleshi5}	max_item=50	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=0	base_damage_range={0;0;80;120}	base_rand_dam=0	str=1	int=1	dex=1	wit=1	con=1	men=1	hp_increase=80	mp_increase=7	org_hp_regen=4.5	org_mp_regen=1.8	ground_low={50;0;10}	ground_high={186;-30;30}	underwater_low={50;0;10}	underwater_high={0;0;30}	fly_low={70;0;10}	fly_high={70;-30;30}	float_low={0;0;10}	float_high={0;-30;30}	org_earshot=100	sight={0;0;2500;120;5}	agro_range=1	org_hp=24xx.xx818899627	org_mp=672.9	base_defend=25000	base_magic_attack=0	base_magic_defend=54000	base_physical_attack=0	physical_hit_modify=3.75	physical_avoid_modify=0	base_attack_speed=0	base_reuse_delay=0	base_critical=0	magic_use_speed_modify=0	status={normal}	align=-1296	collision_radius=12	collision_height=31	category={}	clan={}	clan_help_range=300	guild={}	pledge={}	pledge_leader=0	alliance={}	alliance_leader=0	ignore_clan_list={}	ruler=0	ruling_domain={}	npc_ai={[pet_wolf_a]}	corpse_time=180	no_sleep_mode=0	npc_end


{------------ ITEM DATA -----------------}

item_begin	etcitem	5560	[x_mas_tree1]	item_type=etcitem	slot_bit_type={none}	armor_type=none	etcitem_type=pet_collar	blessed=0	weight=20	default_action=action_skill_maintain	consume_type=consume_type_normal	initial_count=1	maximum_count=1	soulshot_count=0	spiritshot_count=0	immediate_effect=0	price=0	default_price=1000	item_skill=[s_summon_regular_tree]	critical_attack_skill=[none]	material_type=steel	crystal_type=none	crystal_count=0	is_trade=1	is_drop=1	is_destruct=1	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	5561	[x_mas_tree2]	item_type=etcitem	slot_bit_type={none}	armor_type=none	etcitem_type=pet_collar	blessed=0	weight=20	default_action=action_skill_maintain	consume_type=consume_type_normal	initial_count=1	maximum_count=1	soulshot_count=0	spiritshot_count=0	immediate_effect=0	price=0	default_price=1000	item_skill=[s_summon_special_tree]	critical_attack_skill=[none]	material_type=steel	crystal_type=none	crystal_count=0	is_trade=1	is_drop=1	is_destruct=1	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


{------------ Skill DATA -----------------}

skill_begin	skill_name=[s_summon_regular_tree]	/* [c3 skill] */	skill_id=2137	level=1	operate_type=A1	magic_level=40	effect={{i_summon;[x_mas_tree_a];1}}	operate_cond={{can_summon_pet}}	is_magic=1	mp_consume2=0	item_consume={[x_mas_tree1];1}	cast_range=-1	effective_range=-1	skill_hit_time=0	skill_cool_time=5	skill_hit_cancel_time=0	reuse_delay=0	attribute=attr_none	effect_point=100	target_type = self	affect_scope=single	next_action=none	skill_end
skill_begin	skill_name=[s_summon_special_tree]	/* [c3 skill] */	skill_id=2138	level=1	operate_type=A1	magic_level=44	effect={{i_summon;[x_mas_tree_b];1}}	operate_cond={{can_summon_pet}}	is_magic=1	mp_consume2=0	item_consume={[x_mas_tree2];2}	cast_range=-1	effective_range=-1	skill_hit_time=0	skill_cool_time=5	skill_hit_cancel_time=0	reuse_delay=0	attribute=attr_none	effect_point=100	target_type = self	affect_scope=single	next_action=none	skill_end
KTPSMF is offline  
Old 13.12.2005, 06:33   #2
lstar
Архивный участник
 
Join Date: Nov 2005
Posts: 46
Default

is funny.. thnx
lstar is offline  
Old 13.12.2005, 07:33   #3
TheOrder
Архивный участник
 
Join Date: Sep 2005
Posts: 731
Default

It's cool that somebody shared it Good Job m8 !!!
TheOrder is offline  
Old 13.12.2005, 13:26   #4
toolpunk
Архивный участник
 
Join Date: May 2005
Posts: 2,033
Default

very nice idea...
i really like it :P
toolpunk is offline  
Old 13.12.2005, 13:50   #5
top-gear
Архивный участник
 
Join Date: Aug 2005
Posts: 605
Default

I guess you have to update your client fully and then apply your old system again in order to get the music file
top-gear is offline  
Old 13.12.2005, 15:18   #6
serjr
Архивный участник
 
Join Date: May 2005
Posts: 115
Default

Here my vartiation on xmas tree, it will summon chests with "presents" every 2 minutes and dispell after 20min like summon or on player logout.
Also you can add in AI cast carol cristall spels on xmas tree.

itemdata
Code:
item_begin	etcitem	5560	[x_mas_tree1]	item_type=etcitem	slot_bit_type={none}	armor_type=none	etcitem_type=potion	blessed=0	weight=60	default_action=action_skill_reduce	consume_type=consume_type_normal	initial_count=1	maximum_count=20	soulshot_count=0	spiritshot_count=0	immediate_effect=1	price=0	default_price=1000	item_skill=[s_summon_regular_tree]	critical_attack_skill=[none]	material_type=liquid	crystal_type=none	crystal_count=0	is_trade=1	is_drop=1	is_destruct=1	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

npcdata
Code:
npc_begin	summon	12619	[x_mas_tree_a]	level=40	exp=15422930.0	acquire_exp_rate=0	undying=0	can_be_attacked=1	acquire_sp=0	race=construct	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=fist	base_can_penetrate=0	base_attack_range=1	base_damage_range={0;0;1;1}	base_rand_dam=1	str=1	int=1	dex=1	wit=1	con=1	men=1	hp_increase=40	mp_increase=7	org_hp_regen=7.5	org_mp_regen=2.7	ground_low={0;0;10}	ground_high={0;-30;30}	underwater_low={0;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=0	org_hp=100	org_mp=1	base_defend=1	base_magic_attack=1	base_magic_defend=1	base_physical_attack=1	physical_hit_modify=1	physical_avoid_modify=0	base_attack_speed=1	base_reuse_delay=0	base_critical=1	magic_use_speed_modify=0	status={normal}	align=-1296	collision_radius=0	collision_height=0	category={}	clan={}	clan_help_range=0	guild={}	pledge={}	pledge_leader=0	alliance={}	alliance_leader=0	ignore_clan_list={}	ruler=0	ruling_domain={}	npc_ai={[elka];{[Privates]=[_gara_treasure_box_21:default_npc:1:2min;_gara_treasure_box_21:default_npc:1:2min]}}	corpse_time=7	no_sleep_mode=0	npc_end

npc_begin	warrior	1042	[_gara_treasure_box_21]	level=80	exp=1788937097.0	acquire_exp_rate=0	undying=0	can_be_attacked=1	acquire_sp=0	race=construct	sex=male	temper=100	safe_height=100	org_jump=15	skill_list={@s_race_2}	magic_list={}	max_item=80	item_make_list={}	corpse_make_list={}	additional_make_list={}	additional_make_multi_list={{{{[adena];1;20000;100}};70};{{{[crystal_d];1;100;30};{[crystal_c];1;100;20};{[crystal_b];1;50;10};{[crystal_a];1;50;5}};100}}	slot_chest=[]	slot_rhand=[]	slot_lhand=[]	base_attack_type=fist	base_can_penetrate=0	base_attack_range=40	base_damage_range={0;0;40;90}	base_rand_dam=7	str=1	int=1	dex=1	wit=1	con=1	men=1	hp_increase=1	mp_increase=1	org_hp_regen=1	org_mp_regen=1	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=0	org_hp=10	org_mp=10	base_defend=1	base_magic_attack=1	base_magic_defend=1	base_physical_attack=1	physical_hit_modify=1	physical_avoid_modify=0	base_attack_speed=253	base_reuse_delay=0	base_critical=4	magic_use_speed_modify=0	status={normal}	align=-1296	collision_radius=8.5	collision_height=8.5	category={}	clan={}	clan_help_range=1200	guild={}	pledge={}	pledge_leader=0	alliance={}	alliance_leader=0	ignore_clan_list={}	ruler=0	ruling_domain={}	npc_ai={[default_npc]}	corpse_time=1	no_sleep_mode=0	npc_end
skilldata
Code:
skill_begin	skill_name=[s_summon_regular_tree]	skill_id=2137	level=1	operate_type=A1	magic_level=28	effect={{i_summon;[x_mas_tree_a];10}}	operate_cond={}	is_magic=1	mp_consume1=1	mp_consume2=1	cast_range=-1	effective_range=-1	skill_hit_time=6	skill_cool_time=0	skill_hit_cancel_time=0.5	reuse_delay=20	attribute=attr_none	effect_point=0	target_type=self	affect_scope=single	next_action=none	skill_end
ai
Code:
class elka : default_npc
parameter_define_begin
	string Privates "orc:party_private:1:20sec"
parameter_define_end

handler 13	//  CREATED
	variable_begin
		"myself"
		"_choiceN"
		"_code"
		"_from_choice"
	variable_end

	push_event	//  myself
	push_const 28
	add
	fetch_i	//  sm
	push_const 2400
	add
	fetch_i	//  weight_point
	push_const 1624
	add
	push_reg_sp
	fetch_i
	push_const 10
	assign
	shift_sp -1
	shift_sp 1
	push_parameter Privates
	func_call 165	//  func[CreatePrivates]
	shift_sp -1

	shift_sp -1
	call_super
handler_end

class_end
serjr is offline  
Old 13.12.2005, 15:45   #7
hamidouch
Архивный участник
 
Join Date: Mar 2005
Posts: 475
Default

nice one
hamidouch is offline  
Old 24.12.2005, 16:07   #8
wen
Архивный участник
 
Join Date: Sep 2005
Posts: 21
Default

its not necesary any modification at client side? oO
wen is offline  
Old 24.12.2005, 16:15   #9
top-gear
Архивный участник
 
Join Date: Aug 2005
Posts: 605
Default

Is it possible to make special christmas tree raise mp/hp regeneration when someone is near to it?
top-gear is offline  
Old 24.12.2005, 16:25   #10
Kenster
Архивный участник
 
Join Date: Sep 2005
Posts: 455
Default

You mean, make it like the offical L2? I know you don't want to think that you came up with that idea. lol
Kenster is offline  
Old 24.12.2005, 17:48   #11
filrip
Архивный участник
 
Join Date: May 2005
Posts: 99
Default

Code:
class x_mas_tree_a : citizen
handler 5	// SEE_CREATURE
	variable_begin
		"creature"
		"myself"
		"_choiceN"
		"_code"
		"_from_choice"
	variable_end

	shift_sp 1
	push_event	//  creature
	push_const 68
	add
	fetch_i
	push_const 258834
	push_const 1
	push_const 1
	push_const 1000000
	func_call 10	//  func[AddUseSkillDesire]
	shift_sp -5
	shift_sp -1
handler_end
class_end
filrip is offline  
Old 24.12.2005, 17:51   #12
filrip
Архивный участник
 
Join Date: May 2005
Posts: 99
Default

for mp regeneration, make a new skill in skilldata that do it (like s_mana_potion but with target_type=target), add it to skill_pch.txt and put the skill id in the right param in AI
filrip is offline  
Old 24.12.2005, 18:42   #13
top-gear
Архивный участник
 
Join Date: Aug 2005
Posts: 605
Default

youre the best ^^
top-gear is offline  
Old 25.12.2005, 01:50   #14
Co0L
Архивный участник
 
Join Date: Dec 2005
Posts: 120
Default

"class elka" :lol:
Sorry for offtop :roll:
Co0L is offline  
Old 27.12.2005, 12:43   #15
Virgi
Архивный участник
 
Join Date: Jun 2005
Posts: 11
Default

Quote:
Originally Posted by filrip
Code:
class x_mas_tree_a : citizen
handler 5	// SEE_CREATURE
	variable_begin
		"creature"
		"myself"
		"_choiceN"
		"_code"
		"_from_choice"
	variable_end

	shift_sp 1
	push_event	//  creature
	push_const 68
	add
	fetch_i
	push_const 258834
	push_const 1
	push_const 1
	push_const 1000000
	func_call 10	//  func[AddUseSkillDesire]
	shift_sp -5
	shift_sp -1
handler_end
class_end
lol...
[s_summon_regular_tree] /* [c3 skill] */ skill_id = 2137 level = 1
[s_summon_special_tree] /* [c3 skill] */ skill_id = 2138 level = 1
[s_special_tree_recovery_bonus] /* [c3 skill] */ skill_id = 2139 level = 1
---------
and x_mass tree must buffed RANGE, but not SEE_CREATURE
look to skill Antaras_Debuff for make RANGE BUFF skill.
Virgi is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 19:49.