![]() |
[Seeks Help]C3 skills: s_quiver_of_arrow_grade_a/s
anyone can help me with that ?
this is my code from skilldata and this is not OK . Skill has no effect (do not create arrows) :( 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 = {} operate_cond = {} is_magic = 1 mp_consume2 = 250 cast_range = -1 effective_range = -1 skill_hit_time = 0 skill_cool_time = 0 skill_hit_cancel_time = 0.5 attribute = attr_none effect_point = 108 target_type = self affect_scope = single next_action = none skill_end |
Unfortunately, I cannot answer your question. What I would like to mention is that someone else had asked help before about how to make a skill that creates an item. As far as I remember, nobody was able to help him back then...Some had said it's impossible, some said it's possible but requires hexing (therefore it's too hard), and in any case nobody gave any solutions...
I wish you luck...and if you find out how to do that, I'd like to learn, too! There are some neat skills one can come up with if we get this working ;) |
a stupid propouse, maybe, the skill can summon a npc :P
and then u kill the npc and the npc drop the arrows. :D Stupid but Efficient |
Its actually quite simple, make a skill that summons a npc - make the npc give you item "on summon" and despawn..
badabing you got a somewhat working skill ;-) And theres a second option, but ill leave that up for your exploration (its in ai.obj) |
Quote:
Ill implement that! (first one. The second... ill ask you how xD). Oso |
Maybe just using the effect = {{p_create_item;[mithril_arrow];400}} but i'm still trying to figure which would be the operate_cond for this.
|
Didnt even know that skill effect existed..
Does it? or are you just making shit up now, im at work so cant try it :-) |
Well does it? I was using as refference an entry in the skilldata.txt as it follows
Code:
skill_begin skill_name = [s_create_item1] /* [????? ???] */ skill_id = 172 level = 1 operate_type = P effect = {{p_create_item;1}} skill_end |
I dont think it does, your reference is the ability to create items of level 1.
Not create item id 1 |
In my server (la2.intersat.md), i have already this skill, it work like summon npc. I share only ai script. I think skilldata and npcdata for this skill you can do.
Code:
class Quiver_a : (null) |
Yep, thats the first option i described, one of the problems with it is that its very easy to crash the l2npc server using this method.
Or at least, put some rather high latency on it, depending on the amount of players you have. |
What you simply dont get is that this skill is not supposed to work the way i already see others are using it. It's not supposed to spawn/summon a monster but simply based on a item_consume ={} var to create a friggin quiver of arrows. And archy yeah i know that 1 is the level of create item skill .. the base ideea of it is that the skill effect exists. You got my point wrong.. I'm sure must be a workaround for this skill.
|
well tespio, i think the work around would be to modify the item_consume into allowing positive items, as in give items and take items..
But hex yet again. |
| All times are GMT. The time now is 21:49. |