![]() |
|
|||||||
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
Архивный участник
Join Date: Oct 2005
Posts: 367
|
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
|
|
|
|
|
#2 |
|
Архивный участник
Join Date: Nov 2005
Posts: 46
|
is funny.. thnx
|
|
|
|
|
#3 |
|
Архивный участник
Join Date: Sep 2005
Posts: 731
|
It's cool that somebody shared it
Good Job m8 !!!
|
|
|
|
|
#4 |
|
Архивный участник
Join Date: May 2005
Posts: 2,033
|
very nice idea...
![]() i really like it :P |
|
|
|
|
#5 |
|
Архивный участник
Join Date: Aug 2005
Posts: 605
|
I guess you have to update your client fully and then apply your old system again in order to get the music file
|
|
|
|
|
#6 |
|
Архивный участник
Join Date: May 2005
Posts: 115
|
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
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
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 |
|
|
|
|
#7 |
|
Архивный участник
Join Date: Mar 2005
Posts: 475
|
nice one
|
|
|
|
|
#8 |
|
Архивный участник
Join Date: Sep 2005
Posts: 21
|
its not necesary any modification at client side? oO
|
|
|
|
|
#9 |
|
Архивный участник
Join Date: Aug 2005
Posts: 605
|
Is it possible to make special christmas tree raise mp/hp regeneration when someone is near to it?
|
|
|
|
|
#10 |
|
Архивный участник
Join Date: Sep 2005
Posts: 455
|
You mean, make it like the offical L2? I know you don't want to think that you came up with that idea. lol
|
|
|
|
|
#11 |
|
Архивный участник
Join Date: May 2005
Posts: 99
|
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 |
|
|
|
|
#12 |
|
Архивный участник
Join Date: May 2005
Posts: 99
|
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
|
|
|
|
|
#13 |
|
Архивный участник
Join Date: Aug 2005
Posts: 605
|
youre the best ^^
|
|
|
|
|
#14 |
|
Архивный участник
Join Date: Dec 2005
Posts: 120
|
"class elka" :lol:
Sorry for offtop :roll: |
|
|
|
|
#15 | |
|
Архивный участник
Join Date: Jun 2005
Posts: 11
|
Quote:
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. |
|
|
|
|
|