![]() |
Mobs skills
Hi, we're trying implementing new skills for the monsters, but when adding, it says the skill is wrong.
npcdata Code:
npc_ai={[marsh_zombie];{[DDMagic]=@s_blood_sucking_for_slow1}}Code:
class marsh_zombie : warrior_passive_casting_ddmagicCode:
[s_blood_sucking1] = 1024513what 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? |
... 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 |
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. |
Unregistered skill(166-115) = Unregistered skill(skill_id - skill_lvl)
Check that error. Oso |
[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? |
Quote:
|
| All times are GMT. The time now is 15:40. |