View Single Post
Old 11.10.2005, 20:04   #4
_sPoter_
Архивный участник
 
Join Date: Oct 2005
Posts: 2
Default

hm.. maby this?
but if u use 5-10 comp_soulshots in 1 time- u get a bug.. %)

class soulshot_giver_d_300 : (null)
handler 13 // CREATED
variable_begin
"myself"
"_choiceN"
"_code"
"_from_choice"
variable_end

shift_sp 1
push_event // myself
push_const 28
add
fetch_i // master
push_const 2404
add
fetch_i
push_const 1463
push_const 300
func_call 77 // func[GiveItem1]
shift_sp -3
shift_sp -1

shift_sp 1
push_const 300001
push_const 1000
func_call 28 // func[AddTimerEx]
shift_sp -2
shift_sp -1
handler_end

handler 12 // TIMER_FIRED_EX
variable_begin
"timer_id"
"myself"
"_choiceN"
"_code"
"_from_choice"
variable_end

push_event // timer_id
push_const 176
add
fetch_i
push_const 300001
equal
branch_false L999989
L999988
shift_sp 1
func_call 175 // func[Despawn]
shift_sp -1
L999989
handler_end

class_end

============================
skill_begin skill_name = [s_soulshot_decompressor_d] /* [????] */ skill_id = 2079 level = 1 operate_type = A1 magic_level = 40 effect = {{i_summon;[soulshot_d_300];70}} operate_cond = {} is_magic = 1 mp_consume1 = 14 mp_consume2 = 56 item_consume = {[comp_soulshot_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
_sPoter_ is offline