View Single Post
Old 18.10.2005, 08:40   #23
kembl
Архивный участник
 
Join Date: May 2005
Posts: 63
Default

Correct me please!

As I understand, AI.OBJ parser in la2server, walk throught AI class tree and exec only this handlers, that redifined in children classes, so construction like i left at the bottom (get from this topic), cant work!

class warrior_casting_baium_hold_magic : warrior_baium_physicalspecial
parameter_define_begin
int HoldMagic 1056769
parameter_define_end
handler 1 // ATTACKED
....
class_end

class warrior_baium_casting_splash : warrior_casting_baium_hold_magic
parameter_define_begin
int SelfRangeDDMagic 1057025
parameter_define_end
handler 1 // ATTACKED
....
class_end

I.E. every time should work only one ATTACKED handler in warrior_baium_casting_splash

For right work, you mast create some like this

class warrior_baium: warrior
parameter_define_begin
int HoldMagic 1056769
int SelfRangeDDMagic 1057025
etc...
parameter_define_end
handler 1 // ATTACKED

AND THERE DESCRIPTION OF STEP BY STEP (or by expression) SKILL RUNNING

....
class_end

Am i right?
kembl is offline