View Full Version : Mobs skills
midnight
27.03.2006, 11:00
Hi, we're trying implementing new skills for the monsters, but when adding, it says the skill is wrong.
npcdata
npc_ai={[marsh_zombie];{[DDMagic]=@s_blood_sucking_for_slow1}}
ai.obj
class marsh_zombie : warrior_passive_casting_ddmagic
parameter_define_begin
int DDMagic 1024513
parameter_define_end
class_end
npc_pch
[s_blood_sucking1] = 1024513
When testing, an error occurs in l2server if the monster wants to use the skill.
what i'm doing wrong?
Another doubt, why some monsters haven't set magic in the ai and can cast only having warrior_passive_casting_ddmagic class? can i configure skills without editing ai?
Osito2Dancer
27.03.2006, 15:01
... maybe the SKILL's NAME IS WRONG?
on NPCDATA: s_blood_sucking_for_slow1
on skilldata - PCH: s_blood_sucking
And, if you have already defined the skill on AI.obj, there's no need to declare it again on NPCDATA, unless it's another skill level or such.
That MIGHT be the problem... xD.
Oso
midnight
27.03.2006, 16:51
Thx osito
I've changed the id that before was wrong, but still gives error the l2server : 03/27/2006 18:32:xx.xx3, [Skill.cpp][554] Unregistered skill(166-115).
I've tried putting a skill I know it works, and a similar error occurs.
Osito2Dancer
27.03.2006, 17:57
Unregistered skill(166-115) = Unregistered skill(skill_id - skill_lvl)
Check that error.
Oso
midnight
27.03.2006, 18:50
[s_blood_sucking_for_slow1] = 1042481
skill_begin skill_name = [s_blood_sucking_for_slow1] /* [HP Absorb Slow] */ skill_id = 4248 level = 1 operate_type = A2 magic_level = 20 effect = {{i_hp_drain;18;20}} operate_cond = {} is_magic = 1 mp_consume2 = 40 cast_range = 400 effective_range = 600 skill_hit_time = 7 skill_cool_time = 1 skill_hit_cancel_time = 0.5 reuse_delay = 5 activate_rate = -1 lv_bonus_rate = 0 basic_property = none abnormal_time = 3600 abnormal_lv = 1 abnormal_type = pa_up_special attribute = attr_none effect_point = 100 target_type = enemy affect_scope = single next_action = none skill_end
hmm anyone know smoething about "Unregistered skill(166-115)" messages?
of course 166-115 is false ID and false Level.. its nothing about reall skilldata or skillacquire....... so how to stop this message? how to repair it? howto find it who is source of this error?
hmm anyone know smoething about "Unregistered skill(166-115)" messages?
of course 166-115 is false ID and false Level.. its nothing about reall skilldata or skillacquire....... so how to stop this message? how to repair it? howto find it who is source of this error?
check your user_skill table. (lin2world)