Post Pacific  

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

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 12.03.2007, 18:44   #1
PyroMaker
Архивный участник
 
Join Date: Nov 2006
Posts: 277
Default Hero Buff.

I'm not sure if someone has asked help for this before, I tried to search but couldn't find anything. Anyhow...

I'd like to know if it's possible to create a buff that only heroes can get. Like Chant of Hero or something like that.

A few people *cough* testdude *cough* have told me it can only be done by changing a few things in l2server.exe

Is that so?


Best regards,
PyroMaker.
PyroMaker is offline  
Old 12.03.2007, 19:15   #2
seraphii
Архивный участник
 
Join Date: Jun 2006
Posts: 126
Default

Yes is pretty simple to do them.
seraphii is offline  
Old 12.03.2007, 19:39   #3
nnightmare
Архивный участник
 
Join Date: Jun 2006
Posts: 153
Default

cool.. i loved those instructions up there.. but the hard part is, how u can give em automatically and take em out automatically when heros are selected and stop being one?
nnightmare is offline  
Old 12.03.2007, 22:27   #4
PyroMaker
Архивный участник
 
Join Date: Nov 2006
Posts: 277
Default

Double that.
PyroMaker is offline  
Old 13.03.2007, 00:28   #5
mcrabben7
Архивный участник
 
Join Date: Apr 2006
Posts: 461
Default

I made it ^^ It's not perfect yet, but it will give heroes skills on login, and take them away on login. I know there is a flaw if a Hero loses Hero during the time they are logged in, and I didn't check anything with subclasses. But yes, it is possible.

You either need to create your own hero skill system, or you can do it via CacheD + SQL scripts or something similar.
mcrabben7 is offline  
Old 13.03.2007, 00:55   #6
m4rk
Архивный участник
 
Join Date: Jan 2006
Posts: 607
Default

I think cached system is the way to go, as you can make it so that every 5 mins it 'refreshes', I mean it checks if the hero is still a hero etc...
m4rk is offline  
Old 13.03.2007, 01:46   #7
seraphii
Архивный участник
 
Join Date: Jun 2006
Posts: 126
Default

i put in skilldata the 5 skill:
skill_begin skill_name = [s_heroic_miracle]
skill_begin skill_name = [s_heroic_beserk]
skill_begin skill_name = [s_heroic_valor]
skill_begin skill_name = [s_heroic_grandeur]
skill_begin skill_name = [s_heroic_dread]

and make a sql script, when a player become a hero just put her name in the script and the skills automatic put on for 30 days and before his disapear, is not the easyway, but is way.
seraphii is offline  
Old 24.06.2007, 23:58   #8
Osito2Dancer
Архивный участник
 
Join Date: Mar 2005
Posts: 442
Default

I used "lin_NominateHeroes" to add and delete the skills. A simple cursor that goes through all "heroes" and adds the skill by SQL. Dont know if it works, maybe i have to reload the server once every month, but it's better than nothing.

Oso
Osito2Dancer is offline  
Old 25.06.2007, 00:40   #9
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

Quote:
Originally Posted by Osito2Dancer View Post
I used "lin_NominateHeroes" to add and delete the skills. A simple cursor that goes through all "heroes" and adds the skill by SQL. Dont know if it works, maybe i have to reload the server once every month, but it's better than nothing.

Oso
That will require restart the server. Best way is through CacheD
FidoW is offline  
Old 25.06.2007, 11:45   #10
l2serverfull
Архивный участник
 
Join Date: Sep 2006
Posts: 64
Default

Quote:
Originally Posted by Osito2Dancer View Post
I used "lin_NominateHeroes" to add and delete the skills. A simple cursor that goes through all "heroes" and adds the skill by SQL. Dont know if it works, maybe i have to reload the server once every month, but it's better than nothing.

Oso
u have system? via sql?
l2serverfull is offline  
Old 25.06.2007, 11:50   #11
l2serverfull
Архивный участник
 
Join Date: Sep 2006
Posts: 64
Default

Hero Skill

Code:
skill_begin	skill_name = [heroic_miracle]	/* [l2serverfull] */	skill_id = 395	level = 1	operate_type = A2	magic_level = 1	effect = {{p_physical_defence;{all};5400;diff};{p_magical_defence;{all};4050;diff};{p_speed;{all};5;per};{p_resist_dispel_by_category;slot_buff;-30;per}}	is_magic = 0	mp_consume2 = 69	item_consume = {[soul_ore];40}	cast_range = -1	effective_range = -1	skill_hit_time = 1	skill_cool_time = 0	skill_hit_cancel_time = 0.5	reuse_delay = 1800	activate_rate = -1	lv_bonus_rate = 0	basic_property = none	abnormal_time = 15	abnormal_lv = 1	abnormal_type = valakas_item	attribute = attr_none	effect_point = 0	target_type = self	affect_scope = single	affect_limit = {0;0}	next_action = none	debuff = 1	ride_state = {@ride_none}	skill_end		
skill_begin	skill_name = [heroic_berserker]	/* [l2serverfull] */	skill_id = 396	level = 1	operate_type = A2	magic_level = 77	effect = {{p_hit;{all};8;diff};{p_physical_attack;{all};500;diff};{p_physical_defence;{all};-25;per};{p_magical_defence;{all};-25;per};{p_magic_speed;{all};20;per};{p_magical_attack;{all};500;diff};{p_attack_speed;{all};20;per};{p_resist_dispel_by_category;slot_buff;-30;per};{p_resist_abnormal_by_category;slot_debuff;-10;per};{p_avoid;{all};-8;diff};{p_speed;{all};15;per}}	is_magic = 1	mp_consume1 = 14	mp_consume2 = 56	item_consume = {[soul_ore];40}	cast_range = -1	effective_range = -1	skill_hit_time = 1	skill_cool_time = 0	skill_hit_cancel_time = 0.5	reuse_delay = 1800	activate_rate = -1	lv_bonus_rate = 0	basic_property = none	abnormal_time = 15	abnormal_lv = 1	abnormal_type = valakas_item	attribute = attr_none	effect_point = 0	target_type = self	affect_scope = single	affect_limit = {0;0}	next_action = none	debuff = 1	ride_state = {@ride_none}	skill_end
skill_begin	skill_name = [heroic_valor]	/* [l2serverfull] */	skill_id = 1374	level = 1	operate_type = A2	magic_level = 77	effect = {{p_physical_attack;{all};250;diff};{p_resist_dispel_by_category;slot_buff;-30;per};{p_resist_abnormal_by_category;slot_debuff;-10;per};{p_physical_defence;{all};500;diff}}	is_magic = 1	mp_consume1 = 21	mp_consume2 = 84	item_consume = {[spirit_ore];80}	cast_range = 900	effective_range = 1400	skill_hit_time = 6	skill_cool_time = 0	skill_hit_cancel_time = 0.5	reuse_delay = 60	activate_rate = 40	lv_bonus_rate = 1	basic_property = wit	abnormal_time = 30	abnormal_lv = 1	abnormal_type = valakas_item	attribute = attr_unholy	effect_point = -993	target_type = self	affect_scope = pledge	affect_range = 900	affect_object = friend	affect_limit = {0;0}	next_action = none	debuff = 1	ride_state = {@ride_none;@ride_wind;@ride_star;@ride_twilight}	skill_end
skill_begin	skill_name = [heroic_grandure]	/* [l2serverfull] */	skill_id = 1375	level = 1	operate_type = A2	magic_level = 76	effect = {{p_magic_critical_rate;-30;per};{p_physical_defence;{all};-30;per};{p_magical_defence;{all};-30;per};{p_avoid;{all};-8;diff};{p_shield_defence_rate;-50};{p_reduce_cancel;40;diff};{p_block_buff};{p_block_debuff}}	is_magic = 1	mp_consume1 = 21	mp_consume2 = 84	item_consume = {[spirit_ore];80}	cast_range = 900	effective_range = 1400	skill_hit_time = 6	skill_cool_time = 0	skill_hit_cancel_time = 0.5	reuse_delay = 60	activate_rate = 40	lv_bonus_rate = 1	basic_property = wit	abnormal_time = 30	abnormal_lv = 1	abnormal_type = multi_debuff	attribute = attr_unholy	effect_point = -993	target_type = enemy_only	affect_scope = single	affect_limit = {0;0}	next_action = none	debuff = 1	ride_state = {@ride_none;@ride_wind;@ride_star;@ride_twilight}	skill_end
skill_begin	skill_name = [heroic_dread]	/* [l2serverfull] */	skill_id = 1376	level = 1	operate_type = A2	magic_level = 77	effect = {{i_run_away;30;20};{p_speed;{all};5;per}}	is_magic = 1	mp_consume1 = 14	mp_consume2 = 56	item_consume = {[spirit_ore];80}	cast_range = 400	effective_range = 900	skill_hit_time = 4	skill_cool_time = 0	skill_hit_cancel_time = 0.5	reuse_delay = 300	activate_rate = -1	lv_bonus_rate = 0	basic_property = none	abnormal_time = 300	abnormal_lv = 1	abnormal_type = multi_buff	attribute = attr_none	effect_point = 666	target_type = enemy_only	affect_scope = single	affect_limit = {0;0}	next_action = none	debuff = 1	ride_state = {@ride_none;@ride_wind;@ride_star;@ride_twilight}	skill_end
l2serverfull is offline  
Old 25.06.2007, 11:57   #12
Aikeleer
Архивный участник
 
Join Date: Jun 2005
Posts: 374
Default

I think those hero skills were shared many times before... but ok
Aikeleer is offline  
Old 25.06.2007, 18:05   #13
Chobito
Архивный участник
 
Join Date: Jun 2007
Posts: 26
Default

Quote:
Originally Posted by l2serverfull View Post
Hero Skill

Code:
skill_begin	skill_name = [heroic_miracle]	/* [l2serverfull] */	skill_id = 395	level = 1	operate_type = A2	magic_level = 1	effect = {{p_physical_defence;{all};5400;diff};{p_magical_defence;{all};4050;diff};{p_speed;{all};5;per};{p_resist_dispel_by_category;slot_buff;-30;per}}	is_magic = 0	mp_consume2 = 69	item_consume = {[soul_ore];40}	cast_range = -1	effective_range = -1	skill_hit_time = 1	skill_cool_time = 0	skill_hit_cancel_time = 0.5	reuse_delay = 1800	activate_rate = -1	lv_bonus_rate = 0	basic_property = none	abnormal_time = 15	abnormal_lv = 1	abnormal_type = valakas_item	attribute = attr_none	effect_point = 0	target_type = self	affect_scope = single	affect_limit = {0;0}	next_action = none	debuff = 1	ride_state = {@ride_none}	skill_end		
skill_begin	skill_name = [heroic_berserker]	/* [l2serverfull] */	skill_id = 396	level = 1	operate_type = A2	magic_level = 77	effect = {{p_hit;{all};8;diff};{p_physical_attack;{all};500;diff};{p_physical_defence;{all};-25;per};{p_magical_defence;{all};-25;per};{p_magic_speed;{all};20;per};{p_magical_attack;{all};500;diff};{p_attack_speed;{all};20;per};{p_resist_dispel_by_category;slot_buff;-30;per};{p_resist_abnormal_by_category;slot_debuff;-10;per};{p_avoid;{all};-8;diff};{p_speed;{all};15;per}}	is_magic = 1	mp_consume1 = 14	mp_consume2 = 56	item_consume = {[soul_ore];40}	cast_range = -1	effective_range = -1	skill_hit_time = 1	skill_cool_time = 0	skill_hit_cancel_time = 0.5	reuse_delay = 1800	activate_rate = -1	lv_bonus_rate = 0	basic_property = none	abnormal_time = 15	abnormal_lv = 1	abnormal_type = valakas_item	attribute = attr_none	effect_point = 0	target_type = self	affect_scope = single	affect_limit = {0;0}	next_action = none	debuff = 1	ride_state = {@ride_none}	skill_end
skill_begin	skill_name = [heroic_valor]	/* [l2serverfull] */	skill_id = 1374	level = 1	operate_type = A2	magic_level = 77	effect = {{p_physical_attack;{all};250;diff};{p_resist_dispel_by_category;slot_buff;-30;per};{p_resist_abnormal_by_category;slot_debuff;-10;per};{p_physical_defence;{all};500;diff}}	is_magic = 1	mp_consume1 = 21	mp_consume2 = 84	item_consume = {[spirit_ore];80}	cast_range = 900	effective_range = 1400	skill_hit_time = 6	skill_cool_time = 0	skill_hit_cancel_time = 0.5	reuse_delay = 60	activate_rate = 40	lv_bonus_rate = 1	basic_property = wit	abnormal_time = 30	abnormal_lv = 1	abnormal_type = valakas_item	attribute = attr_unholy	effect_point = -993	target_type = self	affect_scope = pledge	affect_range = 900	affect_object = friend	affect_limit = {0;0}	next_action = none	debuff = 1	ride_state = {@ride_none;@ride_wind;@ride_star;@ride_twilight}	skill_end
skill_begin	skill_name = [heroic_grandure]	/* [l2serverfull] */	skill_id = 1375	level = 1	operate_type = A2	magic_level = 76	effect = {{p_magic_critical_rate;-30;per};{p_physical_defence;{all};-30;per};{p_magical_defence;{all};-30;per};{p_avoid;{all};-8;diff};{p_shield_defence_rate;-50};{p_reduce_cancel;40;diff};{p_block_buff};{p_block_debuff}}	is_magic = 1	mp_consume1 = 21	mp_consume2 = 84	item_consume = {[spirit_ore];80}	cast_range = 900	effective_range = 1400	skill_hit_time = 6	skill_cool_time = 0	skill_hit_cancel_time = 0.5	reuse_delay = 60	activate_rate = 40	lv_bonus_rate = 1	basic_property = wit	abnormal_time = 30	abnormal_lv = 1	abnormal_type = multi_debuff	attribute = attr_unholy	effect_point = -993	target_type = enemy_only	affect_scope = single	affect_limit = {0;0}	next_action = none	debuff = 1	ride_state = {@ride_none;@ride_wind;@ride_star;@ride_twilight}	skill_end
skill_begin	skill_name = [heroic_dread]	/* [l2serverfull] */	skill_id = 1376	level = 1	operate_type = A2	magic_level = 77	effect = {{i_run_away;30;20};{p_speed;{all};5;per}}	is_magic = 1	mp_consume1 = 14	mp_consume2 = 56	item_consume = {[spirit_ore];80}	cast_range = 400	effective_range = 900	skill_hit_time = 4	skill_cool_time = 0	skill_hit_cancel_time = 0.5	reuse_delay = 300	activate_rate = -1	lv_bonus_rate = 0	basic_property = none	abnormal_time = 300	abnormal_lv = 1	abnormal_type = multi_buff	attribute = attr_none	effect_point = 666	target_type = enemy_only	affect_scope = single	affect_limit = {0;0}	next_action = none	debuff = 1	ride_state = {@ride_none;@ride_wind;@ride_star;@ride_twilight}	skill_end


but I have to create a new DB adding this skills???

greets
Chobito 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 17:51.