Post Pacific  

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

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 01.07.2005, 00:27   #1
SoaPy
Архивный участник
 
Join Date: Feb 2005
Posts: 705
Default [chinese] soul stone

我发现一些信息关于这久时光并且我� �分享。

tnx to yendream

信息1

Code:
 
<a action="bypass -h menu_select?reply=666">我要提高搜魂石的等級</a>
 

 
<font color="9999CC">================注意事項================</font>
 
<font color="9999CC">提昇魂石等級時,角色身上的紅色系搜魂石僅能有一顆。</font>
 
<font color="9999CC">搜魂石提升到階段10便無法再提高。</font>
 
</body>
AI的部分
Code:
handler 32     // MENU_SELECTED
    variable_begin
        "ask"
        "reply"
        "talker"
        "myself"
        "_choiceN"
        "_code"
        "_from_choice"
    variable_end

L830000     
    push_event
    push_const 104     //reply
    add
    fetch_i
    push_const 666
    equal
    branch_false L830002
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i               //檢查sp
    push_const 248
    add
    fetch_i
    push_const 500000     //檢查有沒有500000 sp
    greater_equal
    push_reg_sp
    fetch_i
    branch_false L830001     //沒有轉跳L830001-失敗
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i             //Level
    push_const 888         
    add
    fetch_i
    push_const 40         //等級40
    greater_equal
    push_reg_sp
    fetch_i
    branch_false L830001     //沒40級轉跳L830001
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4629         //檢查4629 Lv0
    func_call 81         // func[OwnItemCount]
    shift_sp -2
    push_const 1         //數量1
    greater_equal
    branch_false L830003     //沒有轉跳L830003
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4629
    push_const 1         //刪除4629數量1
    func_call 80         // func[DeleteItem1]
    shift_sp -3
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4630         //給予4630數量1
    push_const 1
    func_call 77         // func[GiveItem1]
    shift_sp -3
    shift_sp -1
    jump L830004         //轉跳L830004
L830003
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4630         //檢查4630
    func_call 81         // func[OwnItemCount]
    shift_sp -2
    push_const 1         //數量1
    greater_equal
    branch_false L830005     //沒有轉跳L830005
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4630         //刪除4630數量1
    push_const 1
    func_call 80         // func[DeleteItem1]
    shift_sp -3
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4631         //給予4631 數量1
    push_const 1
    func_call 77         // func[GiveItem1]
    shift_sp -3
    shift_sp -1
    jump L830004         //轉跳L830004
L830005
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4631         //檢查4631
    func_call 81         // func[OwnItemCount]
    shift_sp -2
    push_const 1         //數量1
    greater_equal
    branch_false L830006     //沒有轉跳L830006
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4631         //刪除4631數量1
    push_const 1
    func_call 80         // func[DeleteItem1]
    shift_sp -3
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4632         //給予4632 數量1
    push_const 1
    func_call 77         // func[GiveItem1]
    shift_sp -3
    shift_sp -1
    jump L830004         //轉跳L830004
L830006
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4632         //檢查4632
    func_call 81         // func[OwnItemCount]
    shift_sp -2
    push_const 1         //數量1
    greater_equal
    branch_false L830007     //沒有轉跳L830007
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4632         //刪除4632數量1
    push_const 1
    func_call 80         // func[DeleteItem1]
    shift_sp -3
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4633         //給予4633 數量1
    push_const 1
    func_call 77         // func[GiveItem1]
    shift_sp -3
    shift_sp -1
    jump L830004         //轉跳L830004
L830007
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4633         //檢查4633
    func_call 81         // func[OwnItemCount]
    shift_sp -2
    push_const 1         //數量1
    greater_equal
    branch_false L830008     //沒有轉跳L830008
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4633         //刪除4633數量1
    push_const 1
    func_call 80         // func[DeleteItem1]
    shift_sp -3
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4634         //給予4634 數量1
    push_const 1
    func_call 77         // func[GiveItem1]
    shift_sp -3
    shift_sp -1
    jump L830004         //轉跳L830004
L830008
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4634         //檢查4634
    func_call 81         // func[OwnItemCount]
    shift_sp -2
    push_const 1         //數量1
    greater_equal
    branch_false L830009     //沒有轉跳L830009
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4634         //刪除4634數量1
    push_const 1
    func_call 80         // func[DeleteItem1]
    shift_sp -3
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4635         //給予4635 數量1
    push_const 1
    func_call 77         // func[GiveItem1]
    shift_sp -3
    shift_sp -1
    jump L830004         //轉跳L830004
L830009
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4635         //檢查4635
    func_call 81         // func[OwnItemCount]
    shift_sp -2
    push_const 1         //數量1
    greater_equal
    branch_false L830010     //沒有轉跳L830010
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4635         //刪除4635數量1
    push_const 1
    func_call 80         // func[DeleteItem1]
    shift_sp -3
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4636         //給予4636 數量1
    push_const 1
    func_call 77         // func[GiveItem1]
    shift_sp -3
    shift_sp -1
    jump L830004         //轉跳L830004
L830010
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4636         //檢查4636
    func_call 81         // func[OwnItemCount]
    shift_sp -2
    push_const 1         //數量1
    greater_equal
    branch_false L830011     //沒有轉跳L830011
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4636         //刪除4636數量1
    push_const 1
    func_call 80         // func[DeleteItem1]
    shift_sp -3
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4637         //給予4637 數量1
    push_const 1
    func_call 77         // func[GiveItem1]
    shift_sp -3
    shift_sp -1
    jump L830004         //轉跳L830004
L830011
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4637         //檢查4637
    func_call 81         // func[OwnItemCount]
    shift_sp -2
    push_const 1         //數量1
    greater_equal
    branch_false L830012     //沒有轉跳L830012
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4637         //刪除4637數量1
    push_const 1
    func_call 80         // func[DeleteItem1]
    shift_sp -3
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4638         //給予4638 數量1
    push_const 1
    func_call 77         // func[GiveItem1]
    shift_sp -3
    shift_sp -1
    jump L830004         //轉跳L830004
L830012
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4638         //檢查4638
    func_call 81         // func[OwnItemCount]
    shift_sp -2
    push_const 1         //數量1
    greater_equal
    branch_false L830001     //沒有轉跳L830001
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4638         //刪除4638數量1
    push_const 1
    func_call 80         // func[DeleteItem1]
    shift_sp -3
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4639         //給予4639 數量1
    push_const 1
    func_call 77         // func[GiveItem1]
    shift_sp -3
    shift_sp -1
L830004
    shift_sp 1
    push_event         //talker
    push_const 32
    add
    fetch_i
    push_const 1
    push_const 500000     //扣sp
    negate
    func_call 171         // func[IncrementParam]
    shift_sp -3
    shift_sp -1
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
S830001.     "stone_r001.htm"         //成功完成
    push_string S830001
    func_call 43
    shift_sp -2
    shift_sp -1
    jump L830002
L830001
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
S830000.     "stone_r002.htm"         //條件不符
    push_string S830000
    func_call 43
    shift_sp -2
    shift_sp -1
L830002
handler_end

信息2

1-3級 100% 4-10級 30%
Code:
class soul_party_private_casting_curse : party_private_casting_curse
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 4629 // 0級紅色搜魂石 
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90316

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4630 // 1級紅色搜魂石
        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 4629
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1 
        jump L90315            
L90316
        //1級紅色搜魂石
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4630 // 1級紅色搜魂石 
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90317

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4631 // 2級紅色搜魂石
        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 4630
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1 
        jump L90315
L90317
        // 2級紅色搜魂石 
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4631 // 2級紅色搜魂石 
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90318

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4632 // 3級紅色搜魂石
        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 4631
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1 
        jump L90315
L90318
        //危險區域
        // 4級紅色搜魂石
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4632 // 3級紅色搜魂石 
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90320 //下一顆

        shift_sp 1
        push_const 100
        func_call 55        //  func[Rand]
        shift_sp -1
        push_const 30
        less
        branch_false L90319 //暴掉        

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4633 // 4級紅色搜魂石
        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 4632
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1 
        jump L90315            
L90319
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4662 // 破碎紅色搜魂石
        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 4632
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1 
        jump L90315         
L90320
        //危險區域
        // 5級紅色搜魂石
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4633 // 4級紅色搜魂石 
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90322 //下一顆

        shift_sp 1
        push_const 100
        func_call 55        //  func[Rand]
        shift_sp -1
        push_const 30
        less
        branch_false L90321 //暴掉        

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4634 // 5級紅色搜魂石
        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 4633
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1 
        jump L90315            
L90321
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4662 // 破碎紅色搜魂石
        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 4633
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1 
        jump L90315         
L90322
        //危險區域
        // 6級紅色搜魂石
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4634 // 5級紅色搜魂石 
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90324 //下一顆

        shift_sp 1
        push_const 100
        func_call 55        //  func[Rand]
        shift_sp -1
        push_const 30
        less
        branch_false L90323 //暴掉        

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4635 // 6級紅色搜魂石
        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 4634
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1 
        jump L90315            
L90323
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4662 // 破碎紅色搜魂石
        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 4634
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1 
        jump L90315         
L90324
        //危險區域
        // 7級紅色搜魂石
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4635 // 6級紅色搜魂石 
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90326 //下一顆

        shift_sp 1
        push_const 100
        func_call 55        //  func[Rand]
        shift_sp -1
        push_const 30
        less
        branch_false L90325 //暴掉        

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4636 // 7級紅色搜魂石
        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 4635
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1 
        jump L90315            
L90325
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4662 // 破碎紅色搜魂石
        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 4635
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1 
        jump L90315         
L90326
        //危險區域
        // 8級紅色搜魂石
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4636 // 7級紅色搜魂石 
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90328 //下一顆

        shift_sp 1
        push_const 100
        func_call 55        //  func[Rand]
        shift_sp -1
        push_const 30
        less
        branch_false L90327 //暴掉        

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4637 // 8級紅色搜魂石
        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 4636
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1 
        jump L90315            
L90327
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4662 // 破碎紅色搜魂石
        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 4636
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1 
        jump L90315         
L90328
        //危險區域
        // 9級紅色搜魂石
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4637 // 8級紅色搜魂石 
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90330 //下一顆

        shift_sp 1
        push_const 100
        func_call 55        //  func[Rand]
        shift_sp -1
        push_const 30
        less
        branch_false L90329 //暴掉        

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4638 // 9級紅色搜魂石
        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 4637
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1 
        jump L90315            
L90329
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4662 // 破碎紅色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1        
        push_event        //  c1
        push_const 277
        add
        fetch_i
        push_const 4637
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1 
        jump L90315         
L90330
        //危險區域
        // 10級紅色搜魂石
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4638 // 9級紅色搜魂石 
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90332 //下一顆

        shift_sp 1
        push_const 100
        func_call 55        //  func[Rand]
        shift_sp -1
        push_const 30
        less
        branch_false L90331 //暴掉        

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4639 // 10級紅色搜魂石
        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 4638
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1 
        jump L90315            
L90331
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4662 // 破碎紅色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1        
        push_event        //  c1
        push_const 277
        add
        fetch_i
        push_const 4638
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1 
        jump L90315         
L90332
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4640 // 0級綠色搜魂石 
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90333

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4641 // 1級綠色搜魂石
        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 4640
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1 
        jump L90315            
L90333
        //1級綠色搜魂石
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4641 // 1級綠色搜魂石 
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90334

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4642 // 2級綠色搜魂石
        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 4641
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1 
        jump L90315
L90334
        // 2級綠色搜魂石 
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4642 // 2級綠色搜魂石 
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90335

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4643 // 3級綠色搜魂石
        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 4642
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1 
        jump L90315
L90335
        //危險區域
        // 4級綠色搜魂石
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4643 // 3級綠色搜魂石 
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90337 //下一顆

        shift_sp 1
        push_const 100
        func_call 55        //  func[Rand]
        shift_sp -1
        push_const 30
        less
        branch_false L90334 //暴掉        

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4644 // 4級綠色搜魂石
        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 4643
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1 
        jump L90315            
L90336
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4663 // 破碎綠色搜魂石
        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 4643
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1 
        jump L90315         
L90337
        //危險區域
        // 5級綠色搜魂石
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4644 // 4級綠色搜魂石 
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90339 //下一顆

        shift_sp 1
        push_const 100
        func_call 55        //  func[Rand]
        shift_sp -1
        push_const 30
        less
        branch_false L90338 //暴掉        

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4645 // 5級綠色搜魂石
        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 4644
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1 
        jump L90315            
L90338
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4663 // 破碎綠色搜魂石
        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 4644
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1 
        jump L90315         
L90339
        //危險區域
        // 6級綠色搜魂石
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4645 // 5級綠色搜魂石 
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90341 //下一顆

        shift_sp 1
        push_const 100
        func_call 55        //  func[Rand]
        shift_sp -1
        push_const 30
        less
        branch_false L90340 //暴掉        

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4646 // 6級綠色搜魂石
        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 4645
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1 
        jump L90315            
L90340
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4663 // 破碎綠色搜魂石
        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 4645
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1 
        jump L90315         
L90341
        //危險區域
        // 7級綠色搜魂石
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4646 // 6級綠色搜魂石 
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90343 //下一顆

        shift_sp 1
        push_const 100
        func_call 55        //  func[Rand]
        shift_sp -1
        push_const 30
        less
        branch_false L90342 //暴掉        

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4647 // 7級綠色搜魂石
        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 4646
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1 
        jump L90315            
L90342
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4663 // 破碎綠色搜魂石
        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 4646
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1 
        jump L90315         
L90343
        //危險區域
        // 8級綠色搜魂石
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4647 // 7級綠色搜魂石 
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90345 //下一顆

        shift_sp 1
        push_const 100
        func_call 55        //  func[Rand]
        shift_sp -1
        push_const 30
        less
        branch_false L90344 //暴掉        

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4648 // 8級綠色搜魂石
        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 4647
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1 
        jump L90315            
L90344
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4663 // 破碎綠色搜魂石
        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 4647
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1 
        jump L90315         
L90345
        //危險區域
        // 9級綠色搜魂石
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4648 // 8級綠色搜魂石 
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90347 //下一顆

        shift_sp 1
        push_const 100
        func_call 55        //  func[Rand]
        shift_sp -1
        push_const 30
        less
        branch_false L90346 //暴掉        

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4649 // 9級綠色搜魂石
        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 4648
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1 
        jump L90315            
L90346
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4663 // 破碎綠色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1        
        push_event        //  c1
        push_const 277
        add
        fetch_i
        push_const 4648
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1 
        jump L90315         
L90347
        //危險區域
        // 10級綠色搜魂石
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4649 // 9級綠色搜魂石 
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90349 //下一顆

        shift_sp 1
        push_const 100
        func_call 55        //  func[Rand]
        shift_sp -1
        push_const 30
        less
        branch_false L90348 //暴掉        

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4650 // 10級綠色搜魂石
        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 4649
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1 
        jump L90315            
L90348
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4663 // 破碎綠色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1        
        push_event        //  c1
        push_const 277
        add
        fetch_i
        push_const 4649
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1 
        jump L90315         
L90349
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4651 // 0級藍色搜魂石 
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90350

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4652 // 1級藍色搜魂石
        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 4651
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1 
        jump L90315            
L90350
        //1級藍色搜魂石
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4652 // 1級藍色搜魂石 
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90351

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4653 // 2級藍色搜魂石
        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 4652
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1 
        jump L90315
L90351
        // 2級藍色搜魂石 
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4653 // 2級藍色搜魂石 
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90352

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4654 // 3級藍色搜魂石
        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 4653
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1 
        jump L90315
L90352
        //危險區域
        // 4級藍色搜魂石
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4654 // 3級藍色搜魂石 
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90354 //下一顆

        shift_sp 1
        push_const 100
        func_call 55        //  func[Rand]
        shift_sp -1
        push_const 30
        less
        branch_false L90353 //暴掉        

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4655 // 4級藍色搜魂石
        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 4654
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1 
        jump L90315            
L90353
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4664 // 破碎藍色搜魂石
        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 4654
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1 
        jump L90315         
L90354
        //危險區域
        // 5級藍色搜魂石
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4655 // 4級藍色搜魂石 
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90356 //下一顆

        shift_sp 1
        push_const 100
        func_call 55        //  func[Rand]
        shift_sp -1
        push_const 30
        less
        branch_false L90355 //暴掉        

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4656 // 5級藍色搜魂石
        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 4655
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1 
        jump L90315            
L90355
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4664 // 破碎藍色搜魂石
        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 4655
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1 
        jump L90315         
L90356
        //危險區域
        // 6級藍色搜魂石
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4656 // 5級藍色搜魂石 
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90358 //下一顆

        shift_sp 1
        push_const 100
        func_call 55        //  func[Rand]
        shift_sp -1
        push_const 30
        less
        branch_false L90357 //暴掉        

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4657 // 6級藍色搜魂石
        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 4656
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1 
        jump L90315            
L90357
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4664 // 破碎藍色搜魂石
        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 4656
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1 
        jump L90315         
L90358
        //危險區域
        // 7級藍色搜魂石
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4657 // 6級藍色搜魂石 
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90360 //下一顆

        shift_sp 1
        push_const 100
        func_call 55        //  func[Rand]
        shift_sp -1
        push_const 30
        less
        branch_false L90359 //暴掉        

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4658 // 7級藍色搜魂石
        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 4657
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1 
        jump L90315            
L90359
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4664 // 破碎藍色搜魂石
        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 4657
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1 
        jump L90315         
L90360
        //危險區域
        // 8級藍色搜魂石
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4658 // 7級藍色搜魂石 
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90362 //下一顆

        shift_sp 1
        push_const 100
        func_call 55        //  func[Rand]
        shift_sp -1
        push_const 30
        less
        branch_false L90361 //暴掉        

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4659 // 8級藍色搜魂石
        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 4658
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1 
        jump L90315            
L90361
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4664 // 破碎藍色搜魂石
        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 4658
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1 
        jump L90315         
L90362
        //危險區域
        // 9級藍色搜魂石
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4659 // 8級藍色搜魂石 
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90364 //下一顆

        shift_sp 1
        push_const 100
        func_call 55        //  func[Rand]
        shift_sp -1
        push_const 30
        less
        branch_false L90363 //暴掉        

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4660 // 9級藍色搜魂石
        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 4659
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1 
        jump L90315            
L90363
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4664 // 破碎藍色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1        
        push_event        //  c1
        push_const 277
        add
        fetch_i
        push_const 4659
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1 
        jump L90315         
L90364
        //危險區域
        // 10級藍色搜魂石
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4660 // 9級藍色搜魂石 
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90366 //下一顆

        shift_sp 1
        push_const 100
        func_call 55        //  func[Rand]
        shift_sp -1
        push_const 30
        less
        branch_false L90365 //暴掉        

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4661 // 10級藍色搜魂石
        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 4660
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1 
        jump L90315            
L90365
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4664 // 破碎藍色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1        
        push_event        //  c1
        push_const 277
        add
        fetch_i
        push_const 4660
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1 
        jump L90315         
L90366
L90315
        call_super
handler_end
class_end


class bloody_mystic : soul_party_private_casting_curse
class_end
SoaPy is offline  
Old 03.07.2005, 23:10   #2
drugolo
Архивный участник
 
Join Date: Jun 2005
Posts: 93
Default

hi, here my implementation on the NPC.
This version will give you only one crystal for type at the price of 100k sp.

(p.s. don't watch comments of code, i have directly edited the code by SoaPy)

Code:
 handler 32     // MENU_SELECTED
    variable_begin
        "ask"
        "reply"
        "talker"
        "myself"
        "_choiceN"
        "_code"
        "_from_choice"
    variable_end

 //here we starts, drake implementation.
//reply are 600=red  700=green  and  800=blue
L830000    
    push_event
    push_const 104     //reply
    add
    fetch_i
    push_const 600
    equal
    branch_false L830002
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i               //??sp
    push_const 248
    add
    fetch_i
    push_const 100000     //?????200000 sp
    greater_equal
    push_reg_sp
    fetch_i
    branch_false L860000
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i             //Level
    push_const 888         
    add
    fetch_i
    push_const 40         //??40
    greater_equal
    push_reg_sp
    fetch_i
    branch_false L860000     //?40???L830001


    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4629         //??4629 Lv0
    func_call 81         // func[OwnItemCount]
    shift_sp -2
    push_const 1         //??1
    greater_equal
    branch_false L830001		//????L830003
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4630         //??4629 Lv0
    func_call 81         // func[OwnItemCount]
    shift_sp -2
    push_const 1         //??1
    greater_equal
    branch_false L830001		//????L830003
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4631         //??4629 Lv0
    func_call 81         // func[OwnItemCount]
    shift_sp -2
    push_const 1         //??1
    greater_equal
    branch_false L830001		//????L830003
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4632         //??4629 Lv0
    func_call 81         // func[OwnItemCount]
    shift_sp -2
    push_const 1         //??1
    greater_equal
    branch_false L830001		//????L830003
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4633         //??4629 Lv0
    func_call 81         // func[OwnItemCount]
    shift_sp -2
    push_const 1         //??1
    greater_equal
    branch_false L830001		//????L830003
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4634         //??4629 Lv0
    func_call 81         // func[OwnItemCount]
    shift_sp -2
    push_const 1         //??1
    greater_equal
    branch_false L830001		//????L830003
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4635         //??4629 Lv0
    func_call 81         // func[OwnItemCount]
    shift_sp -2
    push_const 1         //??1
    greater_equal
    branch_false L830001		//????L830003
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4636         //??4629 Lv0
    func_call 81         // func[OwnItemCount]
    shift_sp -2
    push_const 1         //??1
    greater_equal
    branch_false L830001		//????L830003
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4637         //??4629 Lv0
    func_call 81         // func[OwnItemCount]
    shift_sp -2
    push_const 1         //??1
    greater_equal
    branch_false L830001		//????L830003
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4638         //??4629 Lv0
    func_call 81         // func[OwnItemCount]
    shift_sp -2
    push_const 1         //??1
    greater_equal
    branch_false L830001		//????L830003
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4639         //??4629 Lv0
    func_call 81         // func[OwnItemCount]
    shift_sp -2
    push_const 1         //??1
    greater_equal
    branch_false L830001		//????L830003
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4629         //??4639 ??1
    push_const 1
    func_call 77         // func[GiveItem1]
    shift_sp -3
    shift_sp -1
    jump L830004	



L830002
L840000
    push_event
    push_const 104     //reply
    add
    fetch_i
    push_const 700
    equal
    branch_false L840002
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i               //??sp
    push_const 248
    add
    fetch_i
    push_const 100000     //?????200000 sp
    greater_equal
    push_reg_sp
    fetch_i
    branch_false L860000
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i             //Level
    push_const 888         
    add
    fetch_i
    push_const 40         //??40
    greater_equal
    push_reg_sp
    fetch_i
    branch_false L860000     //?40???L830001

    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4640         //??4629 Lv0
    func_call 81         // func[OwnItemCount]
    shift_sp -2
    push_const 1         //??1
    greater_equal
    branch_false L830001		//????L830003
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4641         //??4629 Lv0
    func_call 81         // func[OwnItemCount]
    shift_sp -2
    push_const 1         //??1
    greater_equal
    branch_false L830001		//????L830003
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4642         //??4629 Lv0
    func_call 81         // func[OwnItemCount]
    shift_sp -2
    push_const 1         //??1
    greater_equal
    branch_false L830001		//????L830003
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4643         //??4629 Lv0
    func_call 81         // func[OwnItemCount]
    shift_sp -2
    push_const 1         //??1
    greater_equal
    branch_false L830001		//????L830003
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4644         //??4629 Lv0
    func_call 81         // func[OwnItemCount]
    shift_sp -2
    push_const 1         //??1
    greater_equal
    branch_false L830001		//????L830003
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4645         //??4629 Lv0
    func_call 81         // func[OwnItemCount]
    shift_sp -2
    push_const 1         //??1
    greater_equal
    branch_false L830001		//????L830003
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4646         //??4629 Lv0
    func_call 81         // func[OwnItemCount]
    shift_sp -2
    push_const 1         //??1
    greater_equal
    branch_false L830001		//????L830003
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4647         //??4629 Lv0
    func_call 81         // func[OwnItemCount]
    shift_sp -2
    push_const 1         //??1
    greater_equal
    branch_false L830001		//????L830003
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4648         //??4629 Lv0
    func_call 81         // func[OwnItemCount]
    shift_sp -2
    push_const 1         //??1
    greater_equal
    branch_false L830001		//????L830003
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4649         //??4629 Lv0
    func_call 81         // func[OwnItemCount]
    shift_sp -2
    push_const 1         //??1
    greater_equal
    branch_false L830001		//????L830003
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4650         //??4629 Lv0
    func_call 81         // func[OwnItemCount]
    shift_sp -2
    push_const 1         //??1
    greater_equal
    branch_false L830001		//????L830003
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4640         //??4639 ??1
    push_const 1
    func_call 77         // func[GiveItem1]
    shift_sp -3
    shift_sp -1
    jump L830004	








L840002
L850000
    push_event
    push_const 104     //reply
    add
    fetch_i
    push_const 800
    equal
    branch_false L860002
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i               //??sp
    push_const 248
    add
    fetch_i
    push_const 100000     //?????200000 sp
    greater_equal
    push_reg_sp
    fetch_i
    branch_false L860000
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i             //Level
    push_const 888         
    add
    fetch_i
    push_const 40         //??40
    greater_equal
    push_reg_sp
    fetch_i
    branch_false L860000     //?40???L830001


    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4640         //??4651 Lv0
    func_call 81         // func[OwnItemCount]
    shift_sp -2
    push_const 1         //??1
    greater_equal
    branch_false L830001		//????L830003
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4641         //??4652 Lv0
    func_call 81         // func[OwnItemCount]
    shift_sp -2
    push_const 1         //??1
    greater_equal
    branch_false L830001		//????L830003
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4642         //??4653 Lv0
    func_call 81         // func[OwnItemCount]
    shift_sp -2
    push_const 1         //??1
    greater_equal
    branch_false L830001		//????L830003
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4643         //??4654 Lv0
    func_call 81         // func[OwnItemCount]
    shift_sp -2
    push_const 1         //??1
    greater_equal
    branch_false L830001		//????L830003
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4644         //??4655 Lv0
    func_call 81         // func[OwnItemCount]
    shift_sp -2
    push_const 1         //??1
    greater_equal
    branch_false L830001		//????L830003
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4645         //??4656 Lv0
    func_call 81         // func[OwnItemCount]
    shift_sp -2
    push_const 1         //??1
    greater_equal
    branch_false L830001		//????L830003
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4646         //??4657 Lv0
    func_call 81         // func[OwnItemCount]
    shift_sp -2
    push_const 1         //??1
    greater_equal
    branch_false L830001		//????L830003
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4647         //??4658 Lv0
    func_call 81         // func[OwnItemCount]
    shift_sp -2
    push_const 1         //??1
    greater_equal
    branch_false L830001		//????L830003
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4648         //??4659 Lv0
    func_call 81         // func[OwnItemCount]
    shift_sp -2
    push_const 1         //??1
    greater_equal
    branch_false L830001		//????L830003
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4649         //??4660 Lv0
    func_call 81         // func[OwnItemCount]
    shift_sp -2
    push_const 1         //??1
    greater_equal
    branch_false L830001		//????L830003
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4650         //??4661 Lv0
    func_call 81         // func[OwnItemCount]
    shift_sp -2
    push_const 1         //??1
    greater_equal
    branch_false L830001		//????L830003
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
    push_const 4640         //??4651 ??1
    push_const 1
    func_call 77         // func[GiveItem1]
    shift_sp -3
    shift_sp -1
L830004	//from here you get the reduction of SP and the message
    shift_sp 1
    push_event         //talker
    push_const 32
    add
    fetch_i
    push_const 1
    push_const 100000     //?sp
    negate
    func_call 171         // func[IncrementParam]
    shift_sp -3
    shift_sp -1
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
S830001.     "stone_taken.htm"         //????
    push_string S830001
    func_call 43
    shift_sp -2
    shift_sp -1
    jump L860002

L830001
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
S830000.     "stone_already.htm"         //????
    push_string S830000
    func_call 43
    shift_sp -2
    shift_sp -1
    jump L860002


L860000
    shift_sp 1
    push_event
    push_const 32
    add
    fetch_i
S860000.     "stone_req.htm"         //????
    push_string S860000
    func_call 43
    shift_sp -2
    shift_sp -1
L860002

handler_end

EDIT: Ops, some errors inside: change greater_equal with "less" where there are the checks on the items in inventory. Alternatively change branch_false to branch_true...
Error also in the third block (blue crystals), i have inserted the ID inside the comments instead of the code, lol. (this happens when you are tired... better go to sleep, cya!)
drugolo 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 19:15.