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..