View Single Post
Old 09.12.2005, 06:02   #13
Sdw
Архивный участник
 
Join Date: Sep 2005
Posts: 150
Default

Code:
class summon_mithril_arrow : (null)
handler 13   //  CREATED
  variable_begin
     "myself"
     "_choiceN"
     "_code"
     "_from_choice"
  variable_end

  shift_sp 1
  push_event   //  myself
  push_const 28
  add
  fetch_i   //  master
  push_const 2404
  add
  fetch_i
  push_const 1344
  shift_sp 1
  push_const 1320
  func_call 55   //  func[Rand]
  shift_sp -1
  push_const 480
  add
  func_call 77   //  func[GiveItem1]
  shift_sp -3
  shift_sp -1
  shift_sp 1
  func_call 175      // func[Despawn]
  shift_sp -1
handler_end
class_end

class summon_shining_arrow : (null)
handler 13   //  CREATED
  variable_begin
     "myself"
     "_choiceN"
     "_code"
     "_from_choice"
  variable_end

  shift_sp 1
  push_event   //  myself
  push_const 28
  add
  fetch_i   //  master
  push_const 2404
  add
  fetch_i
  push_const 1345
  shift_sp 1
  push_const 1320
  func_call 55   //  func[Rand]
  shift_sp -1
  push_const 480
  add
  func_call 77   //  func[GiveItem1]
  shift_sp -3
  shift_sp -1
  shift_sp 1
  func_call 175      // func[Despawn]
  shift_sp -1
handler_end
class_end
Sdw is offline