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 03.12.2005, 19:49   #2
kvoxi
Архивный участник
 
Join Date: Oct 2005
Posts: 102
Default

PC_level=GetLastAttacker().level;
NPC_level=myself.sm.level;
AI code:
Code:
        //PC level
        //c0=GetLastAttacker()
        push_event      //  c0
        push_const 272
        add
        push_reg_sp
        fetch_i
        shift_sp 1
        func_call 83    //  func[GetLastAttacker]
        assign
        shift_sp -1
        // PC_level <=> c0.level
        push_event      //  c0
        push_const 272
        add
        fetch_i
        push_const 888 //level
        add
        fetch_i
        ....

        // NPC level
        push_event      //  myself
        push_const 28
        add
        fetch_i //  sm
        push_const 2400
        add
        fetch_i //  level
        push_const 888
        add
        fetch_i
thats all, if u need determine levels
kvoxi 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 18:16.