Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Темы без сохранившегося раздела (https://postpacific.mmorpg-game.online/forumdisplay.php?f=10001)
-   -   item_consume problem (https://postpacific.mmorpg-game.online/showthread.php?t=4881)

mantrastic 20.06.2006 08:55

item_consume problem
 
Anyone see a problem with this as i cant get the item_consume to work it just gives unsuitable terms when trying to use it.

Code:

skill_begin        skill_name = [s_boss_holy_light_burst3]        /* [c3 skill]        */        skill_id = 4314        level        =        3        operate_type = A2        magic_level        =        65        effect = {{p_magic_speed;{all};50;per};{p_critical_rate;50;per}}        operate_cond = {}        is_magic = 0        mp_consume2        =        45 item_consume = {[seal_powder];1} cast_range = -1        effective_range        =        -1        skill_hit_time = 2        skill_cool_time        =        0        skill_hit_cancel_time        =        0.5        reuse_delay        =        4        attribute        =        attr_none        effect_point = -649        target_type        =        self        affect_scope = party        affect_range        =        200        affect_object        =        friend        next_action        =        none        abnormal_type        =        resist_derangement        abnormal_time        =        1200        skill_end
Code:

item_begin        etcitem        9951        [seal_powder]        item_type=weapon        slot_bit_type={none}        armor_type=none        etcitem_type=none        blessed=0        weight=0        default_action=action_none        consume_type=consume_type_stackable        initial_count=1        maximum_count=20        soulshot_count=0        spiritshot_count=0        immediate_effect=1        price=0        default_price=650        item_skill=[none]        critical_attack_skill=[none]        material_type=paper        crystal_type=s        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
Thanks in advance.

melwidh 20.06.2006 10:07

item_type=weapon >.<

mantrastic 20.06.2006 10:13

same as crystal and crystal works on summon skills :) , and i also tried other types , didnt work , so its not it.

melwidh 20.06.2006 10:26

Try now I have not machine for test but this might work :D
Code:

skill_begin        skill_name=[s_boss_holy_light_burst3]        skill_id=4314        level=3        operate_type=A2        item_consume={[seal_powder];1}        magic_level=65        effect={{p_magic_speed;{all};50;per};{p_critical_rate;50;per}}        is_magic=0        mp_consume2=45        cast_range=-1        effective_range=-1        skill_hit_time=2        skill_cool_time=0        skill_hit_cancel_time=0.5        reuse_delay=4        activate_rate=-1        lv_bonus_rate=0        basic_property=none        abnormal_time=1200        abnormal_lv=1        abnormal_type=resist_derangement        attribute=attr_none        effect_point=549        target_type=self        affect_scope=party        affect_range=200        affect_object=friend        next_action=none        skill_end

item_begin        etcitem        9951        [seal_powder]        item_type=etcitem        slot_bit_type={none}        armor_type=none        etcitem_type=none        blessed=0        weight=0        default_action=action_none        consume_type=consume_type_stackable        initial_count=1        maximum_count=20        soulshot_count=0        spiritshot_count=0        immediate_effect=1        price=0        default_price=650        item_skill=[none]        critical_attack_skill=[none]        material_type=paper        crystal_type=s        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


Spine 20.06.2006 12:03

No that code dont work.

rodier 30.06.2006 02:59

I modified [server side only] on my server quick healing potions..
it give you many HP instantly.. but there is little pause..delay between use.
to make that pause working.. I must reverse whole process..
not 1. use potion -> delete item -> active skill (pause).. but
1. use skill -> delete item -> active pause.. and its working. Here is whole code..

Code:

skill_begin        skill_name = [s_deleted14]        /* [???????] */        skill_id = 7015        level = 1        operate_type = A1        magic_level = 1        effect = {{i_hp_per_max;10}}        is_magic = 0        mp_consume2 = 0        item_consume = {[quick_healing_potion];1}        cast_range = -1        effective_range = -1        skill_hit_time = 0        skill_cool_time = 0        skill_hit_cancel_time = 0        reuse_delay = 30        activate_rate = -1        lv_bonus_rate = 0        basic_property = none        abnormal_time = 30        abnormal_lv = 1        abnormal_type = hp_recover        attribute = attr_none        effect_point = 0        target_type = self        affect_scope = single        next_action = none        skill_end
Code:

item_begin        etcitem        1540        [quick_healing_potion]        item_type=etcitem        slot_bit_type={none}        armor_type=none        etcitem_type=potion        blessed=0        weight=5000        default_action=action_skill_reduce        consume_type=consume_type_stackable        initial_count=1        maximum_count=20        soulshot_count=0        spiritshot_count=0        immediate_effect=1        price=0        default_price=22000        item_skill=[]        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=10        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={@ALL_PET}        magic_weapon=0        item_end
I think item consume is based on this attributres:
- @ item
default_action=action_skill_reduce <-- u have this differently..
consume_type=consume_type_stackable
item_type=etcitem
- @ skill
item_consume = {[quick_healing_potion];1}

Simply look on HP code.. its same as what you want... if dont work.. who know ;-( my advice is using my way ... giving ppl skill s_deleted14 /skillacquire set to autoget to mystics/fighters and everyone get it after next restart/ and then tell ppl to use it instead of using that item..
s_deleted14 have blue icon..


All times are GMT. The time now is 22:42.