PDA

View Full Version : Skills&Ai.obj


Thunderstorm
19.05.2006, 11:12
Please help on a following question is necessary
At me in npcdata.txt leto_lizardman_shaman it is written down so:
npc_ai = {[leto_lizardman_shaman]; {[DDMagic] = @s_blood_sucking3}}

and should be here so
{[leto_lizardman_shaman]; {[DDMagic1] = @s_blood_sucking_magic_only}; {[DDMagic2] = @s_npc_aura_burn_magic_only}; {[HoldMagic] = @s_npc_slow}}

the Question at me here what: how correctly to write down the information in ai if at present it looks so:
class leto_lizardman_shaman : warrior_passive_casting_ddmagic
It seems to me that here so
warrior_passive_casting_ddmagic_lof2
but I do not know as by this line to add HoldMagic

FidoW
19.05.2006, 11:22
You need to create a new AI "magic only" mobs... if close hit with DDMagic1... if far hit with DDMagic2... and random cast hold magic...

I coded AI only for 2 DDmagic in a few minutes... , you can modify warrior_casting_ddmagic very easy... and add randon hold magic... if i have time i do it and share.

Thunderstorm
19.05.2006, 11:30
if i have time i do it and share.
I shall be very grateful.