Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   Skills&Ai.obj (https://postpacific.loc-online.com/showthread.php?t=4483)

Thunderstorm 19.05.2006 11:12

Skills&Ai.obj
 
Please help on a following question is necessary
At me in npcdata.txt leto_lizardman_shaman it is written down so:
Code:

npc_ai = {[leto_lizardman_shaman]; {[DDMagic] = @s_blood_sucking3}}
and should be here so
Code:

{[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:
Code:

class leto_lizardman_shaman : warrior_passive_casting_ddmagic
It seems to me that here so
Code:

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

Quote:

Originally Posted by FidoW
if i have time i do it and share.

I shall be very grateful.


All times are GMT. The time now is 15:47.