![]() |
|
|
#1 |
|
Архивный участник
Join Date: Jun 2005
Posts: 199
|
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_ddmagic parameter_define_begin int DDMagic 1024513 parameter_define_end class_end Code:
[s_blood_sucking1] = 1024513 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? |
|
|
|
|
#2 |
|
Архивный участник
Join Date: Mar 2005
Posts: 442
|
... 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 |
|
|
|
|
#3 |
|
Архивный участник
Join Date: Jun 2005
Posts: 199
|
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. |
|
|
|
|
#4 |
|
Архивный участник
Join Date: Mar 2005
Posts: 442
|
Unregistered skill(166-115) = Unregistered skill(skill_id - skill_lvl)
Check that error. Oso |
|
|
|
|
#5 |
|
Архивный участник
Join Date: Jun 2005
Posts: 199
|
[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 |
|
|
|
|
#6 |
|
Архивный участник
Join Date: May 2005
Posts: 979
|
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? |
|
|
|
|
#7 | |
|
Архивный участник
Join Date: Dec 2005
Posts: 242
|
Quote:
|
|
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|