Thread: ≈ Mobs skills
View Single Post
Old 27.03.2006, 11:00   #1
midnight
Архивный участник
 
Join Date: Jun 2005
Posts: 199
Default 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}}
ai.obj
Code:
class marsh_zombie : warrior_passive_casting_ddmagic
parameter_define_begin
   int DDMagic 1024513
parameter_define_end
class_end
npc_pch
Code:
 [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?
midnight is offline