Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   Summon new item (https://postpacific.loc-online.com/showthread.php?t=6436)

goodtimeshaxor 16.12.2006 14:23

Summon new item
 
How can I create a skill similar to the skill that summons a quiver of arrows but for another new item. I saw that the quiver of arrows skill had an argument along the lines of "summon_mithril_arrow". How can I create something that summons say "mithril_ore"? Any help is much appreciated!

msn - [email protected]

Please contact me directly. Thanks!

DevilsAssociate 16.12.2006 17:13

try copying the a grade arrow and changing the effect:

Code:

skill_begin        skill_name = [s_quiver_of_arrows_a]        /* [?? ?? ???? - A????] */        skill_id = 323        level = 1        operate_type = A1        magic_level = 66        effect = {{i_restoration_random;{{{{[mithril_arrow];450}};30};{{{[mithril_arrow];900}};50};{{{[mithril_arrow];1800}};20}}}}        is_magic = 1        mp_consume1 = 130        mp_consume2 = 0        item_consume = {[crystal_a];1}        cast_range = -1        effective_range = -1        skill_hit_time = 3        skill_cool_time = 0        skill_hit_cancel_time = 0.5        reuse_delay = 1800        attribute = attr_none        effect_point = 0        target_type = self        affect_scope = single        affect_limit = {0;0}        next_action = none        ride_state = {@ride_none;@ride_wind;@ride_star;@ride_twilight}        skill_end
change the item in the effect and the amount and item needed in the item_consume

i would think that would work

dirkr 16.12.2006 17:23

yeah check the skill s_quiver_arrows_a too to see how it creates those arrows and just put in the skill that you make out of that instead of the s_quiver_of_arrows_a

goodtimeshaxor 17.12.2006 14:27

Oh wow, I didn't even see that skill. Thanks a bunch!

EDIT:
Actually, I looked at my skill and it looks like this

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];100}}

dirkr 17.12.2006 14:47

is that the line from skilldata.txt cause mine is different tho
Code:

skill_begin        skill_name = [s_quiver_of_arrows_a]        /* [퀴버 오브 애로우스 - A그레이드] */        skill_id = 323        level = 1        operate_type = A1        magic_level = 66        effect = {{i_restoration_random;{{{{[mithril_arrow];450}};30};{{{[mithril_arrow];900}};50};{{{[mithril_arrow];1800}};20}}}}        is_magic = 1        mp_consume1 = 130        mp_consume2 = 0        item_consume = {[crystal_a];1}        cast_range = -1        effective_range = -1        skill_hit_time = 3        skill_cool_time = 0        skill_hit_cancel_time = 0.5        reuse_delay = 1800        attribute = attr_none        effect_point = 0        target_type = self        affect_scope = single        affect_limit = {0;0}        next_action = none        ride_state = {@ride_none;@ride_wind;@ride_star;@ride_twilight}        skill_end

when you look at thisone it says i_random_restoration and then then what item and how much and whats the chance i think

i have no clue where the summon_mithril_arrow from your skilldata comes from tho
with me i would just have to create a new item with a different item

so check if your summon_mithril_arrow is another skill and if so you can see what that one does and work from that

goodtimeshaxor 17.12.2006 15:27

Nope, I checked already and unfortunately it isn't a seperate skill. Where did you get your files? I got mine 6 weeks ago here on PP.

ZacK 17.12.2006 16:04

looks like urs is from old modded c1 server gthaxor. Still you can just edit it like :

skill_name = [s_summon_mithril_ore] /* [custom] */ skill_id = XXX level = 1 operate_type = A1 magic_level = 56 effect = {{i_summon;[mithril_ore];1}}


All times are GMT. The time now is 15:48.