![]() |
s_quiver_of_arrow_grade_a skill
does anyone have this working? if so can you share. when I try to use it does not call arrows and im not sure how to change in skilldata.
|
isnt that hard think a little, read, and figure it out how to make it ;). There are 2 good ways.
|
would something like this work?
effect = {{i_summon_mithril_arrow;50}}
|
no dave -.-
there 2 ways, well 2 goods ways to make it. 1- //created 2- //spelled |
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_endCode:
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_endCode:
class summon_mithril_arrow : (null) |
Whooa thank you
Thank you so much, I would have never guessed AI and NPC scripts for this. Atleast I got skilldata right. LOL.
|
i made this but i dont know if my stack is right, cause maybe i need a push_reg_sp to copy one of the values, dont know yet cause didnt test.
add fetch_i push_const 1345 push_const 1320 func_call 55 // [Rand] shift_sp -1 push_const 480 add func_call 77 // func[GiveItem1] shift_sp -3 shift_sp -1 |
Hmm just a question
the script worked perfectly, other than the white bunnie (which I know why). Im assuming because it calls a "summon" from npcdata, that it needs a mesh. Can someone give a hint to what client to use so everytime I summon arrows, a bunny dont show over my head. lol..
|
Quote:
|
how you are using it ? dont know really if it work, but i need to be sure that you are adding it correctly
|
Quote:
func_call 77 // func[GiveItem1] shift_sp -2 shift_sp -1 i have problems calculling the SP with the func Rand |
Code:
class summon_mithril_arrow : (null) |
Code:
class summon_mithril_arrow : (null) |
sdw ^^ copy and paste dont work :P
for shining arrow is push_const 1345 shift_sp 1 push_const 1950 func_call 55 // func[Rand] shift_sp -1 push_const 650 |
What about npc texture
is there anyway of getting rid of the bunny above my head when I summon the arrows. I guess i could use cubix texture. any ideas?
|
try setting it's collision height to -1
|
Quote:
Why code need this changes shown in RED ? Would you plz explain me the reason ? i would aprecciate it very much. Thanks in advance. |
i think is the random numbers of arrows when u summon it ^^
from 650 to 1950 arrows |
cause, s_quiver_arrow_a is 450-1800 arrows and s_quiver_arrow_s is 650-2600 arrows
|
what about to define that npc used to summon at the client side?
|
| All times are GMT. The time now is 15:49. |