Post Pacific  

Go Back   Post Pacific > Lineage 2 Russian > Сервер
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 30.03.2007, 20:26   #8
Freeman
Архивный участник
 
Join Date: Jul 2006
Posts: 39
Default

Я предлагаю такой вариант: из TIMER_FIRED_EX убираем таймер 1004, а PARTY_DIED правим что б не возникало ошибки.
Code:
 EventHandler PARTY_DIED(private)
 {
  if( private == myself.boss && myself.p_state != 3 && myself.p_state != 10 && myself.sm.alive )
  {
   Despawn();
  }
 }
И сам АИ:
Code:
handler 21 61 //  PARTY_DIED
 variable_begin
  "private"
  "myself"
  "_choiceN"
  "_code"
  "_from_choice"
 variable_end
 push_event //  private
 push_const 64
 add
 fetch_i
 push_event //  myself
 push_const 704
 add
 fetch_i //  boss
 push_const 560
 add
 fetch_i
 equal
 push_reg_sp
 fetch_i
 branch_false L10267
 push_event //  myself
 push_const 704
 add
 fetch_i //  p_state
 push_const 280
 add
 fetch_i4
 push_const 3
 not_equal
 and
 push_reg_sp
 fetch_i
 branch_false L10267
 push_event //  myself
 push_const 704
 add
 fetch_i //  p_state
 push_const 280
 add
 fetch_i4
 push_const 10
 not_equal
 and
 push_reg_sp
 fetch_i
 push_event //  myself
 push_const 704
 add
 fetch_i //  sm
 push_const 544
 add
 fetch_i //  alive
 push_const 104
 add
 fetch_i4
 and
L10267
 branch_false L10269
L10268
 push_event //  myself
 push_const 704
 add
 fetch_i
 func_call 184549616 //  func[Despawn]
 shift_sp -1
L10269
handler_end
метки использутся те, которые были в 1004м таймере
Freeman is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 22:14.