Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Lineage 2 Server Modifications ONLY! (https://postpacific.mmorpg-game.online/forumdisplay.php?f=28)
-   -   [Sharing] Npc buffer ai (https://postpacific.mmorpg-game.online/showthread.php?t=1848)

Sauron 19.09.2005 03:15

[Sharing] Npc buffer ai
 
This is for the newbie guide, u need to insert this in his ai.
i used ask 2 reply 2 to start the check/buff. u may change to whatever u want :P

If someone know how to do this in a shoter way feel free to share it xD.

little explanation:
check level and category > start timer.
timer fired > load talker id from i_ai2 (since talker doenst exist in that handler) > counter increase each time skill is casted and timer is set again making a loop until the last skills is casted.

there is a 1.5seg delay between skills. It could have bugs, i only tested fighters buff b4 i changed all the L70xx stuff

Code:



handler 13        //  CREATED
        variable_begin
                "myself"
                "_choiceN"
                "_code"
                "_from_choice"
        variable_end

        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai0
        push_const 2336
        add
        push_reg_sp
        fetch_i
        push_const 0
        assign
        shift_sp -1
handler_end

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



        push_event        //  ask
        push_const 100
        add
        fetch_i
        push_const 2
        equal
        push_reg_sp
        fetch_i
        branch_false L7000
        push_event        //  reply
        push_const 104
        add
        fetch_i
        push_const 2
        equal
        and
        push_reg_sp
        fetch_i
        branch_false L7000
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai0
        push_const 2336
        add
        fetch_i
        push_const 0
        equal
        and
L7000
        branch_false L7002
L7001
        shift_sp 1
        push_const 0
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  occupation
        push_const 152
        add
        fetch_i
        func_call 143        //  func[IsInCategory]
        shift_sp -2
        branch_false L7004
L7003
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai2
        push_const 2344
        add
        push_reg_sp
        fetch_i
        push_event        //  talker
        push_const 32
        add
        fetch_i
        assign
        shift_sp -1
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 16
        greater_equal
        push_reg_sp
        fetch_i
        branch_false L7005
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 19
        less_equal
        and
L7005
        branch_false L7007
L7006
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 1
        assign
        shift_sp -1
        shift_sp 1
        push_const 1
        push_const 1
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7008
L7007
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 15
        greater_equal
        push_reg_sp
        fetch_i
        branch_false L7009
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 19
        less_equal
        and
L7009
        branch_false L7011
L7010
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 1
        assign
        shift_sp -1
        shift_sp 1
        push_const 2
        push_const 1
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7012
L7011
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 14
        greater_equal
        push_reg_sp
        fetch_i
        branch_false L7013
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 20
        less_equal
        and
L7013
        branch_false L7015
L7014
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 1
        assign
        shift_sp -1
        shift_sp 1
        push_const 3
        push_const 1
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7016
L7015
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 13
        greater_equal
        push_reg_sp
        fetch_i
        branch_false L7017
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 21
        less_equal
        and
L7017
        branch_false L7019
L7018
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 1
        assign
        shift_sp -1
        shift_sp 1
        push_const 4
        push_const 1
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7020
L7019
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 12
        greater_equal
        push_reg_sp
        fetch_i
        branch_false L7021
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 22
        less_equal
        and
L7021
        branch_false L7023
L7022
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 1
        assign
        shift_sp -1
        shift_sp 1
        push_const 5
        push_const 1
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7024
L7023
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 11
        greater_equal
        push_reg_sp
        fetch_i
        branch_false L7025
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 23
        less_equal
        and
L7025
        branch_false L7027
L7026
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 1
        assign
        shift_sp -1
        shift_sp 1
        push_const 6
        push_const 1
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7028
L7027
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 10
        greater_equal
        push_reg_sp
        fetch_i
        branch_false L7029
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 24
        less_equal
        and
L7029
        branch_false L7031
L7030
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 1
        assign
        shift_sp -1
        shift_sp 1
        push_const 7
        push_const 1
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7032
L7031
        shift_sp 1
        push_event        //  talker
        push_const 32
        add
        fetch_i
S30000.        "nobuff.htm"
        push_string S30000
        func_call 43        //  func[ShowPage]
        shift_sp -2
        shift_sp -1
L7032
L7028
L7024
L7020
L7016
L7012
L7008
        jump L7033
L7004
        shift_sp 1
        push_const 1
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  occupation
        push_const 152
        add
        fetch_i
        func_call 143        //  func[IsInCategory]
        shift_sp -2
        branch_false L7035
L7034
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai2
        push_const 2344
        add
        push_reg_sp
        fetch_i
        push_event        //  talker
        push_const 32
        add
        fetch_i
        assign
        shift_sp -1
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 16
        greater_equal
        push_reg_sp
        fetch_i
        branch_false L7036
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 19
        less_equal
        and
L7036
        branch_false L7038
L7037
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 1
        assign
        shift_sp -1
        shift_sp 1
        push_const 10
        push_const 1
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7039
L7038
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 15
        greater_equal
        push_reg_sp
        fetch_i
        branch_false L7040
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 19
        less_equal
        and
L7040
        branch_false L7042
L7041
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 1
        assign
        shift_sp -1
        shift_sp 1
        push_const 20
        push_const 1
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7043
L7042
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 14
        greater_equal
        push_reg_sp
        fetch_i
        branch_false L7044
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 20
        less_equal
        and
L7044
        branch_false L7046
L7045
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 1
        assign
        shift_sp -1
        shift_sp 1
        push_const 30
        push_const 1
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7047
L7046
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 13
        greater_equal
        push_reg_sp
        fetch_i
        branch_false L7048
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 21
        less_equal
        and
L7048
        branch_false L7050
L7049
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 1
        assign
        shift_sp -1
        shift_sp 1
        push_const 40
        push_const 1
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7051
L7050
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 12
        greater_equal
        push_reg_sp
        fetch_i
        branch_false L7052
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 22
        less_equal
        and
L7052
        branch_false L7054
L7053
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 1
        assign
        shift_sp -1
        shift_sp 1
        push_const 50
        push_const 1
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7055
L7054
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 11
        greater_equal
        push_reg_sp
        fetch_i
        branch_false L7056
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 23
        less_equal
        and
L7056
        branch_false L7058
L7057
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 1
        assign
        shift_sp -1
        shift_sp 1
        push_const 60
        push_const 1
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7059
L7058
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 10
        greater_equal
        push_reg_sp
        fetch_i
        branch_false L7060
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 24
        less_equal
        and
L7060
        branch_false L7062
L7061
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 1
        assign
        shift_sp -1
        shift_sp 1
        push_const 70
        push_const 1
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7063
L7062
        shift_sp 1
        push_event        //  talker
        push_const 32
        add
        fetch_i
S30001.        "nobuff.htm"
        push_string S30001
        func_call 43        //  func[ShowPage]
        shift_sp -2
        shift_sp -1
L7063
L7059
L7055
L7051
L7047
L7043
L7039
L7035
L7033
        jump L7064
L7002
        shift_sp 1
        push_event        //  talker
        push_const 32
        add
        fetch_i
S30002.        "wait.htm"
        push_string S30002
        func_call 43        //  func[ShowPage]
        shift_sp -2
        shift_sp -1
L7064
handler_end

handler 12        //  TIMER_FIRED_EX
        variable_begin
                "timer_id"
                "talker"
                "creature"
                "myself"
                "_choiceN"
                "_code"
                "_from_choice"
        variable_end

        push_event        //  creature
        push_const 68
        add
        push_reg_sp
        fetch_i
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai2
        push_const 2344
        add
        fetch_i
        assign
        shift_sp -1       
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai0
        push_const 2336
        add
        push_reg_sp
        fetch_i
        push_const 1
        assign
        shift_sp -1
        push_event        //  timer_id
        push_const 176
        add
        fetch_i
        push_const 1
        equal
        branch_false L7066
L7065
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 1
        equal
        branch_false L7068
L7067
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1106433        //        [s_wind_walk_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 2
        assign
        shift_sp -1
        shift_sp 1
        push_const 1
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7069
L7068
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 2
        equal
        branch_false L7071
L7070
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1106689        //        [s_shield_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 3
        assign
        shift_sp -1
        shift_sp 1
        push_const 1
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7072
L7071
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 3
        equal
        branch_false L7074
L7073
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1106945        //        [s_bless_the_body_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 4
        assign
        shift_sp -1
        shift_sp 1
        push_const 1
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7075
L7074
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 4
        equal
        branch_false L7077
L7076
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1107201        //        [s_vampiric_rage_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 5
        assign
        shift_sp -1
        shift_sp 1
        push_const 1
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7078
L7077
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 5
        equal
        branch_false L7080
L7079
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1107457        //        [s_regeneration_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 6
        assign
        shift_sp -1
        shift_sp 1
        push_const 1
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7081
L7080
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 6
        equal
        branch_false L7083
L7082
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1107713        //        [s_haste_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 7
        assign
        shift_sp -1
        shift_sp 1
        push_const 1
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7084
L7083
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 7
        equal
        branch_false L7086
L7085
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1110529        //        [s_life_cubic_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
L7086
L7084
L7081
L7078
L7075
L7072
L7069
L7066
        push_event        //  timer_id
        push_const 176
        add
        fetch_i
        push_const 2
        equal
        branch_false L7088
L7087
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 1
        equal
        branch_false L7090
L7089
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1106433        //        [s_wind_walk_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 2
        assign
        shift_sp -1
        shift_sp 1
        push_const 2
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7091
L7090
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 2
        equal
        branch_false L7093
L7092
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1106689        //        [s_shield_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 3
        assign
        shift_sp -1
        shift_sp 1
        push_const 2
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7094
L7093
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 3
        equal
        branch_false L7096
L7095
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1106945        //        [s_bless_the_body_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 4
        assign
        shift_sp -1
        shift_sp 1
        push_const 2
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7097
L7096
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 4
        equal
        branch_false L7099
L7098
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1107201        //        [s_vampiric_rage_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 5
        assign
        shift_sp -1
        shift_sp 1
        push_const 2
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L70100
L7099
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 5
        equal
        branch_false L7102
L7101
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1107457        //        [s_regeneration_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 6
        assign
        shift_sp -1
        shift_sp 1
        push_const 2
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7103
L7102
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 6
        equal
        branch_false L7105
L7104
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1107713        //        [s_haste_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
L7105
L7103
L7100
L797
L794
L791
L788
        push_event        //  timer_id
        push_const 176
        add
        fetch_i
        push_const 3
        equal
        branch_false L7107
L7106
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 1
        equal
        branch_false L7109
L7108
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1106433        //        [s_wind_walk_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 2
        assign
        shift_sp -1
        shift_sp 1
        push_const 3
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7110
L7109
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 2
        equal
        branch_false L7112
L7111
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1106689        //        [s_shield_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 3
        assign
        shift_sp -1
        shift_sp 1
        push_const 3
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7113
L7112
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 3
        equal
        branch_false L7115
L7114
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1106945        //        [s_bless_the_body_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 4
        assign
        shift_sp -1
        shift_sp 1
        push_const 3
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7116
L7115
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 4
        equal
        branch_false L7118
L7117
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1107201        //        [s_vampiric_rage_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 5
        assign
        shift_sp -1
        shift_sp 1
        push_const 3
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7119
L7118
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 5
        equal
        branch_false L7121
L7120
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1107457        //        [s_regeneration_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
L7121
L7119
L7116
L7113
L7110
L7107
        push_event        //  timer_id
        push_const 176
        add
        fetch_i
        push_const 4
        equal
        branch_false L7123
L7122
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 1
        equal
        branch_false L7125
L7124
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1106433        //        [s_wind_walk_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 2
        assign
        shift_sp -1
        shift_sp 1
        push_const 4
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7126
L7125
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 2
        equal
        branch_false L7128
L7127
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1106689        //        [s_shield_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 3
        assign
        shift_sp -1
        shift_sp 1
        push_const 4
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7129
L7128
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 3
        equal
        branch_false L7131
L7130
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1106945        //        [s_bless_the_body_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 4
        assign
        shift_sp -1
        shift_sp 1
        push_const 4
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7132
L7131
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 4
        equal
        branch_false L7134
L7133
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1107201        //        [s_vampiric_rage_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
L7134
L7132
L7129
L7126
L7123
        push_event        //  timer_id
        push_const 176
        add
        fetch_i
        push_const 5
        equal
        branch_false L7136
L7135
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 1
        equal
        branch_false L7138
L7137
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1106433        //        [s_wind_walk_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 2
        assign
        shift_sp -1
        shift_sp 1
        push_const 5
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7139
L7138
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 2
        equal
        branch_false L7141
L7140
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1106689        //        [s_shield_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 3
        assign
        shift_sp -1
        shift_sp 1
        push_const 5
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7142
L7141
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 3
        equal
        branch_false L7144
L7143
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1106945        //        [s_bless_the_body_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
L7144
L7142
L7139
L7136
        push_event        //  timer_id
        push_const 176
        add
        fetch_i
        push_const 6
        equal
        branch_false L7146
L7145
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 1
        equal
        branch_false L7148
L7147
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1106433        //        [s_wind_walk_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 2
        assign
        shift_sp -1
        shift_sp 1
        push_const 6
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7149
L7148
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 2
        equal
        branch_false L7151
L7150
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1106689        //        [s_shield_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
L7151
L7149
L7146
        push_event        //  timer_id
        push_const 176
        add
        fetch_i
        push_const 7
        equal
        branch_false L7153
L7152
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1106433        //        [s_wind_walk_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
L7153
        push_event        //  timer_id
        push_const 176
        add
        fetch_i
        push_const 10
        equal
        branch_false L7155
L7154
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 1
        equal
        branch_false L7157
L7156
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1106433        //        [s_wind_walk_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 2
        assign
        shift_sp -1
        shift_sp 1
        push_const 10
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7158
L7157
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 2
        equal
        branch_false L7160
L7159
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1106689        //        [s_shield_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 3
        assign
        shift_sp -1
        shift_sp 1
        push_const 10
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7161
L7160
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 3
        equal
        branch_false L7163
L7162
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1107969        //        [s_bless_the_soul_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 4
        assign
        shift_sp -1
        shift_sp 1
        push_const 10
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7164
L7163
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 4
        equal
        branch_false L7166
L7165
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1108225        //        [s_acumen_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 5
        assign
        shift_sp -1
        shift_sp 1
        push_const 10
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7167
L7166
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 5
        equal
        branch_false L7169
L7168
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1108481        //        [s_concentration_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 6
        assign
        shift_sp -1
        shift_sp 1
        push_const 10
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7170
L7169
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 6
        equal
        branch_false L7172
L7171
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1108737        //        [s_empower_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 7
        assign
        shift_sp -1
        shift_sp 1
        push_const 10
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7173
L7172
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 7
        equal
        branch_false L7175
L7174
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1110529        //        [s_life_cubic_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
L7175
L7173
L7170
L7167
L7164
L7161
L7158
L7155
        push_event        //  timer_id
        push_const 176
        add
        fetch_i
        push_const 20
        equal
        branch_false L7177
L7176
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 1
        equal
        branch_false L7179
L7178
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1106433        //        [s_wind_walk_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 2
        assign
        shift_sp -1
        shift_sp 1
        push_const 20
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7180
L7179
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 2
        equal
        branch_false L7182
L7181
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1106689        //        [s_shield_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 3
        assign
        shift_sp -1
        shift_sp 1
        push_const 20
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7183
L7182
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 3
        equal
        branch_false L7185
L7184
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1107969        //        [s_bless_the_soul_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 4
        assign
        shift_sp -1
        shift_sp 1
        push_const 20
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7186
L7185
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 4
        equal
        branch_false L7188
L7187
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1108225        //        [s_acumen_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 5
        assign
        shift_sp -1
        shift_sp 1
        push_const 20
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7189
L7188
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 5
        equal
        branch_false L7191
L7190
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1108481        //        [s_concentration_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 6
        assign
        shift_sp -1
        shift_sp 1
        push_const 20
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7192
L7191
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 6
        equal
        branch_false L7194
L7193
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1108737        //        [s_empower_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
L7194
L7192
L7189
L7186
L7183
L7180
L7177
        push_event        //  timer_id
        push_const 176
        add
        fetch_i
        push_const 30
        equal
        branch_false L7196
L7195
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 1
        equal
        branch_false L7198
L7197
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1106433        //        [s_wind_walk_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 2
        assign
        shift_sp -1
        shift_sp 1
        push_const 30
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7199
L7198
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 2
        equal
        branch_false L7201
L7200
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1106689        //        [s_shield_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 3
        assign
        shift_sp -1
        shift_sp 1
        push_const 30
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7202
L7201
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 3
        equal
        branch_false L7204
L7203
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1107969        //        [s_bless_the_soul_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 4
        assign
        shift_sp -1
        shift_sp 1
        push_const 30
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7205
L7204
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 4
        equal
        branch_false L7207
L7206
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1108225        //        [s_acumen_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 5
        assign
        shift_sp -1
        shift_sp 1
        push_const 30
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7208
L7207
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 5
        equal
        branch_false L7210
L7209
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1108481        //        [s_concentration_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
L7210
L7208
L7205
L7202
L7199
L7196
        push_event        //  timer_id
        push_const 176
        add
        fetch_i
        push_const 40
        equal
        branch_false L7212
L7211
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 1
        equal
        branch_false L7214
L7213
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1106433        //        [s_wind_walk_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 2
        assign
        shift_sp -1
        shift_sp 1
        push_const 40
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7215
L7214
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 2
        equal
        branch_false L7217
L7216
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1106689        //        [s_shield_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 3
        assign
        shift_sp -1
        shift_sp 1
        push_const 40
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7218
L7217
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 3
        equal
        branch_false L7220
L7219
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1107969        //        [s_bless_the_soul_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 4
        assign
        shift_sp -1
        shift_sp 1
        push_const 40
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7221
L7220
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 4
        equal
        branch_false L7223
L7222
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1108225        //        [s_acumen_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
L7223
L7221
L7218
L7215
L7212
        push_event        //  timer_id
        push_const 176
        add
        fetch_i
        push_const 50
        equal
        branch_false L7225
L7224
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 1
        equal
        branch_false L7227
L7226
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1106433        //        [s_wind_walk_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 2
        assign
        shift_sp -1
        shift_sp 1
        push_const 50
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7228
L7227
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 2
        equal
        branch_false L7230
L7229
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1106689        //        [s_shield_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 3
        assign
        shift_sp -1
        shift_sp 1
        push_const 50
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7231
L7230
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 3
        equal
        branch_false L7233
L7232
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1107969        //        [s_bless_the_soul_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
L7233
L7231
L7228
L7225
        push_event        //  timer_id
        push_const 176
        add
        fetch_i
        push_const 60
        equal
        branch_false L7235
L7234
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 1
        equal
        branch_false L7237
L7236
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1106433        //        [s_wind_walk_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 2
        assign
        shift_sp -1
        shift_sp 1
        push_const 60
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7238
L7237
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 3
        equal
        branch_false L7240
L7239
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1106689        //        [s_shield_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
L7240
L7238
L7235
        push_event        //  timer_id
        push_const 176
        add
        fetch_i
        push_const 70
        equal
        branch_false L7242
L7241
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1106433        //        [s_wind_walk_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
L7242
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai0
        push_const 2336
        add
        push_reg_sp
        fetch_i
        push_const 0
        assign
        shift_sp -1
handler_end

class_end


SoaPy 19.09.2005 03:19

good work sauron ;)

pd: add a [Sharing] to the title ^^

flakka 19.09.2005 06:02

Awesome! :D

deathor 19.09.2005 08:20

nice work dude :)

tavisf 19.09.2005 09:51

Tnx for sharing man

Metalmurphy 19.09.2005 10:22

Again awsome work Sauron ;) I already did my buffers selling buffpotions lol but now i can make it work like the OFF.

Alarielle 19.09.2005 12:06

GOOD JOB Sauron ;)

deathor 19.09.2005 14:02

i put in ai what i need now to see the npc ??? and share for that?

Sauron 19.09.2005 14:32

npc already exist hxxp://www.lineage2.com/images/news/chronicle3_16_clip_image001.jpg

i forgot to say there are 2 htms, nobuff.htm is for those players without the level and wait.htm is use when npc is casting a skill lto someone else.

Edit flakka: Sorry, just noticed the L2 link to official. (Just replace xx with tt)

deathor 19.09.2005 14:49

can u share that htmls? i think i dont have :D

toolpunk 19.09.2005 15:52

woot! :D
really nice work...
hmm however donatin is kinda useless. u got 2 much cash XD

CubAfull 19.09.2005 21:02

I have problem here O.o

is a code from another post ?

Thank for you share.

rodier 20.09.2005 02:03

hehe can u make newbie tutorial on more easy (not complex) stuff?
like simply npc that cast 1 buff - no matter on class..
simply player click on html link and cast buff..
I see how it work on coliseum buffer.. but dont understand where to start clone the code (where code start and end.. code about casting another buff..) and how to find what numbers to write to a href link in html :(

Sauron 20.09.2005 02:26

i found some minor errors in my code, so far this part is working. Mage part is missing.

Dont forget to edit htms like guide_human_cnacelot001.htm and add "<a action="bypass -h menu_select?ask=2&reply=2">buff me :P</a>" etc..

so here is the fighter part working injected in the newbie_guide ai.

Code:

class newbie_guide : citizen
parameter_define_begin
        string fnHi ""
        string fnHighLevel ""
        string fnRaceMisMatch ""
        string fnGuideF05 ""
        string fnGuideF10 ""
        string fnGuideF15 ""
        string fnGuideF20 ""
        string fnGuideM07 ""
        string fnGuideM14 ""
        string fnGuideM20 ""
parameter_define_end

handler 3        //  TALKED
        variable_begin
                "talker"
                "myself"
                "_choiceN"
                "_code"
                "_from_choice"
        variable_end

        shift_sp 1
        push_event        //  talker
        push_const 32
        add
        fetch_i
        push_parameter fnHi
        func_call 43        //  func[ShowPage]
        shift_sp -2
        shift_sp -1
handler_end

handler 13        //  CREATED
        variable_begin
                "myself"
                "_choiceN"
                "_code"
                "_from_choice"
        variable_end

        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai0
        push_const 2336
        add
        push_reg_sp
        fetch_i
        push_const 0
        assign
        shift_sp -1
handler_end

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

        push_event        //  ask
        push_const 100
        add
        fetch_i
        push_const 7
        negate
        equal
        push_reg_sp
        fetch_i
        branch_false L857
        push_event        //  reply
        push_const 104
        add
        fetch_i
        push_const 1
        equal
        and
L857
        branch_false L859
L858
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  race
        push_const 148
        add
        fetch_i
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  sm
        push_const 2400
        add
        fetch_i        //  race
        push_const 148
        add
        fetch_i
        not_equal
        branch_false L861
L860
        shift_sp 1
        push_event        //  talker
        push_const 32
        add
        fetch_i
        push_parameter fnRaceMisMatch
        func_call 43        //  func[ShowPage]
        shift_sp -2
        shift_sp -1
        jump L862
L861
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 20
        greater
        push_reg_sp
        fetch_i
        branch_true L863
        shift_sp 1
        push_const 4
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  occupation
        push_const 152
        add
        fetch_i
        func_call 143        //  func[IsInCategory]
        shift_sp -2
        push_const 0
        equal
        or
L863
        branch_false L865
L864
        shift_sp 1
        push_event        //  talker
        push_const 32
        add
        fetch_i
        push_parameter fnHighLevel
        func_call 43        //  func[ShowPage]
        shift_sp -2
        shift_sp -1
        jump L866
L865
        shift_sp 1
        push_const 0
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  occupation
        push_const 152
        add
        fetch_i
        func_call 143        //  func[IsInCategory]
        shift_sp -2
        branch_false L868
L867
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 5
        less_equal
        branch_false L870
L869
        shift_sp 1
        push_event        //  talker
        push_const 32
        add
        fetch_i
        push_parameter fnGuideF05
        func_call 43        //  func[ShowPage]
        shift_sp -2
        shift_sp -1
        jump L871
L870
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 10
        less_equal
        branch_false L873
L872
        shift_sp 1
        push_event        //  talker
        push_const 32
        add
        fetch_i
        push_parameter fnGuideF10
        func_call 43        //  func[ShowPage]
        shift_sp -2
        shift_sp -1
        jump L874
L873
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 15
        less_equal
        branch_false L876
L875
        shift_sp 1
        push_event        //  talker
        push_const 32
        add
        fetch_i
        push_parameter fnGuideF15
        func_call 43        //  func[ShowPage]
        shift_sp -2
        shift_sp -1
        jump L877
L876
        shift_sp 1
        push_event        //  talker
        push_const 32
        add
        fetch_i
        push_parameter fnGuideF20
        func_call 43        //  func[ShowPage]
        shift_sp -2
        shift_sp -1
L877
L874
L871
        jump L878
L868
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 7
        less_equal
        branch_false L880
L879
        shift_sp 1
        push_event        //  talker
        push_const 32
        add
        fetch_i
        push_parameter fnGuideM07
        func_call 43        //  func[ShowPage]
        shift_sp -2
        shift_sp -1
        jump L881
L880
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 14
        less_equal
        branch_false L883
L882
        shift_sp 1
        push_event        //  talker
        push_const 32
        add
        fetch_i
        push_parameter fnGuideM14
        func_call 43        //  func[ShowPage]
        shift_sp -2
        shift_sp -1
        jump L884
L883
        shift_sp 1
        push_event        //  talker
        push_const 32
        add
        fetch_i
        push_parameter fnGuideM20
        func_call 43        //  func[ShowPage]
        shift_sp -2
        shift_sp -1
L859
        push_event        //  ask
        push_const 100
        add
        fetch_i
        push_const 2
        equal
        push_reg_sp
        fetch_i
        branch_false L7000
        push_event        //  reply
        push_const 104
        add
        fetch_i
        push_const 2
        equal
        and
        push_reg_sp
        fetch_i
        branch_false L7000
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai0
        push_const 2336
        add
        fetch_i
        push_const 0
        equal
        and
L7000
        branch_false L7002
L7001
        shift_sp 1
        push_const 0
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  occupation
        push_const 152
        add
        fetch_i
        func_call 143        //  func[IsInCategory]
        shift_sp -2
        branch_false L7004
L7003
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai2
        push_const 2344
        add
        push_reg_sp
        fetch_i
        push_event        //  talker
        push_const 32
        add
        fetch_i
        assign
        shift_sp -1
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 16
        greater_equal
        push_reg_sp
        fetch_i
        branch_false L7005
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 19
        less_equal
        and
L7005
        branch_false L7007
L7006
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 1
        assign
        shift_sp -1
        shift_sp 1
        push_const 1
        push_const 1
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7008
L7007
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 15
        greater_equal
        push_reg_sp
        fetch_i
        branch_false L7009
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 19
        less_equal
        and
L7009
        branch_false L7011
L7010
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 1
        assign
        shift_sp -1
        shift_sp 1
        push_const 2
        push_const 1
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7012
L7011
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 14
        greater_equal
        push_reg_sp
        fetch_i
        branch_false L7013
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 20
        less_equal
        and
L7013
        branch_false L7015
L7014
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 1
        assign
        shift_sp -1
        shift_sp 1
        push_const 3
        push_const 1
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7016
L7015
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 13
        greater_equal
        push_reg_sp
        fetch_i
        branch_false L7017
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 21
        less_equal
        and
L7017
        branch_false L7019
L7018
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 1
        assign
        shift_sp -1
        shift_sp 1
        push_const 4
        push_const 1
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7020
L7019
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 12
        greater_equal
        push_reg_sp
        fetch_i
        branch_false L7021
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 22
        less_equal
        and
L7021
        branch_false L7023
L7022
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 1
        assign
        shift_sp -1
        shift_sp 1
        push_const 5
        push_const 1
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7024
L7023
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 11
        greater_equal
        push_reg_sp
        fetch_i
        branch_false L7025
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 23
        less_equal
        and
L7025
        branch_false L7027
L7026
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 1
        assign
        shift_sp -1
        shift_sp 1
        push_const 6
        push_const 1
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7028
L7027
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 10
        greater_equal
        push_reg_sp
        fetch_i
        branch_false L7029
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 24
        less_equal
        and
L7029
        branch_false L7031
L7030
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 1
        assign
        shift_sp -1
        shift_sp 1
        push_const 7
        push_const 1
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7032
L7031
        shift_sp 1
        push_event        //  talker
        push_const 32
        add
        fetch_i
S30000.        "nobuff.htm"
        push_string S30000
        func_call 43        //  func[ShowPage]
        shift_sp -2
        shift_sp -1
L7032
L7028
L7024
L7020
L7016
L7012
L7008
        jump L7033
L7004
        shift_sp 1
        push_const 1
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  occupation
        push_const 152
        add
        fetch_i
        func_call 143        //  func[IsInCategory]
        shift_sp -2
        branch_false L7035
L7034
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai2
        push_const 2344
        add
        push_reg_sp
        fetch_i
        push_event        //  talker
        push_const 32
        add
        fetch_i
        assign
        shift_sp -1
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 16
        greater_equal
        push_reg_sp
        fetch_i
        branch_false L7036
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 19
        less_equal
        and
L7036
        branch_false L7038
L7037
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 1
        assign
        shift_sp -1
        shift_sp 1
        push_const 10
        push_const 1
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7039
L7038
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 15
        greater_equal
        push_reg_sp
        fetch_i
        branch_false L7040
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 19
        less_equal
        and
L7040
        branch_false L7042
L7041
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 1
        assign
        shift_sp -1
        shift_sp 1
        push_const 20
        push_const 1
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7043
L7042
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 14
        greater_equal
        push_reg_sp
        fetch_i
        branch_false L7044
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 20
        less_equal
        and
L7044
        branch_false L7046
L7045
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 1
        assign
        shift_sp -1
        shift_sp 1
        push_const 30
        push_const 1
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7047
L7046
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 13
        greater_equal
        push_reg_sp
        fetch_i
        branch_false L7048
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 21
        less_equal
        and
L7048
        branch_false L7050
L7049
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 1
        assign
        shift_sp -1
        shift_sp 1
        push_const 40
        push_const 1
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7051
L7050
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 12
        greater_equal
        push_reg_sp
        fetch_i
        branch_false L7052
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 22
        less_equal
        and
L7052
        branch_false L7054
L7053
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 1
        assign
        shift_sp -1
        shift_sp 1
        push_const 50
        push_const 1
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7055
L7054
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 11
        greater_equal
        push_reg_sp
        fetch_i
        branch_false L7056
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 23
        less_equal
        and
L7056
        branch_false L7058
L7057
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 1
        assign
        shift_sp -1
        shift_sp 1
        push_const 60
        push_const 1
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7059
L7058
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 10
        greater_equal
        push_reg_sp
        fetch_i
        branch_false L7060
        push_event        //  talker
        push_const 32
        add
        fetch_i        //  level
        push_const 888
        add
        fetch_i
        push_const 24
        less_equal
        and
L7060
        branch_false L7062
L7061
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 1
        assign
        shift_sp -1
        shift_sp 1
        push_const 70
        push_const 1
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7063
L7062
        shift_sp 1
        push_event        //  talker
        push_const 32
        add
        fetch_i
S30001.        "nobuff.htm"
        push_string S30001
        func_call 43        //  func[ShowPage]
        shift_sp -2
        shift_sp -1
L7063
L7059
L7055
L7051
L7047
L7043
L7039
L7035
L7033
        jump L7064
L7002
        shift_sp 1
        push_event        //  talker
        push_const 32
        add
        fetch_i
S30002.        "wait.htm"
        push_string S30002
        func_call 43        //  func[ShowPage]
        shift_sp -2
        shift_sp -1
L7064
L884
L881
L878
L866
L862
handler_end

handler 12        //  TIMER_FIRED_EX
        variable_begin
                "timer_id"
                "talker"
                "creature"
                "myself"
                "_choiceN"
                "_code"
                "_from_choice"
        variable_end

        push_event        //  creature
        push_const 68
        add
        push_reg_sp
        fetch_i
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai2
        push_const 2344
        add
        fetch_i
        assign
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai0
        push_const 2336
        add
        push_reg_sp
        fetch_i
        push_const 1
        assign
        shift_sp -1
        push_event        //  creature
        push_const 68
        add
        push_reg_sp
        fetch_i
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai2
        push_const 2344
        add
        fetch_i
        assign
        shift_sp -1       
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai0
        push_const 2336
        add
        push_reg_sp
        fetch_i
        push_const 1
        assign
        shift_sp -1
        push_event        //  timer_id
        push_const 176
        add
        fetch_i
        push_const 1
        equal
        branch_false L7066
L7065
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 1
        equal
        branch_false L7068
L7067
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1106433        //        [s_wind_walk_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 2
        assign
        shift_sp -1
        shift_sp 1
        push_const 1
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7069
L7068
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 2
        equal
        branch_false L7071
L7070
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1106689        //        [s_shield_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 3
        assign
        shift_sp -1
        shift_sp 1
        push_const 1
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7072
L7071
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 3
        equal
        branch_false L7074
L7073
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1106945        //        [s_bless_the_body_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 4
        assign
        shift_sp -1
        shift_sp 1
        push_const 1
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7075
L7074
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 4
        equal
        branch_false L7077
L7076
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1107201        //        [s_vampiric_rage_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 5
        assign
        shift_sp -1
        shift_sp 1
        push_const 1
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7078
L7077
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 5
        equal
        branch_false L7080
L7079
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1107457        //        [s_regeneration_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 6
        assign
        shift_sp -1
        shift_sp 1
        push_const 1
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7081
L7080
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 6
        equal
        branch_false L7083
L7082
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1107713        //        [s_haste_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 7
        assign
        shift_sp -1
        shift_sp 1
        push_const 1
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7084
L7083
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 7
        equal
        branch_false L7086
L7085
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1110529        //        [s_life_cubic_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
L7086
L7084
L7081
L7078
L7075
L7072
L7069
L7066
        push_event        //  timer_id
        push_const 176
        add
        fetch_i
        push_const 2
        equal
        branch_false L7088
L7087
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 1
        equal
        branch_false L7090
L7089
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1106433        //        [s_wind_walk_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 2
        assign
        shift_sp -1
        shift_sp 1
        push_const 2
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7091
L7090
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 2
        equal
        branch_false L7093
L7092
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1106689        //        [s_shield_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 3
        assign
        shift_sp -1
        shift_sp 1
        push_const 2
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7094
L7093
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 3
        equal
        branch_false L7096
L7095
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1106945        //        [s_bless_the_body_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 4
        assign
        shift_sp -1
        shift_sp 1
        push_const 2
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7097
L7096
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 4
        equal
        branch_false L7099
L7098
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1107201        //        [s_vampiric_rage_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 5
        assign
        shift_sp -1
        shift_sp 1
        push_const 2
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L70100
L7099
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 5
        equal
        branch_false L7102
L7101
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1107457        //        [s_regeneration_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 6
        assign
        shift_sp -1
        shift_sp 1
        push_const 2
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7103
L7102
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 6
        equal
        branch_false L7105
L7104
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1107713        //        [s_haste_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
L7105
L7103
L7100
L7097
L7094
L7091
L7088
        push_event        //  timer_id
        push_const 176
        add
        fetch_i
        push_const 3
        equal
        branch_false L7107
L7106
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 1
        equal
        branch_false L7109
L7108
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1106433        //        [s_wind_walk_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 2
        assign
        shift_sp -1
        shift_sp 1
        push_const 3
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7110
L7109
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 2
        equal
        branch_false L7112
L7111
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1106689        //        [s_shield_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 3
        assign
        shift_sp -1
        shift_sp 1
        push_const 3
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7113
L7112
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 3
        equal
        branch_false L7115
L7114
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1106945        //        [s_bless_the_body_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 4
        assign
        shift_sp -1
        shift_sp 1
        push_const 3
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7116
L7115
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 4
        equal
        branch_false L7118
L7117
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1107201        //        [s_vampiric_rage_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 5
        assign
        shift_sp -1
        shift_sp 1
        push_const 3
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7119
L7118
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 5
        equal
        branch_false L7121
L7120
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1107457        //        [s_regeneration_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
L7121
L7119
L7116
L7113
L7110
L7107
        push_event        //  timer_id
        push_const 176
        add
        fetch_i
        push_const 4
        equal
        branch_false L7123
L7122
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 1
        equal
        branch_false L7125
L7124
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1106433        //        [s_wind_walk_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 2
        assign
        shift_sp -1
        shift_sp 1
        push_const 4
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7126
L7125
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 2
        equal
        branch_false L7128
L7127
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1106689        //        [s_shield_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 3
        assign
        shift_sp -1
        shift_sp 1
        push_const 4
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7129
L7128
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 3
        equal
        branch_false L7131
L7130
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1106945        //        [s_bless_the_body_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 4
        assign
        shift_sp -1
        shift_sp 1
        push_const 4
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7132
L7131
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 4
        equal
        branch_false L7134
L7133
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1107201        //        [s_vampiric_rage_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
L7134
L7132
L7129
L7126
L7123
        push_event        //  timer_id
        push_const 176
        add
        fetch_i
        push_const 5
        equal
        branch_false L7136
L7135
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 1
        equal
        branch_false L7138
L7137
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1106433        //        [s_wind_walk_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 2
        assign
        shift_sp -1
        shift_sp 1
        push_const 5
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7139
L7138
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 2
        equal
        branch_false L7141
L7140
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1106689        //        [s_shield_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 3
        assign
        shift_sp -1
        shift_sp 1
        push_const 5
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7142
L7141
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 3
        equal
        branch_false L7144
L7143
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1106945        //        [s_bless_the_body_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
L7144
L7142
L7139
L7136
        push_event        //  timer_id
        push_const 176
        add
        fetch_i
        push_const 6
        equal
        branch_false L7146
L7145
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 1
        equal
        branch_false L7148
L7147
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1106433        //        [s_wind_walk_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        push_reg_sp
        fetch_i
        push_const 2
        assign
        shift_sp -1
        shift_sp 1
        push_const 6
        push_const 1500
        func_call 28        //  func[AddTimerEx]
        shift_sp -2
        shift_sp -1
        jump L7149
L7148
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai1
        push_const 2340
        add
        fetch_i
        push_const 2
        equal
        branch_false L7151
L7150
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1106689        //        [s_shield_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
L7151
L7149
L7146
        push_event        //  timer_id
        push_const 176
        add
        fetch_i
        push_const 7
        equal
        branch_false L7153
L7152
        shift_sp 1
        push_event        //  creature
        push_const 68
        add
        fetch_i
        push_const 1106433        //        [s_wind_walk_for_novice]
        push_const 1
        push_const 1
        push_const 1040000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
L7153
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  i_ai0
        push_const 2336
        add
        push_reg_sp
        fetch_i
        push_const 0
        assign
        shift_sp -1
handler_end

class_end


Sauron 20.09.2005 02:36

maybe this helps to understand

Code:

class dsadsadsa
{
handler:

        EventHandler CREATED()
        {
                myself.i_ai0 = 0;
        }
       
        EventHandler MENU_SELECTED(talker, ask ,reply)
        {
                if(ask == 2 && reply == 2 && myself.i_ai0 == 0)
                {
                        if(IsInCategory(@fighter_group, talker.occupation))
                        {
                                myself.i_ai2 = 99999; //replace 9999 with talker
                                if(talker.level >= 16 && talker.level <= 19)
                                {
                                        myself.i_ai1 = 1;
                                        AddTimerEx(1, 1);
                                }
                                else if(talker.level >= 15 && talker.level <= 19)
                                {
                                        myself.i_ai1 = 1;
                                        AddTimerEx(2, 1);
                                }
                                else if(talker.level >= 14 && talker.level <= 20)
                                {
                                        myself.i_ai1 = 1;
                                        AddTimerEx(3, 1);
                                }
                                else if(talker.level >= 13 && talker.level <= 21)
                                {
                                        myself.i_ai1 = 1;
                                        AddTimerEx(4, 1);
                                }
                                else if(talker.level >= 12 && talker.level <= 22)
                                {
                                        myself.i_ai1 = 1;
                                        AddTimerEx(5, 1);
                                }
                                else if(talker.level >= 11 && talker.level <= 23)
                                {
                                        myself.i_ai1 = 1;
                                        AddTimerEx(6, 1);
                                }
                                else if(talker.level >= 10 && talker.level <= 24)
                                {
                                        myself.i_ai1 = 1;
                                        AddTimerEx(7, 1);
                                }
                                else
                                {
                                        ShowPage(talker, "nobuff.htm");
                                }
                        }
                        else if(IsInCategory(@mage_group, talker.occupation))
                        {
                                myself.i_ai2 = 99999; //replace 9999 with talker
                                if(talker.level >= 16 && talker.level <= 19)
                                {
                                        myself.i_ai1 = 1;
                                        AddTimerEx(10, 1);
                                }
                                else if(talker.level >= 15 && talker.level <= 19)
                                {
                                        myself.i_ai1 = 1;
                                        AddTimerEx(20, 1);
                                }
                                else if(talker.level >= 14 && talker.level <= 20)
                                {
                                        myself.i_ai1 = 1;
                                        AddTimerEx(30, 1);
                                }
                                else if(talker.level >= 13 && talker.level <= 21)
                                {
                                        myself.i_ai1 = 1;
                                        AddTimerEx(40, 1);
                                }
                                else if(talker.level >= 12 && talker.level <= 22)
                                {
                                        myself.i_ai1 = 1;
                                        AddTimerEx(50, 1);
                                }
                                else if(talker.level >= 11 && talker.level <= 23)
                                {
                                        myself.i_ai1 = 1;
                                        AddTimerEx(60, 1);
                                }
                                else if(talker.level >= 10 && talker.level <= 24)
                                {
                                        myself.i_ai1 = 1;
                                        AddTimerEx(70, 1);
                                }
                                else
                                {
                                        ShowPage(talker, "nobuff.htm");
                                }
                        }
                }
                else
                {
                        ShowPage(talker, "wait.htm");
                }               
        }       
        EventHandler TIMER_FIRED_EX(timer_id, talker, creature)
        {
                myself.i_ai0 = 1; // casting
                creature = myself.i_ai2;
               
// FIGHTER CLASS BEGIN!!!

                if (timer_id == 1) // todos los buff
                {
                        if(myself.i_ai1 == 1)
                        {
                                AddUseSkillDesire(creature, 1106433, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000); ///
                                myself.i_ai1 = 2;
                                AddTimerEx(1, 1000);
                        }
                        else if(myself.i_ai1 == 2)
                        {
                                AddUseSkillDesire(creature, 1106689, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000); ////
                                myself.i_ai1 = 3;
                                AddTimerEx(1, 1000);
                        }
                        else if(myself.i_ai1 == 3)
                        {
                                AddUseSkillDesire(creature, 1106945, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000); ////
                                myself.i_ai1 = 4;
                                AddTimerEx(1, 1000);
                        }
                        else if(myself.i_ai1 == 4)
                        {
                                AddUseSkillDesire(creature, 1107201, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000); ////
                                myself.i_ai1 = 5;
                                AddTimerEx(1, 1000);
                        }
                        else if(myself.i_ai1 == 5)
                        {
                                AddUseSkillDesire(creature, 1107457, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000); ////
                                myself.i_ai1 = 6;
                                AddTimerEx(1, 1000);
                        }
                        else if(myself.i_ai1 == 6)
                        {
                                AddUseSkillDesire(creature, 1107713, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000); ////
                                myself.i_ai1 = 7;
                                AddTimerEx(1, 1000);
                        }
                        else if(myself.i_ai1 == 7)
                        {
                                AddUseSkillDesire(creature, 1108993, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000); /////
                        }
                }               
                else if (timer_id == 2)
                {
                        if(myself.i_ai1 == 1)
                        {
                                AddUseSkillDesire(creature, 1106433, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000); ////
                                myself.i_ai1 = 2;
                                AddTimerEx(2, 1000);
                        }
                        else if(myself.i_ai1 == 2)
                        {
                                AddUseSkillDesire(creature, 1106689, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000); ////
                                myself.i_ai1 = 3;
                                AddTimerEx(2, 1000);
                        }
                        else if(myself.i_ai1 == 3)
                        {
                                AddUseSkillDesire(creature, 1106945, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000); ////
                                myself.i_ai1 = 4;
                                AddTimerEx(2, 1000);
                        }
                        else if(myself.i_ai1 == 4)
                        {
                                AddUseSkillDesire(creature, 1107201, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000); ////
                                myself.i_ai1 = 5;
                                AddTimerEx(2, 1000);
                        }
                        else if(myself.i_ai1 == 5)
                        {
                                AddUseSkillDesire(creature, 1107457, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000); ////
                                myself.i_ai1 = 6;
                                AddTimerEx(2, 1000);
                        }
                        else if(myself.i_ai1 == 6)
                        {
                                AddUseSkillDesire(creature, 1107713, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000); ////
                        }
                }                       
                else if (timer_id == 3)
                {
                        if(myself.i_ai1 == 1)
                        {
                                AddUseSkillDesire(creature, 1106433, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000); ////
                                myself.i_ai1 = 2;
                                AddTimerEx(3, 1000);
                        }
                        else if(myself.i_ai1 == 2)
                        {
                                AddUseSkillDesire(creature, 1106689, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000); /////
                                myself.i_ai1 = 3;
                                AddTimerEx(3, 1000);
                        }
                        else if(myself.i_ai1 == 3)
                        {
                                AddUseSkillDesire(creature, 1106945, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000); /////
                                myself.i_ai1 = 4;
                                AddTimerEx(3, 1000);
                        }
                        else if(myself.i_ai1 == 4)
                        {
                                AddUseSkillDesire(creature, 1107201, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000); ////
                                myself.i_ai1 = 5;
                                AddTimerEx(3, 1000);
                        }
                        else if(myself.i_ai1 == 5)
                        {
                                AddUseSkillDesire(creature, 1107457, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000); ////
                        }
                }       
                else if (timer_id == 4)
                {
                        if(myself.i_ai1 == 1)
                        {
                                AddUseSkillDesire(creature, 1106433, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000); ////
                                myself.i_ai1 = 2;
                                AddTimerEx(4, 1000);
                        }
                        else if(myself.i_ai1 == 2)
                        {
                                AddUseSkillDesire(creature, 1106689, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000); /////
                                myself.i_ai1 = 3;
                                AddTimerEx(4, 1000);
                        }
                        else if(myself.i_ai1 == 3)
                        {
                                AddUseSkillDesire(creature, 1106945, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000); /////
                                myself.i_ai1 = 4;
                                AddTimerEx(4, 1000);
                        }
                        else if(myself.i_ai1 == 4)
                        {
                                AddUseSkillDesire(creature, 1107201, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000); /////
                        }
                }       
                else if (timer_id == 5)
                {
                        if(myself.i_ai1 == 1)
                        {
                                AddUseSkillDesire(creature, 1106433, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000); ////
                                myself.i_ai1 = 2;
                                AddTimerEx(5, 1000);
                        }
                        else if(myself.i_ai1 == 2)
                        {
                                AddUseSkillDesire(creature, 1106689, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000); ////
                                myself.i_ai1 = 3;
                                AddTimerEx(5, 1000);
                        }
                        else if(myself.i_ai1 == 3)
                        {
                                AddUseSkillDesire(creature, 1106945, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000); ////
                        }
                }       
                else if (timer_id == 6)
                {
                        if(myself.i_ai1 == 1)
                        {
                                AddUseSkillDesire(creature, 1106433, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000); ////
                                myself.i_ai1 = 2;
                                AddTimerEx(6, 1000);
                        }
                        else if(myself.i_ai1 == 2)
                        {
                                AddUseSkillDesire(creature, 1106689, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000); /////
                        }
                }       
                else if (timer_id == 7)
                {
                        AddUseSkillDesire(creature, 1106433, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000); ////
                }               
               
//MAGE CLASS BEGIN!!

                else if (timer_id == 10) // todos los buff
                {
                        if(myself.i_ai1 == 1)
                        {
                                AddUseSkillDesire(creature, 1106433, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000); /////
                                myself.i_ai1 = 2;
                                AddTimerEx(10, 1000);
                        }
                        else if(myself.i_ai1 == 2)
                        {
                                AddUseSkillDesire(creature, 1106689, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000); /////
                                myself.i_ai1 = 3;
                                AddTimerEx(10, 1000);
                        }
                        else if(myself.i_ai1 == 3)
                        {
                                AddUseSkillDesire(creature, 1107969, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000); ///
                                myself.i_ai1 = 4;
                                AddTimerEx(10, 1000);
                        }
                        else if(myself.i_ai1 == 4)
                        {
                                AddUseSkillDesire(creature, 1108225, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000);        /////
                                myself.i_ai1 = 5;
                                AddTimerEx(10, 1000);
                        }
                        else if(myself.i_ai1 == 5)
                        {
                                AddUseSkillDesire(creature, 1108481, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000);        /////
                                myself.i_ai1 = 6;
                                AddTimerEx(10, 1000);
                        }
                        else if(myself.i_ai1 == 6)
                        {
                                AddUseSkillDesire(creature, 1108737, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000);        ////
                                myself.i_ai1 = 7;
                                AddTimerEx(10, 1000);
                        }
                        else if(myself.i_ai1 == 7)
                        {
                                AddUseSkillDesire(creature, 1108993, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000);        /////
                        }
                }       
               
                else if (timer_id == 20)
                {
                        if(myself.i_ai1 == 1)
                        {
                                AddUseSkillDesire(creature, 1106433, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000); ////
                                myself.i_ai1 = 2;
                                AddTimerEx(20, 1000);
                        }
                        else if(myself.i_ai1 == 2)
                        {
                                AddUseSkillDesire(creature, 1106689, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000); ////
                                myself.i_ai1 = 3;
                                AddTimerEx(20, 1000);
                        }
                        else if(myself.i_ai1 == 3)
                        {
                                AddUseSkillDesire(creature, 1107969, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000);        ////
                                myself.i_ai1 = 4;
                                AddTimerEx(20, 1000);
                        }
                        else if(myself.i_ai1 == 4)
                        {
                                AddUseSkillDesire(creature, 1108225, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000);        ////
                                myself.i_ai1 = 5;
                                AddTimerEx(20, 1000);
                        }
                        else if(myself.i_ai1 == 5)
                        {
                                AddUseSkillDesire(creature, 1108481, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000);        /////
                                myself.i_ai1 = 6;
                                AddTimerEx(20, 1000);
                        }
                        else if(myself.i_ai1 == 6)
                        {
                                AddUseSkillDesire(creature, 1108737, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000);        ////
                        }
                }                       
               

                else if (timer_id == 30)
                {
                        if(myself.i_ai1 == 1)
                        {
                                AddUseSkillDesire(creature, 1106433, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000);  /////
                                myself.i_ai1 = 2;
                                AddTimerEx(30, 1000);
                        }
                        else if(myself.i_ai1 == 2)
                        {
                                AddUseSkillDesire(creature, 1106689, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000); /////
                                myself.i_ai1 = 3;
                                AddTimerEx(30, 1000);
                        }
                        else if(myself.i_ai1 == 3)
                        {
                                AddUseSkillDesire(creature, 1107969, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000);        ////
                                myself.i_ai1 = 4;
                                AddTimerEx(30, 1000);
                        }
                        else if(myself.i_ai1 == 4)
                        {
                                AddUseSkillDesire(creature, 1108225, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000);        /////
                                myself.i_ai1 = 5;
                                AddTimerEx(30, 1000);
                        }
                        else if(myself.i_ai1 == 5)
                        {
                                AddUseSkillDesire(creature, 1108481, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000);        /////
                        }
                }       

                else if (timer_id == 40)
                {
                        if(myself.i_ai1 == 1)
                        {
                                AddUseSkillDesire(creature, 1106433, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000); ////
                                myself.i_ai1 = 2;
                                AddTimerEx(40, 1000);
                        }
                        else if(myself.i_ai1 == 2)
                        {
                                AddUseSkillDesire(creature, 1106689, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000); ///
                                myself.i_ai1 = 3;
                                AddTimerEx(40, 1000);
                        }
                        else if(myself.i_ai1 == 3)
                        {
                                AddUseSkillDesire(creature, 1107969, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000);        ////
                                myself.i_ai1 = 4;
                                AddTimerEx(40, 1000);
                        }
                        else if(myself.i_ai1 == 4)
                        {
                                AddUseSkillDesire(creature, 1108225, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000);        /////
                        }
                }       

                else if (timer_id == 50)
                {
                        if(myself.i_ai1 == 1)
                        {
                                AddUseSkillDesire(creature, 1106433, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000); ////
                                myself.i_ai1 = 2;
                                AddTimerEx(50, 1000);
                        }
                        else if(myself.i_ai1 == 2)
                        {
                                AddUseSkillDesire(creature, 1106689, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000); ////
                                myself.i_ai1 = 3;
                                AddTimerEx(50, 1000);
                        }
                        else if(myself.i_ai1 == 3)
                        {
                                AddUseSkillDesire(creature, 1107969, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000);        ////
                        }
                }       
       
                else if (timer_id == 60)
                {
                        if(myself.i_ai1 == 1)
                        {
                                AddUseSkillDesire(creature, 1106433, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000); ////
                                myself.i_ai1 = 2;
                                AddTimerEx(60, 1000);
                        }
                        else if(myself.i_ai1 == 2)
                        {
                                AddUseSkillDesire(creature, 1106689, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000); ///
                        }
                }       
                else if (timer_id == 70)
                {
                        AddUseSkillDesire(creature, 1106433, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000); ///
                }               
       
                myself.i_ai0 = 0;
        }
}


deathor 20.09.2005 15:02

hmm with that ai script error in l2server :/

Sauron 20.09.2005 15:17

if u dont show me the error i cant help u

top-gear 20.09.2005 16:06

any solution for the healing cubic buff?

flakka 20.09.2005 16:22

Since when does the Healing Cubic have anything to do with this npc script? Did I miss something? :?

Deathor: Make sure you copy and paste Sauron's script and overwrite any duplicate entries in your ai.obj file. And make sure there's only one entry. :)

top-gear 20.09.2005 16:40

A healing cubic is actually included in Newbie buffs in official. I just wonder how can I do that too

deathor 20.09.2005 16:41

hmm work ok now ty :D

top-gear 20.09.2005 16:45

Levels 10-24 - Wind Walk
Levels 11-23 - Shield
Levels 12-22 - Bless the Body (Fighter), Bless the Soul (Mystic)
Levels 13-21 - Vampiric Rage (Fighter), Acumen (Mystic)
Levels 14-20 - Regeneration (Fighter), Concentration (Mystic)
Levels 15-19 - Haste (Fighter), Empower (Mystic)
Levels 16-19 - Life Cubic

this is from the official site ;)

flakka 20.09.2005 19:13

Quote:

Originally Posted by top-gear
A healing cubic is actually included in Newbie buffs in official. I just wonder how can I do that too

Ah, cool! Never knew that since I never played retail. :D Damn, they sure do make this game easier and easier as the Chronicles come out. :shock:

Anyway...
Thanks for the list, top-gear! That should come in handy when making the htm files. :D

One strange thing I noticed though. I started getting buffs at level 7 and it stopped at level 20. I got a total of six buffs on me - so that's why I'm assuming you were asking about the Life Cubic. :P
Code:

L7085
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1110529  //  [s_life_cubic_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1

It's in the ai.obj already. Did it not work for you? I guess I'll have to test it a bit further. But the code is here now, so all it takes is a bit of tweaking. :)

top-gear 20.09.2005 19:31

nice ;) Ill work on it tonight if I have time. I need to complete skill acquire tonight first :)

deathor 21.09.2005 09:27

nice nice

top-gear 21.09.2005 10:31

I can't understan AI code :( I was trying to make it buff the mages also but server crashes. any help pls?

DarkE 21.10.2005 07:28

good work, but mage buffs is not working :(

lich 30.10.2005 13:05

My appreciation to Sauron. Here full version of newbie buffer, including mage buffs. Still Vampiric Rage and Summon Life Cubic works wrong, but it's skilldata problem.

I use label numbers for my ai.obj, you can change it to whatever you like
Code:


class newbie_guide : citizen
parameter_define_begin
  string fnHi ""
  string fnHighLevel ""
  string fnRaceMisMatch ""
  string fnGuideF05 ""
  string fnGuideF10 ""
  string fnGuideF15 ""
  string fnGuideF20 ""
  string fnGuideM07 ""
  string fnGuideM14 ""
  string fnGuideM20 ""
parameter_define_end

handler 3  //  TALKED
  variable_begin
      "talker"
      "myself"
      "_choiceN"
      "_code"
      "_from_choice"
  variable_end

  shift_sp 1
  push_event  //  talker
  push_const 32
  add
  fetch_i
  push_parameter fnHi
  func_call 43  //  func[ShowPage]
  shift_sp -2
  shift_sp -1
handler_end

handler 13  //  CREATED
  variable_begin
      "myself"
      "_choiceN"
      "_code"
      "_from_choice"
  variable_end

  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai0
  push_const 2336
  add
  push_reg_sp
  fetch_i
  push_const 0
  assign
  shift_sp -1
handler_end

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

  push_event  //  ask
  push_const 100
  add
  fetch_i
  push_const 7
  negate
  equal
  push_reg_sp
  fetch_i
  branch_false L85457
  push_event  //  reply
  push_const 104
  add
  fetch_i
  push_const 1
  equal
  and
L85457
  branch_false L85459
L85458
  push_event  //  talker
  push_const 32
  add
  fetch_i  //  race
  push_const 148
  add
  fetch_i
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  sm
  push_const 2400
  add
  fetch_i  //  race
  push_const 148
  add
  fetch_i
  not_equal
  branch_false L85461
L85460
  shift_sp 1
  push_event  //  talker
  push_const 32
  add
  fetch_i
  push_parameter fnRaceMisMatch
  func_call 43  //  func[ShowPage]
  shift_sp -2
  shift_sp -1
  jump L85462
L85461
  push_event  //  talker
  push_const 32
  add
  fetch_i  //  level
  push_const 888
  add
  fetch_i
  push_const 20
  greater
  push_reg_sp
  fetch_i
  branch_true L85463
  shift_sp 1
  push_const 4
  push_event  //  talker
  push_const 32
  add
  fetch_i  //  occupation
  push_const 152
  add
  fetch_i
  func_call 143  //  func[IsInCategory]
  shift_sp -2
  push_const 0
  equal
  or
L85463
  branch_false L85465
L85464
  shift_sp 1
  push_event  //  talker
  push_const 32
  add
  fetch_i
  push_parameter fnHighLevel
  func_call 43  //  func[ShowPage]
  shift_sp -2
  shift_sp -1
  jump L85466
L85465
  shift_sp 1
  push_const 0
  push_event  //  talker
  push_const 32
  add
  fetch_i  //  occupation
  push_const 152
  add
  fetch_i
  func_call 143  //  func[IsInCategory]
  shift_sp -2
  branch_false L85468
L85467
  push_event  //  talker
  push_const 32
  add
  fetch_i  //  level
  push_const 888
  add
  fetch_i
  push_const 5
  less_equal
  branch_false L85470
L85469
  shift_sp 1
  push_event  //  talker
  push_const 32
  add
  fetch_i
  push_parameter fnGuideF05
  func_call 43  //  func[ShowPage]
  shift_sp -2
  shift_sp -1
  jump L85471
L85470
  push_event  //  talker
  push_const 32
  add
  fetch_i  //  level
  push_const 888
  add
  fetch_i
  push_const 10
  less_equal
  branch_false L85473
L85472
  shift_sp 1
  push_event  //  talker
  push_const 32
  add
  fetch_i
  push_parameter fnGuideF10
  func_call 43  //  func[ShowPage]
  shift_sp -2
  shift_sp -1
  jump L85474
L85473
  push_event  //  talker
  push_const 32
  add
  fetch_i  //  level
  push_const 888
  add
  fetch_i
  push_const 15
  less_equal
  branch_false L85476
L85475
  shift_sp 1
  push_event  //  talker
  push_const 32
  add
  fetch_i
  push_parameter fnGuideF15
  func_call 43  //  func[ShowPage]
  shift_sp -2
  shift_sp -1
  jump L85477
L85476
  shift_sp 1
  push_event  //  talker
  push_const 32
  add
  fetch_i
  push_parameter fnGuideF20
  func_call 43  //  func[ShowPage]
  shift_sp -2
  shift_sp -1
L85477
L85474
L85471
  jump L85478
L85468
  push_event  //  talker
  push_const 32
  add
  fetch_i  //  level
  push_const 888
  add
  fetch_i
  push_const 7
  less_equal
  branch_false L85480
L85479
  shift_sp 1
  push_event  //  talker
  push_const 32
  add
  fetch_i
  push_parameter fnGuideM07
  func_call 43  //  func[ShowPage]
  shift_sp -2
  shift_sp -1
  jump L85481
L85480
  push_event  //  talker
  push_const 32
  add
  fetch_i  //  level
  push_const 888
  add
  fetch_i
  push_const 14
  less_equal
  branch_false L85483
L85482
  shift_sp 1
  push_event  //  talker
  push_const 32
  add
  fetch_i
  push_parameter fnGuideM14
  func_call 43  //  func[ShowPage]
  shift_sp -2
  shift_sp -1
  jump L85484
L85483
  shift_sp 1
  push_event  //  talker
  push_const 32
  add
  fetch_i
  push_parameter fnGuideM20
  func_call 43  //  func[ShowPage]
  shift_sp -2
  shift_sp -1
L85459
  push_event  //  ask
  push_const 100
  add
  fetch_i
  push_const 2
  equal
  push_reg_sp
  fetch_i
  branch_false L76000
  push_event  //  reply
  push_const 104
  add
  fetch_i
  push_const 2
  equal
  and
  push_reg_sp
  fetch_i
  branch_false L76000
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai0
  push_const 2336
  add
  fetch_i
  push_const 0
  equal
  and
L76000
  branch_false L76002
L76001
  shift_sp 1
  push_const 0
  push_event  //  talker
  push_const 32
  add
  fetch_i  //  occupation
  push_const 152
  add
  fetch_i
  func_call 143  //  func[IsInCategory]
  shift_sp -2
  branch_false L76004
L76003
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai2
  push_const 2344
  add
  push_reg_sp
  fetch_i
  push_event  //  talker
  push_const 32
  add
  fetch_i
  assign
  shift_sp -1
  push_event  //  talker
  push_const 32
  add
  fetch_i  //  level
  push_const 888
  add
  fetch_i
  push_const 16
  greater_equal
  push_reg_sp
  fetch_i
  branch_false L76005
  push_event  //  talker
  push_const 32
  add
  fetch_i  //  level
  push_const 888
  add
  fetch_i
  push_const 19
  less_equal
  and
L76005
  branch_false L76007
L76006
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 1
  assign
  shift_sp -1
  shift_sp 1
  push_const 1
  push_const 1
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L76008
L76007
  push_event  //  talker
  push_const 32
  add
  fetch_i  //  level
  push_const 888
  add
  fetch_i
  push_const 15
  greater_equal
  push_reg_sp
  fetch_i
  branch_false L76009
  push_event  //  talker
  push_const 32
  add
  fetch_i  //  level
  push_const 888
  add
  fetch_i
  push_const 19
  less_equal
  and
L76009
  branch_false L76011
L76010
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 1
  assign
  shift_sp -1
  shift_sp 1
  push_const 2
  push_const 1
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L76012
L76011
  push_event  //  talker
  push_const 32
  add
  fetch_i  //  level
  push_const 888
  add
  fetch_i
  push_const 14
  greater_equal
  push_reg_sp
  fetch_i
  branch_false L76013
  push_event  //  talker
  push_const 32
  add
  fetch_i  //  level
  push_const 888
  add
  fetch_i
  push_const 20
  less_equal
  and
L76013
  branch_false L76015
L76014
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 1
  assign
  shift_sp -1
  shift_sp 1
  push_const 3
  push_const 1
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L76016
L76015
  push_event  //  talker
  push_const 32
  add
  fetch_i  //  level
  push_const 888
  add
  fetch_i
  push_const 13
  greater_equal
  push_reg_sp
  fetch_i
  branch_false L76017
  push_event  //  talker
  push_const 32
  add
  fetch_i  //  level
  push_const 888
  add
  fetch_i
  push_const 21
  less_equal
  and
L76017
  branch_false L76019
L76018
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 1
  assign
  shift_sp -1
  shift_sp 1
  push_const 4
  push_const 1
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L76020
L76019
  push_event  //  talker
  push_const 32
  add
  fetch_i  //  level
  push_const 888
  add
  fetch_i
  push_const 12
  greater_equal
  push_reg_sp
  fetch_i
  branch_false L76021
  push_event  //  talker
  push_const 32
  add
  fetch_i  //  level
  push_const 888
  add
  fetch_i
  push_const 22
  less_equal
  and
L76021
  branch_false L76023
L76022
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 1
  assign
  shift_sp -1
  shift_sp 1
  push_const 5
  push_const 1
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L76024
L76023
  push_event  //  talker
  push_const 32
  add
  fetch_i  //  level
  push_const 888
  add
  fetch_i
  push_const 11
  greater_equal
  push_reg_sp
  fetch_i
  branch_false L76025
  push_event  //  talker
  push_const 32
  add
  fetch_i  //  level
  push_const 888
  add
  fetch_i
  push_const 23
  less_equal
  and
L76025
  branch_false L76027
L76026
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 1
  assign
  shift_sp -1
  shift_sp 1
  push_const 6
  push_const 1
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L76028
L76027
  push_event  //  talker
  push_const 32
  add
  fetch_i  //  level
  push_const 888
  add
  fetch_i
  push_const 10
  greater_equal
  push_reg_sp
  fetch_i
  branch_false L76029
  push_event  //  talker
  push_const 32
  add
  fetch_i  //  level
  push_const 888
  add
  fetch_i
  push_const 24
  less_equal
  and
L76029
  branch_false L76031
L76030
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 1
  assign
  shift_sp -1
  shift_sp 1
  push_const 7
  push_const 1
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L76032
L76031
  shift_sp 1
  push_event  //  talker
  push_const 32
  add
  fetch_i
S30000.  "nobuff.htm"
  push_string S30000
  func_call 43  //  func[ShowPage]
  shift_sp -2
  shift_sp -1
L76032
L76028
L76024
L76020
L76016
L76012
L76008
  jump L76033
L76004
  shift_sp 1
  push_const 1
  push_event  //  talker
  push_const 32
  add
  fetch_i  //  occupation
  push_const 152
  add
  fetch_i
  func_call 143  //  func[IsInCategory]
  shift_sp -2
  branch_false L76035
L76034
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai2
  push_const 2344
  add
  push_reg_sp
  fetch_i
  push_event  //  talker
  push_const 32
  add
  fetch_i
  assign
  shift_sp -1
  push_event  //  talker
  push_const 32
  add
  fetch_i  //  level
  push_const 888
  add
  fetch_i
  push_const 16
  greater_equal
  push_reg_sp
  fetch_i
  branch_false L76036
  push_event  //  talker
  push_const 32
  add
  fetch_i  //  level
  push_const 888
  add
  fetch_i
  push_const 19
  less_equal
  and
L76036
  branch_false L76038
L76037
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 1
  assign
  shift_sp -1
  shift_sp 1
  push_const 10
  push_const 1
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L76039
L76038
  push_event  //  talker
  push_const 32
  add
  fetch_i  //  level
  push_const 888
  add
  fetch_i
  push_const 15
  greater_equal
  push_reg_sp
  fetch_i
  branch_false L76040
  push_event  //  talker
  push_const 32
  add
  fetch_i  //  level
  push_const 888
  add
  fetch_i
  push_const 19
  less_equal
  and
L76040
  branch_false L76042
L76041
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 1
  assign
  shift_sp -1
  shift_sp 1
  push_const 11
  push_const 1
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L76043
L76042
  push_event  //  talker
  push_const 32
  add
  fetch_i  //  level
  push_const 888
  add
  fetch_i
  push_const 14
  greater_equal
  push_reg_sp
  fetch_i
  branch_false L76044
  push_event  //  talker
  push_const 32
  add
  fetch_i  //  level
  push_const 888
  add
  fetch_i
  push_const 20
  less_equal
  and
L76044
  branch_false L76046
L76045
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 1
  assign
  shift_sp -1
  shift_sp 1
  push_const 12
  push_const 1
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L76047
L76046
  push_event  //  talker
  push_const 32
  add
  fetch_i  //  level
  push_const 888
  add
  fetch_i
  push_const 13
  greater_equal
  push_reg_sp
  fetch_i
  branch_false L76048
  push_event  //  talker
  push_const 32
  add
  fetch_i  //  level
  push_const 888
  add
  fetch_i
  push_const 21
  less_equal
  and
L76048
  branch_false L76050
L76049
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 1
  assign
  shift_sp -1
  shift_sp 1
  push_const 13
  push_const 1
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L76051
L76050
  push_event  //  talker
  push_const 32
  add
  fetch_i  //  level
  push_const 888
  add
  fetch_i
  push_const 12
  greater_equal
  push_reg_sp
  fetch_i
  branch_false L76052
  push_event  //  talker
  push_const 32
  add
  fetch_i  //  level
  push_const 888
  add
  fetch_i
  push_const 22
  less_equal
  and
L76052
  branch_false L76054
L76053
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 1
  assign
  shift_sp -1
  shift_sp 1
  push_const 14
  push_const 1
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L76055
L76054
  push_event  //  talker
  push_const 32
  add
  fetch_i  //  level
  push_const 888
  add
  fetch_i
  push_const 11
  greater_equal
  push_reg_sp
  fetch_i
  branch_false L76056
  push_event  //  talker
  push_const 32
  add
  fetch_i  //  level
  push_const 888
  add
  fetch_i
  push_const 23
  less_equal
  and
L76056
  branch_false L76058
L76057
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 1
  assign
  shift_sp -1
  shift_sp 1
  push_const 15
  push_const 1
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L76059
L76058
  push_event  //  talker
  push_const 32
  add
  fetch_i  //  level
  push_const 888
  add
  fetch_i
  push_const 10
  greater_equal
  push_reg_sp
  fetch_i
  branch_false L76060
  push_event  //  talker
  push_const 32
  add
  fetch_i  //  level
  push_const 888
  add
  fetch_i
  push_const 24
  less_equal
  and
L76060
  branch_false L76062
L76061
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 1
  assign
  shift_sp -1
  shift_sp 1
  push_const 16
  push_const 1
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L76063
L76062
  shift_sp 1
  push_event  //  talker
  push_const 32
  add
  fetch_i
S30001.  "nobuff.htm"
  push_string S30001
  func_call 43  //  func[ShowPage]
  shift_sp -2
  shift_sp -1
L76063
L76059
L76055
L76051
L76047
L76043
L76039
L76035
L76033
  jump L76064
L76002
  shift_sp 1
  push_event  //  talker
  push_const 32
  add
  fetch_i
S30002.  "wait.htm"
  push_string S30002
  func_call 43  //  func[ShowPage]
  shift_sp -2
  shift_sp -1
L76064
L85484
L85481
L85478
L85466
L85462
handler_end

handler 12  //  TIMER_FIRED_EX
  variable_begin
      "timer_id"
      "talker"
      "creature"
      "myself"
      "_choiceN"
      "_code"
      "_from_choice"
  variable_end

  push_event  //  creature
  push_const 68
  add
  push_reg_sp
  fetch_i
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai2
  push_const 2344
  add
  fetch_i
  assign
  shift_sp -1
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai0
  push_const 2336
  add
  push_reg_sp
  fetch_i
  push_const 1
  assign
  shift_sp -1
  push_event  //  creature
  push_const 68
  add
  push_reg_sp
  fetch_i
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai2
  push_const 2344
  add
  fetch_i
  assign
  shift_sp -1   
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai0
  push_const 2336
  add
  push_reg_sp
  fetch_i
  push_const 1
  assign
  shift_sp -1
  push_event  //  timer_id
  push_const 176
  add
  fetch_i
  push_const 1
  equal
  branch_false L76066
L76065
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 1
  equal
  branch_false L76068
L76067
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1106433  //  [s_wind_walk_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 2
  assign
  shift_sp -1
  shift_sp 1
  push_const 1
  push_const 1500
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L76069
L76068
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 2
  equal
  branch_false L76071
L76070
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1106689  //  [s_shield_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 3
  assign
  shift_sp -1
  shift_sp 1
  push_const 1
  push_const 1500
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L76072
L76071
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 3
  equal
  branch_false L76074
L76073
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1106945  //  [s_bless_the_body_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 4
  assign
  shift_sp -1
  shift_sp 1
  push_const 1
  push_const 1500
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L76075
L76074
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 4
  equal
  branch_false L76077
L76076
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1107201  //  [s_vampiric_rage_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 5
  assign
  shift_sp -1
  shift_sp 1
  push_const 1
  push_const 1500
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L76078
L76077
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 5
  equal
  branch_false L76080
L76079
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1107457  //  [s_regeneration_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 6
  assign
  shift_sp -1
  shift_sp 1
  push_const 1
  push_const 1500
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L76081
L76080
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 6
  equal
  branch_false L76083
L76082
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1107713  //  [s_haste_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 7
  assign
  shift_sp -1
  shift_sp 1
  push_const 1
  push_const 1500
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L76084
L76083
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 7
  equal
  branch_false L76086
L76085
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1110529  //  [s_life_cubic_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
L76086
L76084
L76081
L76078
L76075
L76072
L76069
L76066
  push_event  //  timer_id
  push_const 176
  add
  fetch_i
  push_const 2
  equal
  branch_false L76088
L76087
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 1
  equal
  branch_false L76090
L76089
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1106433  //  [s_wind_walk_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 2
  assign
  shift_sp -1
  shift_sp 1
  push_const 2
  push_const 1500
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L76091
L76090
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 2
  equal
  branch_false L76093
L76092
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1106689  //  [s_shield_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 3
  assign
  shift_sp -1
  shift_sp 1
  push_const 2
  push_const 1500
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L76094
L76093
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 3
  equal
  branch_false L76096
L76095
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1106945  //  [s_bless_the_body_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 4
  assign
  shift_sp -1
  shift_sp 1
  push_const 2
  push_const 1500
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L76097
L76096
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 4
  equal
  branch_false L76099
L76098
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1107201  //  [s_vampiric_rage_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 5
  assign
  shift_sp -1
  shift_sp 1
  push_const 2
  push_const 1500
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L760100
L76099
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 5
  equal
  branch_false L76102
L76101
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1107457  //  [s_regeneration_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 6
  assign
  shift_sp -1
  shift_sp 1
  push_const 2
  push_const 1500
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L76103
L76102
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 6
  equal
  branch_false L76105
L76104
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1107713  //  [s_haste_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
L76105
L76103
L76100
L76097
L76094
L76091
L76088
  push_event  //  timer_id
  push_const 176
  add
  fetch_i
  push_const 3
  equal
  branch_false L76107
L76106
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 1
  equal
  branch_false L76109
L76108
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1106433  //  [s_wind_walk_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 2
  assign
  shift_sp -1
  shift_sp 1
  push_const 3
  push_const 1500
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L76110
L76109
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 2
  equal
  branch_false L76112
L76111
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1106689  //  [s_shield_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 3
  assign
  shift_sp -1
  shift_sp 1
  push_const 3
  push_const 1500
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L76113
L76112
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 3
  equal
  branch_false L76115
L76114
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1106945  //  [s_bless_the_body_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 4
  assign
  shift_sp -1
  shift_sp 1
  push_const 3
  push_const 1500
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L76116
L76115
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 4
  equal
  branch_false L76118
L76117
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1107201  //  [s_vampiric_rage_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 5
  assign
  shift_sp -1
  shift_sp 1
  push_const 3
  push_const 1500
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L76119
L76118
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 5
  equal
  branch_false L76121
L76120
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1107457  //  [s_regeneration_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
L76121
L76119
L76116
L76113
L76110
L76107
  push_event  //  timer_id
  push_const 176
  add
  fetch_i
  push_const 4
  equal
  branch_false L76123
L76122
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 1
  equal
  branch_false L76125
L76124
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1106433  //  [s_wind_walk_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 2
  assign
  shift_sp -1
  shift_sp 1
  push_const 4
  push_const 1500
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L76126
L76125
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 2
  equal
  branch_false L76128
L76127
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1106689  //  [s_shield_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 3
  assign
  shift_sp -1
  shift_sp 1
  push_const 4
  push_const 1500
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L76129
L76128
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 3
  equal
  branch_false L76131
L76130
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1106945  //  [s_bless_the_body_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 4
  assign
  shift_sp -1
  shift_sp 1
  push_const 4
  push_const 1500
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L76132
L76131
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 4
  equal
  branch_false L76134
L76133
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1107201  //  [s_vampiric_rage_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
L76134
L76132
L76129
L76126
L76123
  push_event  //  timer_id
  push_const 176
  add
  fetch_i
  push_const 5
  equal
  branch_false L76136
L76135
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 1
  equal
  branch_false L76138
L76137
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1106433  //  [s_wind_walk_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 2
  assign
  shift_sp -1
  shift_sp 1
  push_const 5
  push_const 1500
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L76139
L76138
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 2
  equal
  branch_false L76141
L76140
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1106689  //  [s_shield_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 3
  assign
  shift_sp -1
  shift_sp 1
  push_const 5
  push_const 1500
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L76142
L76141
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 3
  equal
  branch_false L76144
L76143
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1106945  //  [s_bless_the_body_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
L76144
L76142
L76139
L76136
  push_event  //  timer_id
  push_const 176
  add
  fetch_i
  push_const 6
  equal
  branch_false L76146
L76145
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 1
  equal
  branch_false L76148
L76147
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1106433  //  [s_wind_walk_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 2
  assign
  shift_sp -1
  shift_sp 1
  push_const 6
  push_const 1500
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L76149
L76148
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 2
  equal
  branch_false L76151
L76150
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1106689  //  [s_shield_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
L76151
L76149
L76146
  push_event  //  timer_id
  push_const 176
  add
  fetch_i
  push_const 7
  equal
  branch_false L76153
L76152
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1106433  //  [s_wind_walk_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
L76153

  push_event  //  timer_id
  push_const 176
  add
  fetch_i
  push_const 10
  equal
  branch_false L77066
L77065
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 1
  equal
  branch_false L77068
L77067
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1106433  //  [s_wind_walk_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 2
  assign
  shift_sp -1
  shift_sp 1
  push_const 10
  push_const 1500
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L77069
L77068
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 2
  equal
  branch_false L77071
L77070
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1106689  //  [s_shield_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 3
  assign
  shift_sp -1
  shift_sp 1
  push_const 10
  push_const 1500
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L77072
L77071
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 3
  equal
  branch_false L77074
L77073
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1107969  //  [s_bless_the_soul_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 4
  assign
  shift_sp -1
  shift_sp 1
  push_const 10
  push_const 1500
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L77075
L77074
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 4
  equal
  branch_false L77077
L77076
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1108225  //  [s_acumen_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 5
  assign
  shift_sp -1
  shift_sp 1
  push_const 10
  push_const 1500
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L77078
L77077
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 5
  equal
  branch_false L77080
L77079
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1108481  //  [s_concentration_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 6
  assign
  shift_sp -1
  shift_sp 1
  push_const 10
  push_const 1500
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L77081
L77080
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 6
  equal
  branch_false L77083
L77082
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1108737  //  [s_empower_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 7
  assign
  shift_sp -1
  shift_sp 1
  push_const 10
  push_const 1500
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L77084
L77083
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 7
  equal
  branch_false L77086
L77085
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1110529  //  [s_life_cubic_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
L77086
L77084
L77081
L77078
L77075
L77072
L77069
L77066
  push_event  //  timer_id
  push_const 176
  add
  fetch_i
  push_const 11
  equal
  branch_false L77088
L77087
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 1
  equal
  branch_false L77090
L77089
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1106433  //  [s_wind_walk_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 2
  assign
  shift_sp -1
  shift_sp 1
  push_const 11
  push_const 1500
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L77091
L77090
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 2
  equal
  branch_false L77093
L77092
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1106689  //  [s_shield_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 3
  assign
  shift_sp -1
  shift_sp 1
  push_const 11
  push_const 1500
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L77094
L77093
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 3
  equal
  branch_false L77096
L77095
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1107969  //  [s_bless_the_soul_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 4
  assign
  shift_sp -1
  shift_sp 1
  push_const 11
  push_const 150
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L77097
L77096
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 4
  equal
  branch_false L77099
L77098
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1108225  //  [s_acumen_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 5
  assign
  shift_sp -1
  shift_sp 1
  push_const 11
  push_const 1500
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L770100
L77099
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 5
  equal
  branch_false L77102
L77101
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1108481  //  [s_concentration_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 6
  assign
  shift_sp -1
  shift_sp 1
  push_const 11
  push_const 1500
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L77103
L77102
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 6
  equal
  branch_false L77105
L77104
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1108737  //  [s_empower_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
L77105
L77103
L77100
L77097
L77094
L77091
L77088
  push_event  //  timer_id
  push_const 176
  add
  fetch_i
  push_const 12
  equal
  branch_false L77107
L77106
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 1
  equal
  branch_false L77109
L77108
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1106433  //  [s_wind_walk_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 2
  assign
  shift_sp -1
  shift_sp 1
  push_const 12
  push_const 1500
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L77110
L77109
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 2
  equal
  branch_false L77112
L77111
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1106689  //  [s_shield_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 3
  assign
  shift_sp -1
  shift_sp 1
  push_const 12
  push_const 1500
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L77113
L77112
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 3
  equal
  branch_false L77115
L77114
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1107969  //  [s_bless_the_soul_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 4
  assign
  shift_sp -1
  shift_sp 1
  push_const 12
  push_const 1500
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L77116
L77115
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 4
  equal
  branch_false L77118
L77117
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1108225  //  [s_acumen_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 5
  assign
  shift_sp -1
  shift_sp 1
  push_const 12
  push_const 1500
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L77119
L77118
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 5
  equal
  branch_false L77121
L77120
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1108481  //  [s_concentration_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
L77121
L77119
L77116
L77113
L77110
L77107
  push_event  //  timer_id
  push_const 176
  add
  fetch_i
  push_const 13
  equal
  branch_false L77123
L77122
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 1
  equal
  branch_false L77125
L77124
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1106433  //  [s_wind_walk_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 2
  assign
  shift_sp -1
  shift_sp 1
  push_const 13
  push_const 1500
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L77126
L77125
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 2
  equal
  branch_false L77128
L77127
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1106689  //  [s_shield_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 3
  assign
  shift_sp -1
  shift_sp 1
  push_const 13
  push_const 1500
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L77129
L77128
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 3
  equal
  branch_false L77131
L77130
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1107969  //  [s_bless_the_soul_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 4
  assign
  shift_sp -1
  shift_sp 1
  push_const 13
  push_const 1500
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L77132
L77131
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 4
  equal
  branch_false L77134
L77133
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1108225  //  [s_acumen_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
L77134
L77132
L77129
L77126
L77123
  push_event  //  timer_id
  push_const 176
  add
  fetch_i
  push_const 14
  equal
  branch_false L77136
L77135
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 1
  equal
  branch_false L77138
L77137
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1106433  //  [s_wind_walk_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 2
  assign
  shift_sp -1
  shift_sp 1
  push_const 14
  push_const 1500
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L77139
L77138
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 2
  equal
  branch_false L77141
L77140
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1106689  //  [s_shield_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 3
  assign
  shift_sp -1
  shift_sp 1
  push_const 14
  push_const 1500
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L77142
L77141
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 3
  equal
  branch_false L77144
L77143
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1107969  //  [s_bless_the_soul_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
L77144
L77142
L77139
L77136
  push_event  //  timer_id
  push_const 176
  add
  fetch_i
  push_const 15
  equal
  branch_false L77146
L77145
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 1
  equal
  branch_false L77148
L77147
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1106433  //  [s_wind_walk_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  push_reg_sp
  fetch_i
  push_const 2
  assign
  shift_sp -1
  shift_sp 1
  push_const 15
  push_const 1500
  func_call 28  //  func[AddTimerEx]
  shift_sp -2
  shift_sp -1
  jump L77149
L77148
  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai1
  push_const 2340
  add
  fetch_i
  push_const 2
  equal
  branch_false L77151
L77150
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1106689  //  [s_shield_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
L77151
L77149
L77146
  push_event  //  timer_id
  push_const 176
  add
  fetch_i
  push_const 16
  equal
  branch_false L77153
L77152
  shift_sp 1
  push_event  //  creature
  push_const 68
  add
  fetch_i
  push_const 1106433  //  [s_wind_walk_for_novice]
  push_const 1
  push_const 1
  push_const 1040000
  func_call 10  //  func[AddUseSkillDesire]
  shift_sp -5
  shift_sp -1
L77153


  push_event  //  myself
  push_const 28
  add
  fetch_i  //  i_ai0
  push_const 2336
  add
  push_reg_sp
  fetch_i
  push_const 0
  assign
  shift_sp -1

handler_end

class_end


Domzelan 31.10.2005 17:38

Hi lich :) - is nobuff.htm and wait.htm shuld be empty?

SOnick 31.10.2005 20:34

you can write anything you want in those htms

this is my htms

Wait.htm
<html><head><body>newbie buffer:

Wait a little</a></body></html>

nobuff.htm
<html><head><body>newbie buffer:

Wrong level - you can obtain buffs from level 10 till level 24</a></body></html>

Kryak 31.10.2005 21:15

It's wrong



Wait.htm
<html><head><body>newbie buffer:

Wait a little
</a>
</body></html>

nobuff.htm
<html><head><body>newbie buffer:

Wrong level - you can obtain buffs from level 10 till level 24
</a>
</body></html>

SOnick 31.10.2005 21:21

%) LOL - where did you seen "<a href" or something similar?

It`s no need in </a>

All htm files for newbie buffers including nobuff.htm and wait.htm

Kryak 01.11.2005 02:04

Heh.... Vampiric Rage kill newbie..... Incorrect skill in skilldata... :(

lich 01.11.2005 04:04

I said that it's works wrong. Change it to something like that
Code:

skill_begin        skill_name        =        [s_vampiric_rage_for_novice]        /*        [c3        skill]        */        skill_id        =        4325        level        =        1        operate_type        =        A2        magic_level        =        7        effect        =        {{p_damage_shield;10}}        operate_cond        =        {}        is_magic        =        1        mp_consume2        =        0        cast_range        =        400        effective_range        =        600        skill_hit_time        =        0        skill_cool_time        =        0        skill_hit_cancel_time        =        0.5        reuse_delay        =        0        activate_rate        =        -1        lv_bonus_rate        =        0        basic_property        =        none        abnormal_time        =        3600        abnormal_lv        =        1        abnormal_type        =        pa_up_special        attribute        =        attr_none        effect_point        =        100        target_type        =        target        affect_scope        =        single        next_action        =        none        skill_end

KrazySmile 10.12.2005 03:19

GJ lich and sauron!

this new class newbie_guide : citizen given in both ur codes...
is to replace the existing class newbie_guide : citizen ... right ?

xarion 18.12.2005 08:47

how to make enchacne without lvl test?

FidoW 07.01.2006 04:37

there a problem... for example, with a player level 20, click on "buff me"... and run... the guide run behind you... you can move the newbie guide to any part of the world... and he don't return, how to fix this? in my server newbies go with the newbie guide too far...

(maybe in npcpos ? i don't know... is a newbie question..., maybe with WayPoints? or... similar to orfen ai ? he return...)
can help me ?

sorry my english, im spanish.

khul 07.01.2006 04:44

this is not olny problem , main problem is they can bugg the target.

When you are low lvl and you ask buff, another player (a high lvl one that shouldnt get buffs) talks to the NPC and gets the noob buffs instead of first player.

Besides this 2 things code is great.

FidoW 07.01.2006 05:11

Quote:

Originally Posted by khul
this is not olny problem , main problem is they can bugg the target.

When you are low lvl and you ask buff, another player (a high lvl one that shouldnt get buffs) talks to the NPC and gets the noob buffs instead of first player.

Besides this 2 things code is great.

are u sure? im trying but dont work... newbie guide don't change target to me if my level is over 24...

one player say me ... he click a los of times in a few time in Buff me... and Guide give to him all buffs (fighters and mystics), is posible ? or is a joke ?

Aspire 07.01.2006 11:46

Quote:

Originally Posted by FidoW
there a problem... for example, with a player level 20, click on "buff me"... and run... the guide run behind you... you can move the newbie guide to any part of the world... and he don't return, how to fix this? in my server newbies go with the newbie guide too far...

(maybe in npcpos ? i don't know... is a newbie question..., maybe with WayPoints? or... similar to orfen ai ? he return...)
can help me ?

sorry my english, im spanish.

change the skill range to 5000, and giude can buff runaway from them target.
sorry im a russian :roll:


All times are GMT. The time now is 22:58.