View Single Post
Old 16.07.2007, 20:41   #1
Firedaemon
Архивный участник
 
Join Date: Oct 2005
Posts: 267
Default [share] C1 Bin AI - universal combat class for mobs

So I used this for a very long time back when I was using the C1 binaries. Just thought I would post them here in case any old devs find it useful.

Used for more than a year, so it has been debugged to a great extent.

Two AI classes

NEVER assign warrior_superclass to a mob - only warrior_subclass

warrior_superclass - (not for direct call)
Handles everything from skill usage to leveling soul crystals. Casts heals, debuffs, etc all from the npcdata AI param or npcpos AI param lines. Hehe, you can even make the mobs pickup drops :P

warrior_subclass - (call from mobs)
This is used strictly as a performance enhancement for the npc server. ALWAYS use this class instead of warrior_superclass. Any additional methods needed by warrior_superclass will be automatically called and processed.

Вложения из исходного сообщения (сами файлы в копии отсутствуют):
c1-warrior_class.rar — 8298 байт
Firedaemon is offline