Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   Adding Abnormal Effects (https://postpacific.loc-online.com/showthread.php?t=3924)

snikr 06.04.2006 10:11

Adding Abnormal Effects
 
Hi, sometime ago I heard that if you want a new abnormal, the only thing to do was to add such abnormal in manual_pch.txt and nothing else, but I doubt if hexing is needed, could anyone tell me what's the way?

In case it's hexing I see there are some abnormals not used (I searched for them in skilldata):

[ab_bow_range_up] = 27
[ab_grasp_weak_point] = 29
[ab_party_dmg_transition] = 36
[ab_earshot_down] = 38
[ab_invisible] = 44
[ab_detect] = 45 (not detect weakness)
[ab_transform] = 46
[ab_moving_spell] = 47
[ab_move_environment] = 48
[ab_move_mode] = 49
[ab_light] = 50
[ab_put_on_hatelist] = 51
[ab_armor_durability_down] = 55
[ab_turn_passive] = 56 (only for mobs)
[ab_agro_range_down] = 58
[ab_miss] = 64


There will be any risk/problem if I use some of them? (for dances and songs, and one for vampiric [although doesn't work]).

Thanks.

Mattho 06.04.2006 13:01

maybe you'll have problem in next chronicles :)
those koreans thinks forward. they had a lot of c2/c3/c4/cx stuff done in c1.

and if you can use it now? dunno, sorry =p

alysia 06.04.2006 17:16

you really sure that you can use this abnormal types? i tried to use them a long time ago but they are in the manual_pch but the server don't accept them

snikr 06.04.2006 21:12

Well, I don't know if they'll work, I even haven't a server to test xD, for final frenzy/fortress I'll use pd_special and pa_special, they won't interfere other skills.

One doubt: Can I set a negative rate for shield defense? For two handed like there's no type called "twohanded", it's like sword/blunt mastery, but I don't want player with this to use shield, a penalty may be the solution:

skill_begin skill_name = [s_Two-handed_Weapon_Mastery11] /* [??????] */ skill_id = 293 level = 1 operate_type = P effect = {{p_physical_attack;{sword;blunt};40;diff};{p_hit; {sword;blunt};2;diff};{p_shield_defence_rate;-20}} skill_end

Mattho 06.04.2006 22:31

uh? didn't understand that...
when you have 2handed sword you can't wear shield...
and for two handed swords use type etc,fist.. they aren't used in skilldata...

Kenjiro 06.04.2006 23:00

Taken directly from l2server.exe (numbered and sorted):

[ab_none] = 0
[ab_pa_up] = 1
[ab_pa_up_special] = 2
[ab_pa_down] = 3
[ab_pd_up] = 4
[ab_pd_up_special] = 5
[ab_ma_up] = 6
[ab_md_up] = 7
[ab_md_up_attr] = 8
[ab_avoid_up] = 9
[ab_avoid_up_special] = 10
[ab_hit_up] = 11
[ab_hit_down] = 12
[ab_fatal_poison] = 13
[ab_fly_away] = 14
[ab_turn_stone] = 15
[ab_casting_time_down] = 16
[ab_attack_time_down] = 17
[ab_speed_up] = 18
[ab_possession] = 19
[ab_attack_time_up] = 20
[ab_speed_down] = 21
[ab_hp_regen_up] = 22
[ab_max_mp_up] = 23
[ab_antaras_debuff] = 24
[ab_critical_prob_up] = 25
[ab_cancel_prob_down] = 26
[ab_bow_range_up] = 27
[ab_max_breath_up] = 28
[ab_decrease_weight_penalty] = 29
[ab_poison] = 30
[ab_bleeding] = 31
[ab_dot_attr] = 32
[ab_dot_mp] = 33
[ab_dmg_shield] = 34
[ab_ab_hawk_eye] = 35
[ab_resist_shock] = 36
[ab_paralyze] = 37
[ab_public_slot] = 38
[ab_silence] = 39
[ab_derangement] = 40
[ab_stun] = 41
[ab_resist_poison] = 42
[ab_resist_derangement] = 43
[ab_resist_spiritless] = 44
[ab_mp_regen_up] = 45
[ab_md_down] = 46
[ab_moving_spell] = 47
[ab_move_mode] = 48
[ab_light] = 49
[ab_put_on_hatelist] = 50
[ab_weapon_dmg_up] = 51
[ab_weapon_durability_down] = 52
[ab_weapon_dmg_up_dwarf] = 53
[ab_armor_durability_down] = 54
[ab_turn_passive] = 55
[ab_turn_flee] = 56
[ab_agro_range_down] = 57
[ab_sight_down] = 58
[ab_remove_from_hatelist] = 59
[ab_hp_recover] = 60
[ab_mp_recover] = 61
[ab_miss] = 62
[ab_root] = 63
[ab_speed_up_special] = 64
[ab_majesty] = 65
[ab_pd_up_bow] = 66
[ab_attack_speed_up_bow] = 67
[ab_max_hp_up] = 68
[ab_holy_attack] = 69
[ab_sleep] = 70
[ab_berserker] = 71
[ab_pinch] = 72
[ab_life_force] = 73
[ab_song_of_earth] = 74
[ab_song_of_life] = 75
[ab_song_of_water] = 76
[ab_song_of_warding] = 77
[ab_song_of_wind] = 78
[ab_song_of_hunter] = 79
[ab_song_of_invocation] = 80
[ab_dance_of_warrior] = 81
[ab_dance_of_inspiration] = 82
[ab_dance_of_mystic] = 83
[ab_dance_of_fire] = 84
[ab_dance_of_fury] = 85
[ab_dance_of_concentration] = 86
[ab_dance_of_light] = 87
[ab_detect_weakness] = 88
[ab_thrill_fight] = 89
[ab_resist_bleeding] = 90
[ab_critical_dmg_up] = 91
[ab_shield_prob_up] = 92
[ab_hp_regen_down] = 93
[ab_reuse_delay_up] = 94
[ab_gara] = 95

It seems there are no other abnormals in the main code (in patches could be any).

snikr 06.04.2006 23:54

Quote:

Originally Posted by Mattho
uh? didn't understand that...
when you have 2handed sword you can't wear shield...
and for two handed swords use type etc,fist.. they aren't used in skilldata...

My two handed looks similar to sword/blunt mastery, so destroyers could simply wear one handed and a shield, with the addittion (if it doesn't give error and works correctly), they'd have poor chance to block, so they wouldn't use shields, that's my pourpose. I'm so confusing xD.

Thanks Kenjiro, it looks like c1 manual_pch, now I must decide which of them use.

snikr 07.04.2006 11:26

Hi, it's me again, now I have a doubt about activate rate:

Code:

skill_begin        skill_name = [s_cancel1]        /* [??] */        skill_id = 1056        level = 1        operate_type = A1        magic_level = 40        effect = {{i_dispel_all}}        is_magic = 1        mp_consume1 = 9        mp_consume2 = 35        cast_range = 600        effective_range = 1000        skill_hit_time = 6        skill_cool_time = 0        skill_hit_cancel_time = 0.5        reuse_delay = 300        activate_rate = 80 attribute = attr_none        effect_point = 457        target_type = enemy_only        affect_scope = single        next_action = none        skill_end

skill_begin        skill_name = [s_fake_death1]        /* [??? ??] */        skill_id = 60        level = 1        operate_type = T        effect = {{c_fake_death;-10;5};{p_avoid_agro}}        mp_consume1 = 200        reuse_delay = 0        activate_rate = 80 target_type = self        next_action = fake_death        skill_end

I never saw them fail (think the activate rate does nothing there), and maybe lowering magic level isn't enough for cancel not landing always (as I read yesterday on official forums, with level 1 it worked on high level characters). Anyone who has them with failing prob. could tell me if these are correct? And if not, guide me on what should I do (don't know if is even possible). :)

Mattho 07.04.2006 12:44

about that 2handed masteries..
imo:
swords - swords
blunts - blunts
2handed - fists
hands - etc

how you can use 2handed sword skills with your setup?

snikr 07.04.2006 16:16

imo? Sorry, I don't understand those abbreviations ^^U

Let's look into itemdata:

Quote:

item_begin weapon 71 [flamberge] item_type=weapon slot_bit_type={lrhand} armor_type=none etcitem_type=none blessed=0 weight=2010 default_action=action_equip consume_type=consume_type_normal initial_count=1 maximum_count=1 soulshot_count=2 spiritshot_count=2 immediate_effect=1 price=0 default_price=2290000 item_skill=[none] critical_attack_skill=[none] material_type=bronze crystal_type=c crystal_count=916 is_trade=1 is_drop=1 is_destruct=1 physical_damage=130 random_damage=10 weapon_type=sword can_penetrate=1 critical=8 hit_modify=0 avoid_modify=0 dual_fhit_rate=0 shield_defense=0 shield_defense_rate=0 attack_range=40 effective_range=48 damage_range={0;0;44;120} attack_speed=325 reuse_delay=0 mp_consume=0 magical_damage=61 durability=95 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 weapon 81 [dragon_slayer] item_type=weapon slot_bit_type={lrhand} armor_type=none etcitem_type=none blessed=0 weight=1840 default_action=action_equip consume_type=consume_type_normal initial_count=1 maximum_count=1 soulshot_count=1 spiritshot_count=1 immediate_effect=1 price=0 default_price=27000000 item_skill=[none] critical_attack_skill=[none] material_type=bone crystal_type=a crystal_count=2160 is_trade=1 is_drop=1 is_destruct=1 physical_damage=282 random_damage=10 weapon_type=sword can_penetrate=1 critical=8 hit_modify=0 avoid_modify=0 dual_fhit_rate=0 shield_defense=0 shield_defense_rate=0 attack_range=40 effective_range=48 damage_range={0;0;46;120} attack_speed=325 reuse_delay=0 mp_consume=0 magical_damage=114 durability=100 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
They're just swords handled with both hands, not duals neither fist. That's the point.

Kenjiro 07.04.2006 19:04

Ahh, and i have forgotten one:

[ab_pd_down] = 96

If there are any other, please post in this topic, we could make better L2 servers this way :wink: .

Osito2Dancer 07.04.2006 19:16

Quote:

Originally Posted by snikr
Well, I don't know if they'll work, I even haven't a server to test xD, for final frenzy/fortress I'll use pd_special and pa_special, they won't interfere other skills.

One doubt: Can I set a negative rate for shield defense? For two handed like there's no type called "twohanded", it's like sword/blunt mastery, but I don't want player with this to use shield, a penalty may be the solution:

skill_begin skill_name = [s_Two-handed_Weapon_Mastery11] /* [??????] */ skill_id = 293 level = 1 operate_type = P effect = {{p_physical_attack;{sword;blunt};40;diff};{p_hit; {sword;blunt};2;diff};{p_shield_defence_rate;-20}} skill_end

pd_special = Ultimate Defense
pa_special = Warcry

If you use those, and then cast "final fortress/frenzy", you cancel them. It's supposed to stack! xD.

And the 2handed idea is nice. Will be thinking of it xD.

Atte

Oso

snikr 08.04.2006 11:26

Quote:

Originally Posted by Osito2Dancer
pd_special = Ultimate Defense
pa_special = Warcry

Ultimate Defense-->Tanks, so Final Fortress (as active)-->pa_special
Warcry-->Warrior type, so Final Frenzy (as active)-->pd_special

I think they won't stack ;)

And for the songs and dances (not tested, I can't):

Code:

skill_begin        skill_name = [s_song_of_vitality]        /* [????] */       
skill_id = 304        level = 1        operate_type = A2        magic_level = 66        effect = {{p_max_hp;25;per}}        is_magic = 0        mp_consume2 = 60        cast_range = -1        effective_range = -1        skill_hit_time = 2.5        skill_cool_time = 0        skill_hit_cancel_time = 0.5        reuse_delay = 10        activate_rate = -1        lv_bonus_rate = 0        basic_property = none        abnormal_time = 120        abnormal_lv = 1 abnormal_type = turn_passive        attribute = attr_none        effect_point = 523        target_type = self        affect_scope = party        affect_range = 1000        affect_object = friend        next_action = none        skill_end

skill_begin        skill_name = [s_song_of_flame_guard]        /* [????] */        skill_id = 306        level = 1        operate_type = A2        magic_level = 62        effect = {{p_defence_attribute;attr_fire;-30}}        is_magic = 0        mp_consume2 = 60        cast_range = -1        effective_range = -1        skill_hit_time = 2.5        skill_cool_time = 0        skill_hit_cancel_time = 0.5        reuse_delay = 10        activate_rate = -1        lv_bonus_rate = 0        basic_property = none        abnormal_time = 120        abnormal_lv = 1 abnormal_type = agro_range_down        attribute = attr_none        effect_point = 523        target_type = self        affect_scope = party        affect_range = 1000        affect_object = friend        next_action = none        skill_end

skill_begin        skill_name = [s_song_of_storm_guard]        /* [????] */        skill_id = 308        level = 1        operate_type = A2        magic_level = 70        effect = {{p_defence_attribute;attr_wind;-30}}        is_magic = 0        mp_consume2 = 60        cast_range = -1        effective_range = -1        skill_hit_time = 2.5        skill_cool_time = 0        skill_hit_cancel_time = 0.5        reuse_delay = 10        activate_rate = -1        lv_bonus_rate = 0        basic_property = none        abnormal_time = 120        abnormal_lv = 1 abnormal_type = agro_range_down        attribute = attr_none        effect_point = 523        target_type = self        affect_scope = party        affect_range = 1000        affect_object = friend        next_action = none        skill_end

skill_begin        skill_name = [s_song_of_vengeance]        /* [????] */        skill_id = 305        level = 1        operate_type = A2        magic_level = 74        effect = {{p_damage_shield;20}}        is_magic = 0        mp_consume2 = 60        cast_range = -1        effective_range = -1        skill_hit_time = 2.5        skill_cool_time = 0        skill_hit_cancel_time = 0.5        reuse_delay = 10        activate_rate = -1        lv_bonus_rate = 0        basic_property = none        abnormal_time = 120        abnormal_lv = 1 abnormal_type = moving_spell        attribute = attr_none        effect_point = 523        target_type = self        affect_scope = party        affect_range = 1000        affect_object = friend        next_action = none        skill_end

skill_begin    skill_name = [s_dance_of_aqua_guard]    /* [????] */    skill_id = 307  level = 1      operate_type = A2      magic_level = 70        effect = {{p_defence_attribute;attr_water;-30}} operate_cond = {{equip_weapon;{dual}}} is_magic = 0    mp_consume2 = 60        cast_range = -1 effective_range = -1    skill_hit_time = 2.5    skill_cool_time = 0    skill_hit_cancel_time = 0.5    reuse_delay = 10        activate_rate = -1      lv_bonus_rate = 0      basic_property = none  abnormal_time = 120    abnormal_lv = 1 abnormal_type = put_on_hatelist  attribute = attr_none  effect_point = 523      target_type = self      affect_scope = party    affect_range = 1000    affect_object = friend  next_action = none      skill_end

skill_begin    skill_name = [s_dance_of_earth_guard]  /* [????] */    skill_id = 309  level = 1      operate_type = A2      magic_level = 62        effect = {{p_defence_attribute;attr_earth;-30}} operate_cond = {{equip_weapon;{dual}}} is_magic = 0    mp_consume2 = 60        cast_range = -1 effective_range = -1    skill_hit_time = 2.5    skill_cool_time = 0    skill_hit_cancel_time = 0.5    reuse_delay = 10        activate_rate = -1      lv_bonus_rate = 0      basic_property = none  abnormal_time = 120    abnormal_lv = 1 abnormal_type = put_on_hatelist  attribute = attr_none  effect_point = 523      target_type = self      affect_scope = party    affect_range = 1000    affect_object = friend  next_action = none      skill_end

skill_begin        skill_name = [s_Dance_of_Protection]        /* [????] */        skill_id = 311        level = 1        operate_type = A2        magic_level = 40        effect = {{p_safe_fall_height;60;diff}}        is_magic = 0        mp_consume2 = 60        cast_range = -1        effective_range = -1        skill_hit_time = 2.5        skill_cool_time = 0        skill_hit_cancel_time = 0.5        reuse_delay = 10        activate_rate = -1        lv_bonus_rate = 0        basic_property = none        abnormal_time = 120        abnormal_lv = 1 abnormal_type = remove_from_hatelist        attribute = attr_none        effect_point = 523        target_type = self        affect_scope = party        affect_range = 1000        affect_object = friend        next_action = none        skill_end

skill_begin    skill_name = [s_Dance_of_Vampire] /* [????] */    skill_id = 310 level = 1      operate_type = A2      magic_level = 58        effect = {{p_damage_shield;20}}  operate_cond = {{equip_weapon;{dual}}} is_magic = 1 mp_consume2 = 60 cast_range = 400 effective_range = 600 skill_hit_time = 2.5 skill_cool_time = 1 skill_hit_cancel_time = 0.5 reuse_delay = 10 activate_rate = -1 lv_bonus_rate = 0 basic_property = none abnormal_time = 120 abnormal_lv = 1 abnormal_type = light attribute = attr_none effect_point = 100 target_type = target affect_scope = party next_action = none skill_end


Mattho 08.04.2006 15:29

you CAN change weapon type also in itemdata..
nvm, make it as you want^^
if you will search, than somewhere here is working solution.. (that's what i posted)


All times are GMT. The time now is 15:40.