Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

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

OK Skill Erase done with AI effect...
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




Now my problem is to make Betray effect on AI for summon...
(summon should attack his summoner) this is AI i've done:

push_event // skill_name_id
push_const 180
add
fetch_i4
push_const 256
div
push_const 1380 //<--- id skill BETRAY
equal
push_reg_sp
fetch_i
branch_false L64130

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

push_event // myself
push_const 704
add
fetch_i
push_event // myself
push_const 704
add
fetch_i // master
push_const 552
add
fetch_i // id
push_const 36
add
fetch_i4
push_const 1
push_const 1
push_const 1000000
func_call 184811530 // func[AddAttackDesireEx]
shift_sp -4
shift_sp -1
L64130

I think code are correct but summon didn't attack his summoner... some AI coder better then me can help ??

I will release my pack when a solution will be found. I'm annoyed by only leechers and not dev that help community...
andreagighi 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 14:57.