Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 26.11.2006, 11:19   #11
andreagighi
Архивный участник
 
Join Date: Mar 2005
Posts: 74
Default

For Erase found solution with AI code to add on summon:

handler 1 352 // ATTACKED
variable_begin
"skill_name_id"
"myself"
variable_end

push_event // skill_name_id
push_const 180
add
fetch_i4
push_const 256
div
push_const 1395 //<--- id skill ERASE
equal
push_reg_sp
fetch_i
branch_false L64129

push_event // gg
push_const 632
add
fetch_i
push_const 100
func_call 218169344 // func[Rand]
shift_sp -1
push_const 30 //<--- % of landing skill
less
branch_false L64129

push_event // myself
push_const 704
add
fetch_i
func_call 184549616 // func[Despawn]
shift_sp -1
L64129
handler_end

I can do it better by checking lvl of skill and modify %
andreagighi is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 21:19.