Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   [Share] Big Boom golem (https://postpacific.loc-online.com/showthread.php?t=1922)

serjr 25.09.2005 16:00

[Share] Big Boom golem
 
Skilldata
Code:

skill_begin        skill_name        =        [s_summon_big_boom1]        /*        [??        ???        ??]        */        skill_id        =        301        level        =        1        operate_type        =        A1        magic_level        =        60        effect        =        {{i_summon;[big_boom_a];70}}        operate_cond        =        {{can_summon}}        is_magic        =        1        mp_consume1        =        13        mp_consume2        =        50        item_consume        =        {[crystal_d];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
skill_begin        skill_name        =        [s_summon_big_boom2]        /*        [??        ???        ??]        */        skill_id        =        301        level        =        2        operate_type        =        A1        magic_level        =        65        effect        =        {{i_summon;[big_boom_b];70}}        operate_cond        =        {{can_summon}}        is_magic        =        1        mp_consume1        =        15        mp_consume2        =        60        item_consume        =        {[crystal_d];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
skill_begin        skill_name        =        [s_summon_big_boom3]        /*        [??        ???        ??]        */        skill_id        =        301        level        =        3        operate_type        =        A1        magic_level        =        70        effect        =        {{i_summon;[big_boom_c];70}}        operate_cond        =        {{can_summon}}        is_magic        =        1        mp_consume1        =        18        mp_consume2        =        70        item_consume        =        {[crystal_d];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
skill_begin        skill_name        =        [s_summon_big_boom4]        /*        [??        ???        ??]        */        skill_id        =        301        level        =        4        operate_type        =        A1        magic_level        =        75        effect        =        {{i_summon;[big_boom_d];70}}        operate_cond        =        {{can_summon}}        is_magic        =        1        mp_consume1        =        20        mp_consume2        =        80        item_consume        =        {[crystal_d];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
skill_begin        skill_name        =        [s_summon_big_boom5]        /*        [??        ???        ??]        */        skill_id        =        301        level        =        5        operate_type        =        A1        magic_level        =        80        effect        =        {{i_summon;[big_boom_e];70}}        operate_cond        =        {{can_summon}}        is_magic        =        1        mp_consume1        =        10        mp_consume2        =        90        item_consume        =        {[crystal_d];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

skill_begin        skill_name        =        [s_boom_attack1]        /*        [????]        */        skill_id        =        4139        level        =        1        operate_type        =        A1        magic_level        =        58        effect        =        {{i_hp_per_max;-99};{i_p_attack;2000}}        is_magic        =        1        mp_consume1        =        4        mp_consume2        =        14        cast_range        =        50        effective_range        =        1000        skill_hit_time        =        3        skill_cool_time        =        0        skill_hit_cancel_time        =        0.5        reuse_delay        =        6        attribute        =        attr_none        effect_point        =        -100        target_type        =        self        affect_scope        =        range        affect_range        =        300        affect_object        =        not_friend        next_action        =        none        skill_end
skill_begin        skill_name        =        [s_boom_attack2]        /*        [????]        */        skill_id        =        4139        level        =        2        operate_type        =        A1        magic_level        =        62        effect        =        {{i_hp_per_max;-99};{i_p_attack;3000}}        is_magic        =        1        mp_consume1        =        4        mp_consume2        =        16        cast_range        =        50        effective_range        =        1000        skill_hit_time        =        3        skill_cool_time        =        0        skill_hit_cancel_time        =        0.5        reuse_delay        =        6        attribute        =        attr_none        effect_point        =        -100        target_type        =        self        affect_scope        =        range        affect_range        =        300        affect_object        =        not_friend        next_action        =        none        skill_end
skill_begin        skill_name        =        [s_boom_attack3]        /*        [????]        */        skill_id        =        4139        level        =        3        operate_type        =        A1        magic_level        =        66        effect        =        {{i_hp_per_max;-99};{i_p_attack;4000}}        is_magic        =        1        mp_consume1        =        5        mp_consume2        =        17        cast_range        =        50        effective_range        =        1000        skill_hit_time        =        3        skill_cool_time        =        0        skill_hit_cancel_time        =        0.5        reuse_delay        =        6        attribute        =        attr_none        effect_point        =        -100        target_type        =        self        affect_scope        =        range        affect_range        =        300        affect_object        =        not_friend        next_action        =        none        skill_end
skill_begin        skill_name        =        [s_boom_attack4]        /*        [????]        */        skill_id        =        4139        level        =        4        operate_type        =        A1        magic_level        =        70        effect        =        {{i_hp_per_max;-99};{i_p_attack;5000}}        is_magic        =        1        mp_consume1        =        5        mp_consume2        =        18        cast_range        =        50        effective_range        =        1000        skill_hit_time        =        3        skill_cool_time        =        0        skill_hit_cancel_time        =        0.5        reuse_delay        =        6        attribute        =        attr_none        effect_point        =        -100        target_type        =        self        affect_scope        =        range        affect_range        =        300        affect_object        =        not_friend        next_action        =        none        skill_end
skill_begin        skill_name        =        [s_boom_attack5]        /*        [????]        */        skill_id        =        4139        level        =        5        operate_type        =        A1        magic_level        =        74        effect        =        {{i_hp_per_max;-99};{i_p_attack;6000}}        is_magic        =        1        mp_consume1        =        5        mp_consume2        =        20        cast_range        =        50        effective_range        =        1000        skill_hit_time        =        3        skill_cool_time        =        0        skill_hit_cancel_time        =        0.5        reuse_delay        =        6        attribute        =        attr_none        effect_point        =        -100        target_type        =        self        affect_scope        =        range        affect_range        =        300        affect_object        =        not_friend        next_action        =        none        skill_end
skill_begin        skill_name        =        [s_boom_attack6]        /*        [????]        */        skill_id        =        4139        level        =        6        operate_type        =        A1        magic_level        =        60        effect        =        {{i_p_attack;138}}        is_magic        =        1        mp_consume1        =        6        mp_consume2        =        21        cast_range        =        1750        effective_range        =        2000        skill_hit_time        =        4        skill_cool_time        =        0        skill_hit_cancel_time        =        0.5        reuse_delay        =        6        attribute        =        attr_none        effect_point        =        -285        target_type        =        enemy        affect_scope        =        range        affect_range        =        300        affect_object        =        not_friend        next_action        =        none        skill_end
skill_begin        skill_name        =        [s_boom_attack7]        /*        [????]        */        skill_id        =        4139        level        =        7        operate_type        =        A1        magic_level        =        70        effect        =        {{i_p_attack;142}}        is_magic        =        1        mp_consume1        =        6        mp_consume2        =        23        cast_range        =        1750        effective_range        =        2000        skill_hit_time        =        4        skill_cool_time        =        0        skill_hit_cancel_time        =        0.5        reuse_delay        =        6        attribute        =        attr_none        effect_point        =        -313        target_type        =        enemy        affect_scope        =        range        affect_range        =        300        affect_object        =        not_friend        next_action        =        none        skill_end

NPCdata
Code:

npc_begin        summon        12516        [big_boom_a]        level=55        exp=80700832        acquire_exp_rate=1.8        undying=0        can_be_attacked=0        acquire_sp=15        race=humanoid        sex=male        temper=100        safe_height=100        org_jump=15        skill_list={@s_summon_magic_defence}        magic_list={}        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=40        base_damage_range={0;0;80;120}        base_rand_dam=7        str=40        int=21        dex=30        wit=20        con=43        men=25        hp_increase=40        mp_increase=7        org_hp_regen=4.5        org_mp_regen=1.8        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;10}        org_earshot=100        sight={0;0;2500;120;5}        agro_range=1000        org_hp=5000        org_mp=430        base_defend=140        base_magic_attack=400        base_magic_defend=400        base_physical_attack=150        physical_hit_modify=3.75        physical_avoid_modify=0        base_attack_speed=257        base_reuse_delay=0        base_critical=4        magic_use_speed_modify=0        status={normal}        align=-484        collision_radius=6        collision_height=13        category={}        clan={}        clan_help_range=300        guild={}        pledge={}        pledge_leader=0        alliance={}        alliance_leader=0        ignore_clan_list={}        ruler=0        ruling_domain={}        npc_ai={[mechanic_golem_e];{[DDMagic]=@s_boom_attack1}}        corpse_time=7        no_sleep_mode=0        npc_end
npc_begin        summon        12517        [big_boom_b]        level=60        exp=12395215.6        acquire_exp_rate=1.8        undying=0        can_be_attacked=0        acquire_sp=15        race=humanoid        sex=male        temper=100        safe_height=100        org_jump=15        skill_list={@s_summon_magic_defence}        magic_list={}        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=40        base_damage_range={0;0;80;120}        base_rand_dam=7        str=40        int=21        dex=30        wit=20        con=43        men=25        hp_increase=40        mp_increase=7        org_hp_regen=5.5        org_mp_regen=2.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;10}        org_earshot=100        sight={0;0;2500;120;5}        agro_range=1000        org_hp=6000        org_mp=630        base_defend=180        base_magic_attack=600        base_magic_defend=500        base_physical_attack=250        physical_hit_modify=3.75        physical_avoid_modify=0        base_attack_speed=257        base_reuse_delay=0        base_critical=4        magic_use_speed_modify=0        status={normal}        align=-484        collision_radius=6        collision_height=13        category={}        clan={}        clan_help_range=300        guild={}        pledge={}        pledge_leader=0        alliance={}        alliance_leader=0        ignore_clan_list={}        ruler=0        ruling_domain={}        npc_ai={[mechanic_golem_e];{[DDMagic]=@s_boom_attack2}}        corpse_time=7        no_sleep_mode=0        npc_end
npc_begin        summon        12518        [big_boom_c]        level=65        exp=346827154        acquire_exp_rate=1.8        undying=0        can_be_attacked=0        acquire_sp=15        race=humanoid        sex=male        temper=100        safe_height=100        org_jump=15        skill_list={@s_summon_magic_defence}        magic_list={}        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=40        base_damage_range={0;0;80;120}        base_rand_dam=7        str=40        int=21        dex=30        wit=20        con=43        men=25        hp_increase=40        mp_increase=7        org_hp_regen=6.5        org_mp_regen=2.4        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;10}        org_earshot=100        sight={0;0;2500;120;5}        agro_range=1000        org_hp=7000        org_mp=830        base_defend=220        base_magic_attack=800        base_magic_defend=600        base_physical_attack=350        physical_hit_modify=3.75        physical_avoid_modify=0        base_attack_speed=257        base_reuse_delay=0        base_critical=4        magic_use_speed_modify=0        status={normal}        align=-484        collision_radius=6        collision_height=13        category={}        clan={}        clan_help_range=300        guild={}        pledge={}        pledge_leader=0        alliance={}        alliance_leader=0        ignore_clan_list={}        ruler=0        ruling_domain={}        npc_ai={[mechanic_golem_e];{[DDMagic]=@s_boom_attack3}}        corpse_time=7        no_sleep_mode=0        npc_end
npc_begin        summon        12519        [big_boom_d]        level=70        exp=429634524        acquire_exp_rate=1.8        undying=0        can_be_attacked=0        acquire_sp=15        race=humanoid        sex=male        temper=100        safe_height=100        org_jump=15        skill_list={@s_summon_magic_defence}        magic_list={}        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=40        base_damage_range={0;0;80;120}        base_rand_dam=7        str=40        int=21        dex=30        wit=20        con=43        men=25        hp_increase=40        mp_increase=7        org_hp_regen=3.5        org_mp_regen=1.5        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;10}        org_earshot=100        sight={0;0;2500;120;5}        agro_range=1000        org_hp=8000        org_mp=1030        base_defend=260        base_magic_attack=1000        base_magic_defend=700        base_physical_attack=450        physical_hit_modify=3.75        physical_avoid_modify=0        base_attack_speed=257        base_reuse_delay=0        base_critical=4        magic_use_speed_modify=0        status={normal}        align=-484        collision_radius=6        collision_height=13        category={}        clan={}        clan_help_range=300        guild={}        pledge={}        pledge_leader=0        alliance={}        alliance_leader=0        ignore_clan_list={}        ruler=0        ruling_domain={}        npc_ai={[mechanic_golem_e];{[DDMagic]=@s_boom_attack4}}        corpse_time=7        no_sleep_mode=0        npc_end
npc_begin        summon        12520        [big_boom_e]        level=75        exp=457895565        acquire_exp_rate=1.8        undying=0        can_be_attacked=0        acquire_sp=15        race=humanoid        sex=male        temper=100        safe_height=100        org_jump=15        skill_list={@s_summon_magic_defence}        magic_list={}        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=40        base_damage_range={0;0;80;120}        base_rand_dam=7        str=40        int=21        dex=30        wit=20        con=43        men=25        hp_increase=40        mp_increase=7        org_hp_regen=4.5        org_mp_regen=1.8        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;10}        org_earshot=100        sight={0;0;2500;120;5}        agro_range=1000        org_hp=9000        org_mp=1230        base_defend=300        base_magic_attack=1200        base_magic_defend=800        base_physical_attack=550        physical_hit_modify=3.75        physical_avoid_modify=0        base_attack_speed=257        base_reuse_delay=0        base_critical=4        magic_use_speed_modify=0        status={normal}        align=-484        collision_radius=6        collision_height=13        category={}        clan={}        clan_help_range=300        guild={}        pledge={}        pledge_leader=0        alliance={}        alliance_leader=0        ignore_clan_list={}        ruler=0        ruling_domain={}        npc_ai={[mechanic_golem_e];{[DDMagic]=@s_boom_attack5}}        corpse_time=7        no_sleep_mode=0        npc_end

To generate PCH use HF l2scriptmaker. Big thx to him for this great tool.
P.S. somebody know how much damage big boom dose and cool down time for this summon?

Maytord 25.09.2005 16:05

Very nices thx for share i'll try it

bob1122 25.09.2005 16:53

belarus ))), minsk even better ))

serjr 25.09.2005 17:24

Sorry found bug in skill it will kill even baium, cose i_hp_per_max; also have a range scope. Need to think how to "kill" only golem after explosion...

Cy4eHoK 25.09.2005 17:28

Where I can find l2scriptmaker?

Or send on mail [email protected]

serjr:

выручи программкой

flakka 25.09.2005 18:31

Use search. Courtesy warning given.

Stop thread-crapping.

hamidouch 25.09.2005 21:17

does the hp per max -99 will make it die?
and also the h reduction isnt on all boom skills

srh 25.09.2005 21:40

hp_consume = 5000
hp_consume = 6000
hp_consume = 7000
hp_consume = 8000
hp_consume = 9000

may bee =))

janjalani 25.09.2005 22:28

Code:

npc_begin      summon      12516      [big_boom]      level=55      exp=80700832      acquire_exp_rate=40      undying=0      can_be_attacked=0      acquire_sp=61005      race=humanoid      sex=male      temper=100      safe_height=100      org_jump=15      skill_list={@s_summon_magic_defence}      magic_list={}      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=40      base_damage_range={0;0;80;120}      base_rand_dam=7      str=40      int=21      dex=30      wit=20      con=43      men=25      hp_increase=40      mp_increase=7      org_hp_regen=4.5      org_mp_regen=1.8      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;10}      org_earshot=100      sight={0;0;2500;120;5}      agro_range=1000      org_hp=5000      org_mp=430      base_defend=140      base_magic_attack=400      base_magic_defend=400      base_physical_attack=150      physical_hit_modify=3.75      physical_avoid_modify=0      base_attack_speed=257      base_reuse_delay=0      base_critical=4      magic_use_speed_modify=0      status={normal}      align=-484      collision_radius=6      collision_height=13      category={}      clan={}      clan_help_range=300      guild={}      pledge={}      pledge_leader=0      alliance={}      alliance_leader=0      ignore_clan_list={}      ruler=0      ruling_domain={}      npc_ai={[big_boom];{[DDMagic]=@s_boom_attack2}}      corpse_time=7      no_sleep_mode=0      npc_end
npc_begin      summon      12517      [big_boom_a]      level=60      exp=12395215.6      acquire_exp_rate=40      undying=0      can_be_attacked=0      acquire_sp=61005      race=humanoid      sex=male      temper=100      safe_height=100      org_jump=15      skill_list={@s_summon_magic_defence}      magic_list={}      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=40      base_damage_range={0;0;80;120}      base_rand_dam=7      str=40      int=21      dex=30      wit=20      con=43      men=25      hp_increase=40      mp_increase=7      org_hp_regen=5.5      org_mp_regen=2.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;10}      org_earshot=100      sight={0;0;2500;120;5}      agro_range=1000      org_hp=6000      org_mp=630      base_defend=180      base_magic_attack=600      base_magic_defend=500      base_physical_attack=250      physical_hit_modify=3.75      physical_avoid_modify=0      base_attack_speed=257      base_reuse_delay=0      base_critical=4      magic_use_speed_modify=0      status={normal}      align=-484      collision_radius=6      collision_height=13      category={}      clan={}      clan_help_range=300      guild={}      pledge={}      pledge_leader=0      alliance={}      alliance_leader=0      ignore_clan_list={}      ruler=0      ruling_domain={}      npc_ai={[big_boom];{[DDMagic]=@s_boom_attack3}}      corpse_time=7      no_sleep_mode=0      npc_end
npc_begin      summon      12518      [big_boom_b]      level=65      exp=346827154      acquire_exp_rate=40      undying=0      can_be_attacked=0      acquire_sp=61005      race=humanoid      sex=male      temper=100      safe_height=100      org_jump=15      skill_list={@s_summon_magic_defence}      magic_list={}      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=40      base_damage_range={0;0;80;120}      base_rand_dam=7      str=40      int=21      dex=30      wit=20      con=43      men=25      hp_increase=40      mp_increase=7      org_hp_regen=6.5      org_mp_regen=2.4      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;10}      org_earshot=100      sight={0;0;2500;120;5}      agro_range=1000      org_hp=7000      org_mp=830      base_defend=220      base_magic_attack=800      base_magic_defend=600      base_physical_attack=350      physical_hit_modify=3.75      physical_avoid_modify=0      base_attack_speed=257      base_reuse_delay=0      base_critical=4      magic_use_speed_modify=0      status={normal}      align=-484      collision_radius=6      collision_height=13      category={}      clan={}      clan_help_range=300      guild={}      pledge={}      pledge_leader=0      alliance={}      alliance_leader=0      ignore_clan_list={}      ruler=0      ruling_domain={}      npc_ai={[big_boom];{[DDMagic]=@s_boom_attack4}}      corpse_time=7      no_sleep_mode=0      npc_end
npc_begin      summon      12519      [big_boom_c]      level=70      exp=429634524      acquire_exp_rate=40      undying=0      can_be_attacked=0      acquire_sp=61005      race=humanoid      sex=male      temper=100      safe_height=100      org_jump=15      skill_list={@s_summon_magic_defence}      magic_list={}      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=40      base_damage_range={0;0;80;120}      base_rand_dam=7      str=40      int=21      dex=30      wit=20      con=43      men=25      hp_increase=40      mp_increase=7      org_hp_regen=3.5      org_mp_regen=1.5      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;10}      org_earshot=100      sight={0;0;2500;120;5}      agro_range=1000      org_hp=8000      org_mp=1030      base_defend=260      base_magic_attack=1000      base_magic_defend=700      base_physical_attack=450      physical_hit_modify=3.75      physical_avoid_modify=0      base_attack_speed=257      base_reuse_delay=0      base_critical=4      magic_use_speed_modify=0      status={normal}      align=-484      collision_radius=6      collision_height=13      category={}      clan={}      clan_help_range=300      guild={}      pledge={}      pledge_leader=0      alliance={}      alliance_leader=0      ignore_clan_list={}      ruler=0      ruling_domain={}      npc_ai={[big_boom];{[DDMagic]=@s_boom_attack5}}      corpse_time=7      no_sleep_mode=0      npc_end
npc_begin      summon      12520      [big_boom_d]      level=75      exp=457895565      acquire_exp_rate=40      undying=0      can_be_attacked=0      acquire_sp=61005      race=humanoid      sex=male      temper=100      safe_height=100      org_jump=15      skill_list={@s_summon_magic_defence}      magic_list={}      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=40      base_damage_range={0;0;80;120}      base_rand_dam=7      str=40      int=21      dex=30      wit=20      con=43      men=25      hp_increase=40      mp_increase=7      org_hp_regen=4.5      org_mp_regen=1.8      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;10}      org_earshot=100      sight={0;0;2500;120;5}      agro_range=1000      org_hp=9000      org_mp=1230      base_defend=300      base_magic_attack=1200      base_magic_defend=800      base_physical_attack=550      physical_hit_modify=3.75      physical_avoid_modify=0      base_attack_speed=257      base_reuse_delay=0      base_critical=4      magic_use_speed_modify=0      status={normal}      align=-484      collision_radius=6      collision_height=13      category={}      clan={}      clan_help_range=300      guild={}      pledge={}      pledge_leader=0      alliance={}      alliance_leader=0      ignore_clan_list={}      ruler=0      ruling_domain={}      npc_ai={[big_boom];{[DDMagic]=@s_boom_attack6}}      corpse_time=7      no_sleep_mode=0      npc_end
npc_begin      summon      12521      [big_boom_e]      level=80      exp=485484454      acquire_exp_rate=40      undying=0      can_be_attacked=0      acquire_sp=61005      race=humanoid      sex=male      temper=100      safe_height=100      org_jump=15      skill_list={@s_summon_magic_defence}      magic_list={}      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=40      base_damage_range={0;0;80;120}      base_rand_dam=7      str=40      int=21      dex=30      wit=20      con=43      men=25      hp_increase=40      mp_increase=7      org_hp_regen=5.5      org_mp_regen=2.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;10}      org_earshot=100      sight={0;0;2500;120;5}      agro_range=1000      org_hp=10000      org_mp=1430      base_defend=340      base_magic_attack=1400      base_magic_defend=900      base_physical_attack=650      physical_hit_modify=3.75      physical_avoid_modify=0      base_attack_speed=257      base_reuse_delay=0      base_critical=4      magic_use_speed_modify=0      status={normal}      align=-484      collision_radius=6      collision_height=13      category={}      clan={}      clan_help_range=300      guild={}      pledge={}      pledge_leader=0      alliance={}      alliance_leader=0      ignore_clan_list={}      ruler=0      ruling_domain={}      npc_ai={[big_boom];{[DDMagic]=@s_boom_attack7}}      corpse_time=7      no_sleep_mode=0      npc_end


serjr 26.09.2005 07:39

janjalani will you be so kind to post your big_boom ai class ? :)

kok 26.09.2005 07:41

janjalani, you make AI for big Boom ?
Share please npc_ai=big_boom, i'd like to see your work.

TheOrder 26.09.2005 08:37

Plz share in this way everibody can be happy :D even me :P

serjr 29.09.2005 13:25

here AI that i made by my self, but i realy noob in ai. When you use skill big-boom will be automaticaly Despawned
This ai have bug, if target was killed then big-boom not Despawn :( I think i need some how to change target to big-boom maybe.

Code:

class big_boom : default_npc
parameter_define_begin
        int DDMagic 1024257
parameter_define_end
handler 13        //  CREATED
        variable_begin
                "myself"
                "_choiceN"
                "_code"
                "_from_choice"
        variable_end

        shift_sp 1
        push_const xx.xx0000
        func_call 14        //  func[AddPetDefaultDesire_Follow]
        shift_sp -1
        shift_sp -1
handler_end

handler 0        //  NO_DESIRE
        variable_begin
                "myself"
                "_choiceN"
                "_code"
                "_from_choice"
        variable_end

        shift_sp 1
        push_const xx.xx0000
        func_call 14        //  func[AddPetDefaultDesire_Follow]
        shift_sp -1
        shift_sp -1
handler_end

handler 32        //  MENU_SELECTED
        variable_begin
                "ask"
                "reply"
                "i0"
                "c0"
                "myself"
                "_choiceN"
                "_code"
                "_from_choice"
        variable_end

        push_event        //  i0
        push_const 192
        add
        push_reg_sp
        fetch_i
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  master
        push_const 2404
        add
        fetch_i        //  target_index
        push_const 384
        add
        fetch_i
        assign
        shift_sp -1
        push_event        //  i0
        push_const 192
        add
        fetch_i
        push_const 0
        less_equal
        branch_false L502101
L502100
        exit_handler
L502101
        push_event        //  c0
        push_const 272
        add
        push_reg_sp
        fetch_i
        shift_sp 1
        push_event        //  i0
        push_const 192
        add
        fetch_i
        func_call 30        //  func[GetCreatureFromIndex]
        shift_sp -1
        assign
        shift_sp -1
        push_event        //  c0
        push_const 272
        add
        fetch_i
        branch_false L502103
L502102
        shift_sp 1
        push_parameter DDMagic
        func_call 155        //  func[Skill_GetConsumeMP]
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  sm
        push_const 2400
        add
        fetch_i        //  mp
        push_const 352
        add
        fetch_d
        less
        push_reg_sp
        fetch_i
        branch_false L502104

shift_sp 1
push_parameter DDMagic
func_call 154        //  func[Skill_GetConsumeHP]
shift_sp -1
push_event        //  myself
push_const 28
add
fetch_i        //  sm
push_const 2400
add
fetch_i        //  hp
push_const 344
add
fetch_d
less
and
push_reg_sp
fetch_i
branch_false L502104


        shift_sp 1
        push_parameter DDMagic
        func_call 160        //  func[Skill_InReuseDelay]
        shift_sp -1
        push_const 0
        equal
        and
L502104
        branch_false L502106
L502105
        shift_sp 1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  master
        push_const 2404
        add
        fetch_i        //  target_id
        push_const 388
        add
        fetch_i
        push_parameter DDMagic
        push_const 0
        push_event        //  reply
        push_const 104
        add
        fetch_i
        push_event        //  ask
        push_const 100
        add
        fetch_i
        push_const 1000000
        func_call 11        //  func[AddUseSkillDesireEx]
        shift_sp -6
        shift_sp -1
L502106
L502103
handler_end

handler 62  //  USE_SKILL_FINISHED
  variable_begin
      "myself"
      "_choiceN"
      "_code"
      "_from_choice"
  variable_end

  shift_sp 1
  func_call 175  //  func[Despawn]
  shift_sp -1
  call_super
handler_end

class_end

I use handler 62 // USE_SKILL_FINISHED to call Despawn

serjr 30.09.2005 08:07

Quote:

Originally Posted by Livid
There's also USE_SKILL_INTERRUPTED handler, if you wish to know.
May be this will help you.

Or, as a variant,
Code:

L502105
  shift_sp 1
  push_event  //  myself
  push_const 28
  add
  fetch_i
  push_parameter DDMagic
  push_const 0
  push_const 0
  push_const 0
  push_const 1000000
  func_call 10  //  func[AddUseSkillDesire]
...


About Skill interapted not understud your thinking, you whant to say that when big boom blowup and kill somebody his skill is interaped??
And about the code, can you describe what it do so i will not ask dumb questions in future?

Немог бы ты пояснить причем тут прерывание скила, чтото не понял, и по поводу твоего кода можно получить маленький ликбез? Я по AI нашел только описание хендлеров и функций, а так как еще с асмом я вааще не дружу трудно очень разибратся в чужом коде да еще когда незнаешь языка :)

maximus 01.10.2005 19:33

Hi
See this
Code:

npc_begin        summon        12521        [big_boom_f]        level=80        exp=485484454        acquire_exp_rate=19.8        undying=0        can_be_attacked=0        acquire_sp=9810        race=humanoid        sex=male        temper=100        safe_height=100        org_jump=15        skill_list={@s_summon_magic_defence}        magic_list={}        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=40        base_damage_range={0;0;80;120}        base_rand_dam=7        str=40        int=21        dex=30        wit=20        con=43        men=25        hp_increase=40        mp_increase=7        org_hp_regen=6        org_mp_regen=2.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;10}        org_earshot=100        sight={0;0;2500;120;5}        agro_range=1000        org_hp=10000        org_mp=1430        base_defend=340        base_magic_attack=1400        base_magic_defend=900        base_physical_attack=650        physical_hit_modify=3.75        physical_avoid_modify=0        base_attack_speed=257        base_reuse_delay=0        base_critical=4        magic_use_speed_modify=0        status={normal}        align=-484        collision_radius=6        collision_height=13        category={}        clan={}        clan_help_range=300        guild={}        pledge={}        pledge_leader=0        alliance={}        alliance_leader=0        ignore_clan_list={}        ruler=0        ruling_domain={}        npc_ai={[big_boom];{[DDMagic]=@s_boom_attack6}}        corpse_time=7        no_sleep_mode=0        npc_end

serjr 01.10.2005 20:08

And what i must see here? that you have your own AI for big_boom ? npc_ai={[big_boom];{[DDMagic]=@s_boom_attack6}} and of cose you will not share it.

Livid 02.10.2005 18:23

You can call despawn from SKILL_USE_INTERRUPTED handler.
And you can use my peace of code to make gloem cast BigBoom on itself.

Despawn можно вызывать из SKILL_USE_INTERRUPTED
А кусок кода - для каста на себя.

serjr 02.10.2005 18:27

You whant to say when target dies from blast, AI think that cast was interupted?
Хочешь сказать что аи думает, что каст был прерван в случае смерти цели? А ID SKILL_USE_INTERRUPTED не подскажешь? а то у меня нету такого :/ С кастом на самого себя неудобно, так кнопку нажал он побежал взорвался.

Livid 02.10.2005 21:31

I did not check it. But you should just try.
handler 70 // USE_SKILL_INTERRUPTED

serjr 04.10.2005 18:54

Tested handler 70, don't helped in this situation.
Непомогло :( а так хендлер похоже рабочий

HF 21.10.2005 13:30

Up :)
somebody can make correct ai for this funny summon? :) I can't make it too

tigra 21.10.2005 13:50

does somebody know, what happen, when I press Cancel Action and Stand/Follow buttons in summoner control panel? How I can catch this in AI?

ng_styx 21.10.2005 17:26

search the clientside .dat files
it's in one of those
i was tired when i found info on that so i forgot where exactly i saw it
sorry, x|

tigra 21.10.2005 18:57

Ok, I founded
at actionname and commandname
but how I can handle this on AI? If it could be...

need some guide in actionname and commandname

tigra 23.10.2005 07:32

an idea:
1. set reuse_delay on boom attack skill to 20-30 sec
2. at bigboom ai, when used boom attack, we set timer on 7-8 second (SetTimerPeriodByTick)
3. at timer_fired handler (handler 11) just check for Skill_InReuseDelay, if yes, then despawn npc. If no, timer will continue counting new 7 sec.

The problem: when I press cancel current action button, timer still exist, but for me it is better delete timer and I dont know how.

i_ai0 I used as identifier to validate timer reuse (unusable right now)
I combined with USE_SKILL_FINISHED, which affected when mobs not died
.

Code:

class summon_magicalattack_despawn : default_npc
parameter_define_begin
        int DDMagic 1024257
parameter_define_end
handler 13        //  CREATED
        variable_begin
                "myself"
                "_choiceN"
                "_code"
                "_from_choice"
        variable_end

        shift_sp 1
        push_const xx.xx0000
        func_call 14        //  func[AddPetDefaultDesire_Follow]
        shift_sp -1
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai0
        push_const 2336
        add
        push_reg_sp
        fetch_i
        push_const 0
        assign
        shift_sp -1
handler_end

handler 62        //  USE_SKILL_FINISHED
        variable_begin
                "myself"
                "_choiceN"
                "_code"
                "_from_choice"
        variable_end

        shift_sp 1
        push_const 0
        func_call 52        //  func[SetTimerPeriodByTick]
        shift_sp -1
        shift_sp -1
        shift_sp 1
        func_call 175        //  func[Despawn]
        shift_sp -1
handler_end

handler 0        //  NO_DESIRE
        variable_begin
                "myself"
                "_choiceN"
                "_code"
                "_from_choice"
        variable_end

        shift_sp 1
        push_const xx.xx0000
        func_call 14        //  func[AddPetDefaultDesire_Follow]
        shift_sp -1
        shift_sp -1
        shift_sp 1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai0
        push_const 2336
        add
        fetch_i
        push_const 0
        equal
        shift_sp -1
handler_end

handler 11        //  TIMER_FIRED
        variable_begin
                "myself"
                "_choiceN"
                "_code"
                "_from_choice"
        variable_end

        shift_sp 1
        push_parameter DDMagic
        func_call 160        //  func[Skill_InReuseDelay]
        shift_sp -1
        push_const 0
        greater
        branch_false L67003
L67002
        shift_sp 1
        func_call 175        //  func[Despawn]
        shift_sp -1
        jump L67004
L67003
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai0
        push_const 2336
        add
        fetch_i
        push_const 0
        equal
        branch_false L67006
L67005
        shift_sp 1
        push_const 0
        func_call 52        //  func[SetTimerPeriodByTick]
        shift_sp -1
        shift_sp -1
L67006
L67004
handler_end

handler 32        //  MENU_SELECTED
        variable_begin
                "ask"
                "reply"
                "i0"
                "c0"
                "myself"
                "_choiceN"
                "_code"
                "_from_choice"
        variable_end

        push_event        //  i0
        push_const 192
        add
        push_reg_sp
        fetch_i
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  master
        push_const 2404
        add
        fetch_i        //  target_index
        push_const 384
        add
        fetch_i
        assign
        shift_sp -1
        push_event        //  i0
        push_const 192
        add
        fetch_i
        push_const 0
        less_equal
        branch_false L672101
L672100
        exit_handler
L672101
        push_event        //  c0
        push_const 272
        add
        push_reg_sp
        fetch_i
        shift_sp 1
        push_event        //  i0
        push_const 192
        add
        fetch_i
        func_call 30        //  func[GetCreatureFromIndex]
        shift_sp -1
        assign
        shift_sp -1
        push_event        //  c0
        push_const 272
        add
        fetch_i
        branch_false L672103
L672102
        shift_sp 1
        push_parameter DDMagic
        func_call 155        //  func[Skill_GetConsumeMP]
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  sm
        push_const 2400
        add
        fetch_i        //  mp
        push_const 352
        add
        fetch_d
        less
        push_reg_sp
        fetch_i
        branch_false L672104
        shift_sp 1
        push_parameter DDMagic
        func_call 154        //  func[Skill_GetConsumeHP]
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  sm
        push_const 2400
        add
        fetch_i        //  hp
        push_const 344
        add
        fetch_d
        less
        and
        push_reg_sp
        fetch_i
        branch_false L672104
        shift_sp 1
        push_parameter DDMagic
        func_call 160        //  func[Skill_InReuseDelay]
        shift_sp -1
        push_const 0
        equal
        and
L672104
        branch_false L672106
L672105
        shift_sp 1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  master
        push_const 2404
        add
        fetch_i        //  target_id
        push_const 388
        add
        fetch_i
        push_parameter DDMagic
        push_const 0
        push_event        //  reply
        push_const 104
        add
        fetch_i
        push_event        //  ask
        push_const 100
        add
        fetch_i
        push_const 1000000
        func_call 11        //  func[AddUseSkillDesireEx]
        shift_sp -6
        shift_sp -1
        shift_sp 1
        push_const 7
        func_call 52        //  func[SetTimerPeriodByTick]
        shift_sp -1
        shift_sp -1
        shift_sp 1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai0
        push_const 2336
        add
        push_reg_sp
        fetch_i
        push_const 1
        assign
        shift_sp -1
L672106
L672103
handler_end

class_end


class big_boom : summon_magicalattack_despawn
class_end



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