View Single Post
Old 16.09.2005, 14:58   #26
rodier
Архивный участник
 
Join Date: May 2005
Posts: 979
Default

hmm can anyone teach me, how to add more skills to arena director NPC?
which AI code to cut and paste and what ID add to HTML? thanks..
I now only understand the place where skill is called :-( I want make more buffs @ that npc.. and then custodians to cast c3 skils

I understand this
Code:
L41935
   shift_sp 1
   push_event   //  talker
   push_const 32
   add
   fetch_i
   push_const 57
   func_call 81   //  func[OwnItemCount]
   shift_sp -2
   push_const 100
   greater_equal
   branch_false L41937
L41936
   shift_sp 1
   push_event   //  talker
   push_const 32
   add
   fetch_i
   push_const 57
   push_const 100
   func_call 80   //  func[DeleteItem1]
   shift_sp -3
   shift_sp -1
   shift_sp 1
   push_event   //  talker
   push_const 32
   add
   fetch_i
   push_const 1121281
   push_const 1
   push_const 0
   push_const 1000000
   func_call 10   //  func[AddUseSkillDesire]
   shift_sp -5
   shift_sp -1
L41937
   shift_sp 1
   push_event   //  talker
   push_const 32
   add
   fetch_i
   push_parameter fnHi
   func_call 43   //  func[ShowPage]
   shift_sp -2
   shift_sp -1
   jump L41942
but dont know.. how (where) to attach this code with another skill?
simply I can add it to end of this NPC ai code with my own L#### numbers? but how to point HTML to this?
rodier is offline