Wrong section but ah well i'll make it one...(a modification thread)
Basically this is A La Hamidouch style so... give him credit... and it's not as retail it only summons 480 and 650 not
BETWEEN 480 and 1800 & between 650 and 2600
skilldata.txt:
Code:
skill_begin skill_name = [s_quiver_of_arrow_grade_a] /* [c3 skill] */ skill_id = 323 level = 1 operate_type = A1 magic_level = 56 effect = {{i_summon;[summon_mithril_arrow];70}} operate_cond = {} is_magic = 1 mp_consume2 = 250 cast_range = -1 effective_range = -1 skill_hit_time = 6 skill_cool_time = 0 skill_hit_cancel_time = 0.5 reuse_delay = 3600 attribute = attr_none effect_point = 0 target_type = self affect_scope = single next_action = none skill_end
skill_begin skill_name = [s_quiver_of_arrow_grade_s] /* [c3 skill] */ skill_id = 324 level = 1 operate_type = A1 magic_level = 60 effect = {{i_summon;[summon_shining_arrow];70}} operate_cond = {} is_magic = 1 mp_consume2 = 500 cast_range = -1 effective_range = -1 skill_hit_time = 6 skill_cool_time = 0 skill_hit_cancel_time = 0.5 reuse_delay = 3600 attribute = attr_none effect_point = 0 target_type = self affect_scope = single next_action = none skill_end
npcdata.txt
Code:
npc_begin summon 15000 [summon_mithril_arrow] level=1 exp=0 acquire_exp_rate=0 undying=1 can_be_attacked=0 acquire_sp=0 race=human sex=male temper=100 safe_height=100 org_jump=15 skill_list={@s_full_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=4000 base_damage_range={0;0;80;120} base_rand_dam=30 str=40 int=21 dex=30 wit=20 con=43 men=10 hp_increase=40 mp_increase=7 org_hp_regen=7.5 org_mp_regen=2.7 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;30} org_earshot=100 sight={0;0;2500;120;5} agro_range=1000 org_hp=5000 org_mp=5000 base_defend=5000 base_magic_attack=1 base_magic_defend=5000 base_physical_attack=1 physical_hit_modify=4.75 physical_avoid_modify=0 base_attack_speed=800 base_reuse_delay=0 base_critical=4 magic_use_speed_modify=0 status={normal} align=-4900 collision_radius=1 collision_height=350 category={} clan={} clan_help_range=300 guild={} pledge={} pledge_leader=0 alliance={} alliance_leader=0 ignore_clan_list={} ruler=0 ruling_domain={} npc_ai={[summon_mithril_arrow]} corpse_time=1 no_sleep_mode=0 npc_end
npc_begin summon 15001 [summon_shining_arrow] level=1 exp=0 acquire_exp_rate=0 undying=1 can_be_attacked=0 acquire_sp=0 race=human sex=male temper=100 safe_height=100 org_jump=15 skill_list={@s_full_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=4000 base_damage_range={0;0;80;120} base_rand_dam=30 str=40 int=21 dex=30 wit=20 con=43 men=10 hp_increase=40 mp_increase=7 org_hp_regen=7.5 org_mp_regen=2.7 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;30} org_earshot=100 sight={0;0;2500;120;5} agro_range=1000 org_hp=5000 org_mp=5000 base_defend=5000 base_magic_attack=1 base_magic_defend=5000 base_physical_attack=1 physical_hit_modify=4.75 physical_avoid_modify=0 base_attack_speed=800 base_reuse_delay=0 base_critical=4 magic_use_speed_modify=0 status={normal} align=-4900 collision_radius=1 collision_height=350 category={} clan={} clan_help_range=300 guild={} pledge={} pledge_leader=0 alliance={} alliance_leader=0 ignore_clan_list={} ruler=0 ruling_domain={} npc_ai={[summon_shining_arrow]} corpse_time=1 no_sleep_mode=0 npc_end
ai.obj
Code:
class summon_mithril_arrow : (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 1344 //Item ID
push_const 480 //Amount
func_call 77 // func[GiveItem1]
shift_sp -3
shift_sp -1
shift_sp 1
push_const 300001
push_const 100 //100 MS before Despawn
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
class summon_shining_arrow : (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 1345 //Item ID
push_const 650 //Amount
func_call 77 // func[GiveItem1]
shift_sp -3
shift_sp -1
shift_sp 1
push_const 300001
push_const 100 //100 MS before Despawn
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