![]() |
|
|
#2 |
|
Архивный участник
Join Date: Aug 2005
Posts: 605
|
Keltir AI
Code:
class keltir : warrior_passive handler 10 // MY_DYING variable_begin "c1" "myself" "_choiceN" "_code" "_from_choice" variable_end push_event // c1 push_const 276 add push_reg_sp fetch_i shift_sp 1 func_call 83 // func[GetLastAttacker] assign shift_sp -1 shift_sp 1 push_event // c1 push_const 276 add fetch_i push_const 154 func_call 59 // func[HaveMemo] shift_sp -2 push_const 1 equal push_reg_sp fetch_i branch_false L9141 shift_sp 1 push_event // c1 push_const 276 add fetch_i push_const 1032 func_call 81 // func[OwnItemCount] shift_sp -2 push_const 10 less and push_reg_sp fetch_i branch_false L9141 shift_sp 1 push_event // c1 push_const 276 add fetch_i push_const 1033 func_call 81 // func[OwnItemCount] shift_sp -2 push_const 0 equal and L9141 branch_false L9143 L9142 shift_sp 1 push_const 10 func_call 55 // func[Rand] shift_sp -1 push_const 4 less branch_false L9145 L9144 shift_sp 1 push_event // c1 push_const 276 add fetch_i push_const 1032 push_const 1 func_call 77 // func[GiveItem1] shift_sp -3 shift_sp -1 shift_sp 1 push_event // c1 push_const 276 add fetch_i push_const 1032 func_call 81 // func[OwnItemCount] shift_sp -2 push_const 10 equal branch_false L9147 L9146 shift_sp 1 push_event // c1 push_const 276 add fetch_i S1379. "ItemSound.quest_middle" push_string S1379 func_call 173 // func[SoundEffect] shift_sp -2 shift_sp -1 jump L9148 L9147 shift_sp 1 push_event // c1 push_const 276 add fetch_i S1380. "ItemSound.quest_itemget" push_string S1380 func_call 173 // func[SoundEffect] shift_sp -2 shift_sp -1 L9148 L9145 L9143 call_super handler_end class_end The wiseman's ai is too big because it has some other quests too included i suppose |
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|