Jump to content

Recommended Posts

Hello guys I have added COSTUME_MOUNT system by Enzi and I have a bug. So when I click the seal it goes normally at it's new slot but the character is not riding the mount. In fact nothing happens... Until a game refresh (teleport, etc...)! Then the character appears normally on the mount, after 5 game refreshes in 1 second... I double-checked my source and I have tried many quests. The last person I asked told me that he had the default (ride.quest) and the new (mount.quest) both compiled in the qc file. Can anybody help me please?

This is an image displaying the problem after I click the seal:

0605_221805.jpg.afc93420ffe9ebd9149be9b2

These are some quest files I've tried so far:

#1 - ride.quest

Spoiler

quest ride begin
    state start begin
        function Ride( vnum, remain_time )
            ride_info = {
                [71114] = { 20110,    5*60,                    apply.DEF_GRADE_BONUS,    75,        75,    false    },
                [71115] = { 20110,    5*60,    apply.DEF_GRADE_BONUS,    100,    75,    false    },
                [71116] = { 20111,    5*60,                    apply.DEF_GRADE_BONUS,    100,    80,    false    },
                [71117] = { 20111,    5*60,    apply.DEF_GRADE_BONUS,    150,    80,    false    },
                [71118] = { 20112,    5*60,                    apply.DEF_GRADE_BONUS,    125,    85,    false    },
                [71119] = { 20112,    5*60,    apply.DEF_GRADE_BONUS,    200,    85,    false    },
                [71120] = { 20113,    5*60,                    apply.ATT_GRADE_BONUS,    200,    85,    false    },
                [71121] = { 20113,    5*60,    apply.ATT_GRADE_BONUS,    300,    85,    false    },
                [71171] = { 20227,    5*60,    apply.ATTBONUS_MONSTER,    20,        1,    false,    false,    false},
                [71172] = { 20226,    5*60,    apply.ATTBONUS_MONSTER,    20,        1,    false,    false,    false},
                [71161] = { 20219,    5*60,    apply.STR,    100,        1,    false,    false,    false},                
                [71124] = { 20114,    5*60,    apply.MOV_SPEED,    0,    1,    false    },
                [71125] = { 20115,    5*60,    apply.ATTBONUS_MONSTER,    20,        20,    false    },
                [71126] = { 20116,    5*60,    apply.ATTBONUS_MONSTER,    20,        20,    false    },
                [71127] = { 20117,    5*60,    apply.ATTBONUS_MONSTER,    20,        20,    false    },
                [71128] = { 20118,    5*60,    apply.ATTBONUS_MONSTER,    20,        20,    false    },
                [71137] = { 20120,    5*60,    apply.MOV_SPEED, 0,    1,    false,    false,    false},
                [71138] = { 20121,    5*60,    apply.MOV_SPEED, 0,    1,    false,    false,    false},
                [71139] = { 20122,    5*60,    apply.MOV_SPEED, 0,    1,    false,    false,    false},
                [71140] = { 20123,    5*60,    apply.MOV_SPEED, 0,    1,    false,    false,    false},
                [71141] = { 20124,    5*60,    apply.MOV_SPEED, 0,    1,    false,    false,    false},
                [71142] = { 20125,    5*60,    apply.MOV_SPEED, 0,    1,    false,    false,    false},
                [71176] = { 20231,    5*60,    apply.MOV_SPEED,    30,        1,    false,    false,    false},
                [71177] = { 20232,    5*60,    apply.MOV_SPEED,    30,        1,    false,    false,    false},
                [71131] = { 20119,    5*60,    apply.MOV_SPEED, 60,    1,    false    },
                [71132] = { 20119,    5*60,    apply.MOV_SPEED, 60,    1,    false    },
                [71133] = { 20119,    5*60,    apply.MOV_SPEED, 60,    1,    false    },
                [71134] = { 20119,    5*60,    apply.ATTBONUS_MONSTER,    20,    1,    false    },
                [71161] = { 20219,    5*60,    apply.ATTBONUS_MONSTER,    20,    1,    false    },
                [71164] = { 20220,    5*60,    apply.MOV_SPEED,    60,        1,    false,    false,    false},
                [71165] = { 20221,    5*60,    apply.MOV_SPEED,    60,        1,    false,    false,    false},
                [71166] = { 20222,    5*60,    apply.MOV_SPEED,    60,        1,    false,    false,    false},

                -- Mounturi upgradable
                [52001] = { 20201,    60*60*24*365, apply.ATTBONUS_MONSTER,    0,    0,    false,    true    },
                [52002] = { 20201,    60*60*24*365, apply.MALL_EXPBONUS,        0,    0,    false,    true    },
                [52003] = { 20201,    60*60*24*365, apply.MAX_HP,                0,    0,    false,    true    },
                [52004] = { 20201,    60*60*24*365, apply.DEF_GRADE_BONUS,    0,    0,    false,    true    },
                [52005] = { 20201,    60*60*24*365, apply.ATT_GRADE_BONUS,    0,    0,    false,    true    },
                [52006] = { 20205,    60*60*24*365, apply.ATTBONUS_MONSTER,    3,    0,    false,    true    },
                [52007] = { 20205,    60*60*24*365, apply.MALL_EXPBONUS,        3,    0,    false,    true    },
                [52008] = { 20205,    60*60*24*365, apply.MAX_HP,                250,    0,    false,    true    },
                [52009] = { 20205,    60*60*24*365, apply.DEF_GRADE_BONUS,    50,    0,    false,    true    },
                [52010] = { 20205,    60*60*24*365, apply.ATT_GRADE_BONUS,    30,    0,    false,    true    },
                [52011] = { 20209,    60*60*24*365, apply.ATTBONUS_MONSTER,    5,    0,    false,    true    },
                [52012] = { 20209,    60*60*24*365, apply.MALL_EXPBONUS,        5,    0,    false,    true    },
                [52013] = { 20209,    60*60*24*365, apply.MAX_HP,                500,    0,    false,    true    },
                [52014] = { 20209,    60*60*24*365, apply.DEF_GRADE_BONUS,    150,    0,    false,    true    },
                [52015] = { 20209,    60*60*24*365, apply.ATT_GRADE_BONUS,    100,    0,    false,    true    },

                [52016]    = { 20202,    60*60*24*365, apply.ATTBONUS_MONSTER,    0,    0,    false,    true    },
                [52017] = { 20202,    60*60*24*365, apply.MALL_EXPBONUS,        0,    0,    false,    true    },
                [52018] = { 20202,    60*60*24*365, apply.MAX_HP,                0,    0,    false,    true    },
                [52019] = { 20202,    60*60*24*365, apply.DEF_GRADE_BONUS,    0,    0,    false,    true    },
                [52020] = { 20202,    60*60*24*365, apply.ATT_GRADE_BONUS,    0,    0,    false,    true    },
                [52021] = { 20206,    60*60*24*365, apply.ATTBONUS_MONSTER,    3 ,    0,    false,    true    },
                [52022] = { 20206,    60*60*24*365, apply.MALL_EXPBONUS,        3 ,    0,    false,    true    },
                [52023] = { 20206,    60*60*24*365, apply.MAX_HP,                250,    0,    false,    true    },
                [52024] = { 20206,    60*60*24*365, apply.DEF_GRADE_BONUS,    50,    0,    false,    true    },
                [52025] = { 20206,    60*60*24*365, apply.ATT_GRADE_BONUS,    30,    0,    false,    true    },
                [52026] = { 20210,    60*60*24*365, apply.ATTBONUS_MONSTER,    5 ,    0,    false,    true    },
                [52027] = { 20210,    60*60*24*365, apply.MALL_EXPBONUS,        5 ,    0,    false,    true    },
                [52028] = { 20210,    60*60*24*365, apply.MAX_HP,                500,    0,    false,    true    },
                [52029] = { 20210,    60*60*24*365, apply.DEF_GRADE_BONUS,    150,    0,    false,    true    },
                [52030] = { 20210,    60*60*24*365, apply.ATT_GRADE_BONUS,    100,    0,    false,    true    },

                [52031]= { 20204,    60*60*24*365, apply.ATTBONUS_MONSTER,    0,    0,    false,    true    },
                [52032]= { 20204,    60*60*24*365, apply.MALL_EXPBONUS,        0,    0,    false,    true    },
                [52033]= { 20204,    60*60*24*365, apply.MAX_HP,                0,    0,    false,    true    },
                [52034]= { 20204,    60*60*24*365, apply.DEF_GRADE_BONUS,    0,    0,    false,    true    },
                [52035]= { 20204,    60*60*24*365, apply.ATT_GRADE_BONUS,    0,    0,    false,    true    },
                [52036]= { 20208,    60*60*24*365, apply.ATTBONUS_MONSTER,    3 ,    0,    false,    true    },
                [52037]= { 20208,    60*60*24*365, apply.MALL_EXPBONUS,        3 ,    0,    false,    true    },
                [52038]= { 20208,    60*60*24*365, apply.MAX_HP,                250,    0,    false,    true    },
                [52039]= { 20208,    60*60*24*365, apply.DEF_GRADE_BONUS,    50,    0,    false,    true    },
                [52040]= { 20208,    60*60*24*365, apply.ATT_GRADE_BONUS,    30,    0,    false,    true    },
                [52041]= { 20212,    60*60*24*365, apply.ATTBONUS_MONSTER,    5 ,    0,    false,    true    },
                [52042]= { 20212,    60*60*24*365, apply.MALL_EXPBONUS,        5 ,    0,    false,    true    },
                [52043]= { 20212,    60*60*24*365, apply.MAX_HP,                500,    0,    false,    true    },
                [52044]= { 20212,    60*60*24*365, apply.DEF_GRADE_BONUS,    150,    0,    false,    true    },
                [52045]= { 20212,    60*60*24*365, apply.ATT_GRADE_BONUS,    100,    0,    false,    true    },

                [52046]= { 20203,    60*60*24*365, apply.ATTBONUS_MONSTER,    0,    0,    false,    true    },
                [52047]= { 20203,    60*60*24*365, apply.MALL_EXPBONUS,        0,    0,    false,    true    },
                [52048]= { 20203,    60*60*24*365, apply.MAX_HP,                0,    0,    false,    true    },
                [52049]= { 20203,    60*60*24*365, apply.DEF_GRADE_BONUS,    0,    0,    false,    true    },
                [52050]= { 20203,    60*60*24*365, apply.ATT_GRADE_BONUS,    0,    0,    false,    true    },
                [52051]= { 20207,    60*60*24*365, apply.ATTBONUS_MONSTER,    3 ,    0,    false,    true    },
                [52052]= { 20207,    60*60*24*365, apply.MALL_EXPBONUS,        3 ,    0,    false,    true    },
                [52053]= { 20207,    60*60*24*365, apply.MAX_HP,                250,    0,    false,    true    },
                [52054]= { 20207,    60*60*24*365, apply.DEF_GRADE_BONUS,    50,    0,    false,    true    },
                [52055]= { 20207,    60*60*24*365, apply.ATT_GRADE_BONUS,    30,    0,    false,    true    },
                [52056]= { 20211,    60*60*24*365, apply.ATTBONUS_MONSTER,    5 ,    0,    false,    true    },
                [52057]= { 20211,    60*60*24*365, apply.MALL_EXPBONUS,        5 ,    0,    false,    true    },
                [52058]= { 20211,    60*60*24*365, apply.MAX_HP,                500,    0,    false,    true    },
                [52059]= { 20211,    60*60*24*365, apply.DEF_GRADE_BONUS,    150,    0,    false,    true    },
                [52060]= { 20211,    60*60*24*365, apply.ATT_GRADE_BONUS,    100,    0,    false,    true    },

                [52061]= { 20213,    60*60*24*365, apply.ATTBONUS_MONSTER,    0,    0,    false,    true    },
                [52062]= { 20213,    60*60*24*365, apply.MALL_EXPBONUS,        0,    0,    false,    true    },
                [52063]= { 20213,    60*60*24*365, apply.MAX_HP,                0,    0,    false,    true    },
                [52064]= { 20213,    60*60*24*365, apply.DEF_GRADE_BONUS,    0,    0,    false,    true    },
                [52065]= { 20213,    60*60*24*365, apply.ATT_GRADE_BONUS,    0,    0,    false,    true    },
                [52066]= { 20214,    60*60*24*365, apply.ATTBONUS_MONSTER,    3 ,    0,    false,    true    },
                [52067]= { 20214,    60*60*24*365, apply.MALL_EXPBONUS,        3 ,    0,    false,    true    },
                [52068]= { 20214,    60*60*24*365, apply.MAX_HP,                250,    0,    false,    true    },
                [52069]= { 20214,    60*60*24*365, apply.DEF_GRADE_BONUS,    50,    0,    false,    true    },
                [52070]= { 20214,    60*60*24*365, apply.ATT_GRADE_BONUS,    30,    0,    false,    true    },
                [52071]= { 20215,    60*60*24*365, apply.ATTBONUS_MONSTER,    5 ,    0,    false,    true    },
                [52072]= { 20215,    60*60*24*365, apply.MALL_EXPBONUS,        5 ,    0,    false,    true    },
                [52073]= { 20215,    60*60*24*365, apply.MAX_HP,                500,    0,    false,    true    },
                [52074]= { 20215,    60*60*24*365, apply.DEF_GRADE_BONUS,    150,    0,    false,    true    },
                [52075]= { 20215,    60*60*24*365, apply.ATT_GRADE_BONUS,    100,    0,    false,    true    },

                [52076]= { 20216,    60*60*24*365, apply.ATTBONUS_MONSTER,    0,    0,    false,    true    },
                [52077]= { 20216,    60*60*24*365, apply.MALL_EXPBONUS,        0,    0,    false,    true    },
                [52078]= { 20216,    60*60*24*365, apply.MAX_HP,                0,    0,    false,    true    },
                [52079]= { 20216,    60*60*24*365, apply.DEF_GRADE_BONUS,    0,    0,    false,    true    },
                [52080]= { 20216,    60*60*24*365, apply.ATT_GRADE_BONUS,    0,    0,    false,    true    },
                [52081]= { 20217,    60*60*24*365, apply.ATTBONUS_MONSTER,    3 ,    0,    false,    true    },
                [52082]= { 20217,    60*60*24*365, apply.MALL_EXPBONUS,        3 ,    0,    false,    true    },
                [52083]= { 20217,    60*60*24*365, apply.MAX_HP,                250,    0,    false,    true    },
                [52084]= { 20217,    60*60*24*365, apply.DEF_GRADE_BONUS,    50,    0,    false,    true    },
                [52085]= { 20217,    60*60*24*365, apply.ATT_GRADE_BONUS,    30,    0,    false,    true    },
                [52086]= { 20218,    60*60*24*365, apply.ATTBONUS_MONSTER,    5 ,    0,    false,    true    },
                [52087]= { 20218,    60*60*24*365, apply.MALL_EXPBONUS,        5 ,    0,    false,    true    },
                [52088]= { 20218,    60*60*24*365, apply.MAX_HP,                500,    0,    false,    true    },
                [52089]= { 20218,    60*60*24*365, apply.DEF_GRADE_BONUS,    150,    0,    false,    true    },
                [52090]= { 20218,    60*60*24*365, apply.ATT_GRADE_BONUS,    100,    0,    false,    true    },

                [52091]= { 20223,    60*60*24*365, apply.ATTBONUS_MONSTER,    0,    0,    false,    true    },
                [52092]= { 20223,    60*60*24*365, apply.MALL_EXPBONUS,        0,    0,    false,    true    },
                [52093]= { 20223,    60*60*24*365, apply.MAX_HP,                0,    0,    false,    true    },
                [52094]= { 20223,    60*60*24*365, apply.DEF_GRADE_BONUS,    0,    0,    false,    true    },
                [52095]= { 20223,    60*60*24*365, apply.ATT_GRADE_BONUS,    0,    0,    false,    true    },
                [52096]= { 20224,    60*60*24*365, apply.ATTBONUS_MONSTER,    3 ,    0,    false,    true    },
                [52097]= { 20224,    60*60*24*365, apply.MALL_EXPBONUS,        3 ,    0,    false,    true    },
                [52098]= { 20224,    60*60*24*365, apply.MAX_HP,                250,    0,    false,    true    },
                [52099]= { 20224,    60*60*24*365, apply.DEF_GRADE_BONUS,    50,    0,    false,    true    },
                [52100]= { 20224,    60*60*24*365, apply.ATT_GRADE_BONUS,    30,    0,    false,    true    },
                [52101]= { 20225,    60*60*24*365, apply.ATTBONUS_MONSTER,    5 ,    0,    false,    true    },
                [52102]= { 20225,    60*60*24*365, apply.MALL_EXPBONUS,        5 ,    0,    false,    true    },
                [52103]= { 20225,    60*60*24*365, apply.MAX_HP,                500,    0,    false,    true    },
                [52104]= { 20225,    60*60*24*365, apply.DEF_GRADE_BONUS,    150,    0,    false,    true    },
                [52105]= { 20225,    60*60*24*365, apply.ATT_GRADE_BONUS,    100,    0,    false,    true    },

                [52106]= { 20228,    60*60*24*365, apply.ATTBONUS_MONSTER,    0 ,    0,    false,    true    },
                [52107]= { 20228,    60*60*24*365, apply.MALL_EXPBONUS,        0 ,    0,    false,    true    },
                [52108]= { 20228,    60*60*24*365, apply.MAX_HP,                0,    0,    false,    true    },
                [52109]= { 20228,    60*60*24*365, apply.DEF_GRADE_BONUS,    0,    0,    false,    true    },
                [52110]= { 20229,    60*60*24*365, apply.ATT_GRADE_BONUS,    0,    0,    false,    true    },
                [52111]= { 20229,    60*60*24*365, apply.ATTBONUS_MONSTER,    3 ,    0,    false,    true    },
                [52112]= { 20229,    60*60*24*365, apply.MALL_EXPBONUS,        3 ,    0,    false,    true    },
                [52113]= { 20229,    60*60*24*365, apply.MAX_HP,                250,    0,    false,    true    },
                [52114]= { 20229,    60*60*24*365, apply.DEF_GRADE_BONUS,    50,    0,    false,    true    },
                [52115]= { 20229,    60*60*24*365, apply.ATT_GRADE_BONUS,    30,    0,    false,    true    },
                [52116]= { 20230,    60*60*24*365, apply.ATTBONUS_MONSTER,    5 ,    0,    false,    true    },
                [52117]= { 20230,    60*60*24*365, apply.MALL_EXPBONUS,        5 ,    0,    false,    true    },
                [52118]= { 20230,    60*60*24*365, apply.MAX_HP,                500,    0,    false,    true    },
                [52119]= { 20230,    60*60*24*365, apply.DEF_GRADE_BONUS,    150,    0,    false,    true    },
                [52120]= { 20230,    60*60*24*365, apply.ATT_GRADE_BONUS,    100,    0,    false,    true    },
                }

            if pc.level < ride_info[vnum][5] then
                syschat("Nivelul tau este prea mic pentru acest mount.")
            else
                if ride_info[vnum][2] == 0 and remain_time != 0 then
                    pc.mount( ride_info[vnum][1], remain_time*60 )
                    pc.mount_bonus( ride_info[vnum][3], ride_info[vnum][4], remain_time*60 )
                else
                    pc.mount( ride_info[vnum][1], ride_info[vnum][2] )
                    pc.mount_bonus( ride_info[vnum][3], ride_info[vnum][4], ride_info[vnum][2] )
                end

                if true == ride_info[vnum][6] then
                    pc.remove_item(vnum, 1)
                end    
            end    
        end

        when login begin
            local vnum, remain_time = pc.get_special_ride_vnum()

            if 0 != vnum then
                ride.Ride(vnum, remain_time)
            end
        end

        when 71114.use or 71115.use or 71116.use or 71117.use or
            71118.use or 71119.use or 71120.use or 71121.use or 71124.use or
            71125.use or 71126.use or 71127.use or 71128.use or 
            71131.use or 71132.use or 71133.use or 71134.use or 
            71137.use or 71138.use or 71139.use or 71140.use or 
            71141.use or 71142.use or 71161.use or 71164.use or
            71165.use or 71166.use or 71171.use or 71172.use or 
            71176.use or 71177.use or 52001.use or 52002.use or
            52003.use or 52004.use or 52005.use  or 52006.use or 52007.use or 52008.use or 52009.use or 52010.use  or 52011.use or 52012.use or 52013.use or 52014.use or 52015.use or
            52016.use or 52017.use or 52018.use or 52019.use or 52020.use  or 52021.use or 52022.use or 52023.use or 52024.use or 52025.use  or 52026.use or 52027.use or 52028.use or 52029.use or 52030.use or
            52031.use or 52032.use or 52033.use or 52034.use or 52035.use  or 52036.use or 52037.use or 52038.use or 52039.use or 52040.use  or 52041.use or 52042.use or 52043.use or 52044.use or 52045.use or
            52046.use or 52047.use or 52048.use or 52049.use or 52050.use or  52051.use or 52052.use or 52053.use or 52054.use or 52055.use or 52056.use or 52057.use or 52058.use or 52059.use or 52060.use or
            52061.use or 52062.use or 52063.use or 52064.use or 52065.use or 52066.use or 52067.use or 52068.use or 52069.use or 52070.use or 52071.use or 52072.use or 52073.use or 52074.use or 52075.use or 
            52076.use or 52077.use or 52078.use or 52079.use or 52080.use or 52081.use or 52082.use or 52083.use or 52084.use or 52085.use or 52086.use or 52087.use or 52088.use or 52089.use or 52090.use or
            52091.use or 52092.use or 52093.use or 52094.use or 52095.use or 52096.use or 52097.use or 52098.use or 52099.use or 52100.use or 52101.use or 52102.use or 52103.use or 52104.use or 52105.use or
            52106.use or 52107.use or 52108.use or 52109.use or 52110.use or 52111.use or 52112.use or 52113.use or 52114.use or 52115.use or 52116.use or 52117.use or 52118.use or 52119.use or 52120.use begin

            if pc.is_polymorphed() then
                syschat("Nu poti calarii in timp ce esti transformat.")
            elseif false == pc.is_riding() then
                 if true == horse.is_summon() then
                    horse.unsummon()
                end
                ride.Ride(item.vnum, 0)
            else
                pc.unmount()
            end
        end
    end
end

#2 - mount.quest

Spoiler

quest ride begin
    state start begin
        function Ride( vnum, remain_time )
            ride_info = {
                [71114] = { 20110,    5*60,                    apply.DEF_GRADE_BONUS,    75,        75,    false    },
                [71115] = { 20110,    5*60,    apply.DEF_GRADE_BONUS,    100,    75,    false    },
                [71116] = { 20111,    5*60,                    apply.DEF_GRADE_BONUS,    100,    80,    false    },
                [71117] = { 20111,    5*60,    apply.DEF_GRADE_BONUS,    150,    80,    false    },
                [71118] = { 20112,    5*60,                    apply.DEF_GRADE_BONUS,    125,    85,    false    },
                [71119] = { 20112,    5*60,    apply.DEF_GRADE_BONUS,    200,    85,    false    },
                [71120] = { 20113,    5*60,                    apply.ATT_GRADE_BONUS,    200,    85,    false    },
                [71121] = { 20113,    5*60,    apply.ATT_GRADE_BONUS,    300,    85,    false    },
                [71171] = { 20227,    5*60,    apply.ATTBONUS_MONSTER,    20,        1,    false,    false,    false},
                [71172] = { 20226,    5*60,    apply.ATTBONUS_MONSTER,    20,        1,    false,    false,    false},
                [52106] = { 20228,    5*60,    apply.ATTBONUS_ANIMAL,    4,        1,    false,    false,    false},
                [52107] = { 20228,    5*60,    apply.EXP_DOUBLE_BONUS,    3,        1,    false,    false,    false},
                [52108] = { 20228,    5*60,    apply.MAX_HP,    300,        1,    false,    false,    false},
                [52109] = { 20228,    5*60,    apply.DEX,    70,        1,    false,    false,    false},
                [52110] = { 20228,    5*60,    apply.STR,    60,        1,    false,    false,    false},
                [52111] = { 20229,    5*60,    apply.ATTBONUS_ANIMAL,    3,        1,    false,    false,    false},
                [52112] = { 20229,    5*60,    apply.EXP_DOUBLE_BONUS,    3,        1,    false,    false,    false},
                [52113] = { 20229,    5*60,    apply.MAX_HP,    250,        1,    false,    false,    false},
                [52114] = { 20229,    5*60,    apply.DEX,    50,        1,    false,    false,    false},
                [52115] = { 20229,    5*60,    apply.STR,    30,        1,    false,    false,    false},
                [52116] = { 20230,    5*60,    apply.ATTBONUS_ANIMAL,    5,        1,    false,    false,    false},
                [52117] = { 20230,    5*60,    apply.EXP_DOUBLE_BONUS,    5,        1,    false,    false,    false},
                [52118] = { 20230,    5*60,    apply.MAX_HP,    500,        1,    false,    false,    false},
                [52119] = { 20230,    5*60,    apply.DEX,    150,        1,        1,    false,    false,    false},
                [52120] = { 20230,    5*60,    apply.STR,    100,        1,    false,    false,    false},
                [71161] = { 20219,    5*60,    apply.STR,    100,        1,    false,    false,    false},                
                [71124] = { 20114,    5*60,    apply.MOV_SPEED,    0,    1,    false    },
                [71125] = { 20115,    5*60,    apply.ATTBONUS_MONSTER,    20,        20,    false    },
                [71126] = { 20116,    5*60,    apply.ATTBONUS_MONSTER,    20,        20,    false    },
                [71127] = { 20117,    5*60,    apply.ATTBONUS_MONSTER,    20,        20,    false    },
                [71128] = { 20118,    5*60,    apply.ATTBONUS_MONSTER,    20,        20,    false    },
                [71137] = { 20120,    5*60,    apply.MOV_SPEED, 0,    1,    false,    false,    false},
                [71138] = { 20121,    5*60,    apply.MOV_SPEED, 0,    1,    false,    false,    false},
                [71139] = { 20122,    5*60,    apply.MOV_SPEED, 0,    1,    false,    false,    false},
                [71140] = { 20123,    5*60,    apply.MOV_SPEED, 0,    1,    false,    false,    false},
                [71141] = { 20124,    5*60,    apply.MOV_SPEED, 0,    1,    false,    false,    false},
                [71142] = { 20125,    5*60,    apply.MOV_SPEED, 0,    1,    false,    false,    false},
                [71176] = { 20231,    5*60,    apply.MOV_SPEED,    30,        1,    false,    false,    false},
                [71177] = { 20232,    5*60,    apply.MOV_SPEED,    30,        1,    false,    false,    false},
                [71131] = { 20119,  5*60,    apply.MOV_SPEED, 60,    1,    false    },
                [71132] = { 20119,  5*60,    apply.MOV_SPEED, 60,    1,    false    },
                [71133] = { 20119,  5*60,    apply.MOV_SPEED, 60,    1,    false    },
                [71134] = { 20119,  5*60,    apply.ATTBONUS_MONSTER,    20,    1,    false    },
                [71161] = { 20219,  5*60,    apply.ATTBONUS_MONSTER,    20,    1,    false    },
                }

            if pc.level < ride_info[vnum][5] then
                syschat("Your level is too low to use this mount.")
            else
                if ride_info[vnum][2] == 0 and remain_time != 0 then
                    pc.mount( ride_info[vnum][1], remain_time*60 )
                    pc.mount_bonus( ride_info[vnum][3], ride_info[vnum][4], remain_time*60 )
                else
                    pc.mount( ride_info[vnum][1], ride_info[vnum][2] )
                    pc.mount_bonus( ride_info[vnum][3], ride_info[vnum][4], ride_info[vnum][2] )
                end

                if true == ride_info[vnum][6] then
                    pc.remove_item(vnum, 1)
                end    
            end    
        end

        when login begin
            local vnum, remain_time = pc.get_special_ride_vnum()

            if 0 != vnum then
                ride.Ride(vnum, remain_time)
            end
        end

        when 71114.use or 71115.use or 71116.use or 71117.use or
            71118.use or 71119.use or 71120.use or 71121.use or 71124.use or
            71125.use or 71126.use or 71127.use or 71128.use or 
            71131.use or 71132.use or 71133.use or 71134.use or 71161.use or 71137.use or 71138.use or 71139.use begin

            if pc.is_polymorphed() then
                syschat("You canΒ΄t ride if youΒ΄re polymorphed!")
            elseif false == pc.is_riding() then
                 if true == horse.is_summon() then
                    horse.unsummon()
                end
                ride.Ride(item.vnum, 0)
            else
                pc.unmount()
            end
        end

        when 52001.use or 52002.use or 52003.use or 52004.use or 52005.use or 52006.use or 52007.use or 52008.use or 52009.use or 52010.use or 52011.use or 52012.use or 52013.use or 52014.use or 52015.use or
            52016.use or 52017.use or 52018.use or 52019.use or 52020.use or 52021.use or 52022.use or 52023.use or 52024.use or 52025.use or 52026.use or 52027.use or 52028.use or 52029.use or 52030.use or
            52031.use or 52032.use or 52033.use or 52034.use or 52035.use or 52036.use or 52037.use or 52038.use or 52039.use or 52040.use or 52041.use or 52042.use or 52043.use or 52044.use or 52045.use or
            52046.use or 52047.use or 52048.use or 52049.use or 52050.use or 52051.use or 52052.use or 52053.use or 52054.use or 52055.use or 52056.use or 52057.use or 52058.use or 52059.use or 52060.use or
            52061.use or 52062.use or 52063.use or 52064.use or 52065.use or 52066.use or 52067.use or 52068.use or 52069.use or 52070.use or 52071.use or 52072.use or 52073.use or 52074.use or 52075.use or 
            52076.use or 52077.use or 52078.use or 52079.use or 52080.use or 52081.use or 52082.use or 52083.use or 52084.use or 52085.use or 52086.use or 52087.use or 52088.use or 52089.use or 52090.use or 71164.use or
            52091.use or 52092.use or 52093.use or 52094.use or 52095.use or 52096.use or 52097.use or 52098.use or 52099.use or 52100.use or 52101.use or 52102.use or 52103.use or 52104.use or 52105.use begin
            if pc.is_polymorphed() then
                syschat("You canΒ΄t ride if youΒ΄re polymorphed!")
            elseif false == pc.is_riding() then
                if true == horse.is_summon() then
                    horse.unsummon()
                end

                ride.Ride(item.vnum, 0)
            else
                pc.unmount()
            end
        end
    end
end

#3 - reittier.quest

Spoiler

quest reittier begin
    state start begin 
        when 71114.use or 71115.use or 71116.use or 71117.use or 71118.use or 71119.use or 71120.use or 71121.use with pc.is_mount() begin         
            pc.mount(0)
        end
        when 71114.use begin 
            affect.remove_collect()           
            pc.mount(20110,28800)
            pc.mount_bonus(apply.DEF_GRADE_BONUS,75,28800)
            pc.mount_bonus(apply.EXP_DOUBLE_BONUS,20,28800)
            pc.mount_bonus(apply.ATT_GRADE_BONUS,50,28800) 
        end     
        when 71115.use begin 
            affect.remove_collect()           
            pc.mount(20110,28800)
            pc.mount_bonus(apply.DEF_GRADE_BONUS,100,28800)
            pc.mount_bonus(apply.EXP_DOUBLE_BONUS,20,28800)
            pc.mount_bonus(apply.ATT_GRADE_BONUS,50,28800) 
        end   
        when 71116.use begin 
            affect.remove_collect()           
            pc.mount(20111,28800)
            pc.mount_bonus(apply.DEF_GRADE_BONUS,100,28800)
            pc.mount_bonus(apply.EXP_DOUBLE_BONUS,20,28800)
            pc.mount_bonus(apply.ATT_GRADE_BONUS,50,28800) 
        end   
        when 71117.use begin 
            affect.remove_collect()           
            pc.mount(20111,28800)
            pc.mount_bonus(apply.DEF_GRADE_BONUS,150,28800)
            pc.mount_bonus(apply.EXP_DOUBLE_BONUS,20,28800)
            pc.mount_bonus(apply.ATT_GRADE_BONUS,50,28800) 
        end    
        when 71118.use begin 
            affect.remove_collect()           
            pc.mount(20112,28800)
            pc.mount_bonus(apply.DEF_GRADE_BONUS,125,28800)
            pc.mount_bonus(apply.EXP_DOUBLE_BONUS,20,28800)
            pc.mount_bonus(apply.ATT_GRADE_BONUS,50,28800) 
        end    
        when 71119.use begin 
            affect.remove_collect()           
            pc.mount(20112,28800)
            pc.mount_bonus(apply.DEF_GRADE_BONUS,200,28800)
            pc.mount_bonus(apply.EXP_DOUBLE_BONUS,20,28800)
            pc.mount_bonus(apply.ATT_GRADE_BONUS,50,28800) 
        end    
        when 71120.use begin 
            affect.remove_collect()           
            pc.mount(20113,28800)
            pc.mount_bonus(apply.DEF_GRADE_BONUS,200,28800)
            pc.mount_bonus(apply.EXP_DOUBLE_BONUS,20,28800)
            pc.mount_bonus(apply.ATT_GRADE_BONUS,50,28800) 
        end    
        when 71121.use begin 
            affect.remove_collect()           
            pc.mount(20113,28800)
            pc.mount_bonus(apply.ATT_GRADE_BONUS,300,28800)
            pc.mount_bonus(apply.EXP_DOUBLE_BONUS,20,28800)
            pc.mount_bonus(apply.ATT_GRADE_BONUS,300,28800) 
        end
        when 71124.use begin 
            affect.remove_collect()           
            pc.mount(20114,28800)
            pc.mount_bonus(apply.EXP_DOUBLE_BONUS,20,28800)
            pc.mount_bonus(apply.ATT_GRADE_BONUS,50,28800) 
        end
        when 71125.use begin 
            affect.remove_collect()           
            pc.mount(20115,28800)
            pc.mount_bonus(apply.ATTBONUS_MONSTER,20,28800)
            pc.mount_bonus(apply.EXP_DOUBLE_BONUS,20,28800)
            pc.mount_bonus(apply.ATT_GRADE_BONUS,50,28800) 
        end
        when 71126.use begin 
            affect.remove_collect()           
            pc.mount(20116,28800)
            pc.mount_bonus(apply.ATTBONUS_MONSTER,20,28800)
            pc.mount_bonus(apply.EXP_DOUBLE_BONUS,20,28800)
            pc.mount_bonus(apply.ATT_GRADE_BONUS,50,28800) 
        end
        when 71127.use begin 
            affect.remove_collect()           
            pc.mount(20117,28800)
            pc.mount_bonus(apply.ATTBONUS_MONSTER,20,28800)
            pc.mount_bonus(apply.EXP_DOUBLE_BONUS,20,28800)
            pc.mount_bonus(apply.ATT_GRADE_BONUS,50,28800) 
        end
        when 71128.use begin 
            affect.remove_collect()           
            pc.mount(20118,28800)
            pc.mount_bonus(apply.ATTBONUS_MONSTER,20,28800)
            pc.mount_bonus(apply.EXP_DOUBLE_BONUS,20,28800)
            pc.mount_bonus(apply.ATT_GRADE_BONUS,50,28800) 
        end
        when 71131.use begin 
            affect.remove_collect()           
            pc.mount(20119,28800)
            pc.mount_bonus(apply.MOV_SPEED,60,28800)
            pc.mount_bonus(apply.EXP_DOUBLE_BONUS,20,28800)
            pc.mount_bonus(apply.ATT_GRADE_BONUS,50,28800) 
        end
        when 71132.use begin 
            affect.remove_collect()           
            pc.mount(20119,28800)
            pc.mount_bonus(apply.MOV_SPEED,60,28800)
            pc.mount_bonus(apply.EXP_DOUBLE_BONUS,20,28800)
            pc.mount_bonus(apply.ATT_GRADE_BONUS,50,28800) 
        end
        when 71133.use begin 
            affect.remove_collect()           
            pc.mount(20119,28800)
            pc.mount_bonus(apply.MOV_SPEED,60,28800)
            pc.mount_bonus(apply.EXP_DOUBLE_BONUS,20,28800)
            pc.mount_bonus(apply.ATT_GRADE_BONUS,50,28800) 
        end
        when 71134.use begin 
            affect.remove_collect()           
            pc.mount(20119,28800)
            pc.mount_bonus(apply.ATTBONUS_MONSTER,20,28800)
            pc.mount_bonus(apply.EXP_DOUBLE_BONUS,20,28800)
            pc.mount_bonus(apply.ATT_GRADE_BONUS,50,28800) 
        end
        when 71137.use begin 
            affect.remove_collect()           
            pc.mount(20150,28800)
            pc.mount_bonus(apply.EXP_DOUBLE_BONUS,20,28800)
            pc.mount_bonus(apply.ATT_GRADE_BONUS,50,28800) 
        end
        when 71138.use begin 
            affect.remove_collect()           
            pc.mount(20151,28800)
            pc.mount_bonus(apply.EXP_DOUBLE_BONUS,20,28800)
            pc.mount_bonus(apply.ATT_GRADE_BONUS,50,28800) 
        end
        when 71139.use begin 
            affect.remove_collect()           
            pc.mount(20152,28800)
            pc.mount_bonus(apply.EXP_DOUBLE_BONUS,20,28800)
            pc.mount_bonus(apply.ATT_GRADE_BONUS,50,28800) 
        end
        when 71140.use begin 
            affect.remove_collect()           
            pc.mount(20153,28800)
            pc.mount_bonus(apply.EXP_DOUBLE_BONUS,20,28800)
            pc.mount_bonus(apply.ATT_GRADE_BONUS,50,28800) 
        end
        when 71141.use begin 
            affect.remove_collect()           
            pc.mount(20154,28800)
            pc.mount_bonus(apply.EXP_DOUBLE_BONUS,20,28800)
            pc.mount_bonus(apply.ATT_GRADE_BONUS,50,28800) 
        end
        when 71142.use begin 
            affect.remove_collect()           
            pc.mount(20155,28800)
            pc.mount_bonus(apply.EXP_DOUBLE_BONUS,20,28800)
            pc.mount_bonus(apply.ATT_GRADE_BONUS,50,28800) 
        end
        when 71161.use begin
            affect.remove_collect()
            pc.mount(20219,28800)
            pc.mount_bonus(apply.ATTBONUS_MONSTER,20,28800)
            pc.mount_bonus(apply.EXP_DOUBLE_BONUS,20,28800)
            pc.mount_bonus(apply.ATT_GRADE_BONUS,50,28800)
        end
        when 71165.use begin 
            affect.remove_collect()           
            pc.mount(20221,28800)
            pc.mount_bonus(apply.EXP_DOUBLE_BONUS,20,28800)
            pc.mount_bonus(apply.ATT_GRADE_BONUS,50,28800) 
        end
        when 71166.use begin 
            affect.remove_collect()           
            pc.mount(20222,28800)
            pc.mount_bonus(apply.EXP_DOUBLE_BONUS,20,28800)
            pc.mount_bonus(apply.ATT_GRADE_BONUS,50,28800) 
        end
        when 71171.use begin
            affect.remove_collect()
            pc.mount(20227,28800)
            pc.mount_bonus(apply.ATTBONUS_MONSTER,20,28800)
            pc.mount_bonus(apply.EXP_DOUBLE_BONUS,20,28800)
            pc.mount_bonus(apply.ATT_GRADE_BONUS,50,28800)
        end
        when 71172.use begin
            affect.remove_collect()
            pc.mount(20226,28800)
            pc.mount_bonus(apply.ATTBONUS_MONSTER,20,28800)
            pc.mount_bonus(apply.EXP_DOUBLE_BONUS,20,28800)
            pc.mount_bonus(apply.ATT_GRADE_BONUS,50,28800)
        end
        when 71176.use begin
            affect.remove_collect()
            pc.mount(20231,28800)
            pc.mount_bonus(apply.MOV_SPEED,30,28800)
            pc.mount_bonus(apply.EXP_DOUBLE_BONUS,20,28800)
            pc.mount_bonus(apply.ATT_GRADE_BONUS,50,28800)
        end
        when 71177.use begin
            affect.remove_collect()
            pc.mount(20232,28800)
            pc.mount_bonus(apply.MOV_SPEED,30,28800)
            pc.mount_bonus(apply.EXP_DOUBLE_BONUS,20,28800)
            pc.mount_bonus(apply.ATT_GRADE_BONUS,50,28800)
        end
        when 52106.use begin
            pc.mount(20228,28800)
            pc.mount_bonus(apply.EXP_DOUBLE_BONUS,20,28800)
            pc.mount_bonus(apply.ATT_GRADE_BONUS,50,28800)
        end
        when 52107.use begin
            pc.mount(20228,28800)
            pc.mount_bonus(apply.EXP_DOUBLE_BONUS,20,28800)
            pc.mount_bonus(apply.ATT_GRADE_BONUS,50,28800)
        end
        when 52108.use begin
            pc.mount(20228,28800)
            pc.mount_bonus(apply.EXP_DOUBLE_BONUS,20,28800)
            pc.mount_bonus(apply.ATT_GRADE_BONUS,50,28800)
        end
        when 52109.use begin
            pc.mount(20228,28800)
            pc.mount_bonus(apply.EXP_DOUBLE_BONUS,20,28800)
            pc.mount_bonus(apply.ATT_GRADE_BONUS,50,28800)
        end
        when 52110.use begin
            pc.mount(20228,28800)
            pc.mount_bonus(apply.EXP_DOUBLE_BONUS,20,28800)
            pc.mount_bonus(apply.ATT_GRADE_BONUS,50,28800)
        end
        when 52111.use begin
            pc.mount(20229,28800)
            pc.mount_bonus(apply.ATTBONUS_MONSTER,3,28800)
            pc.mount_bonus(apply.EXP_DOUBLE_BONUS,20,28800)
            pc.mount_bonus(apply.ATT_GRADE_BONUS,50,28800)
        end
        when 52112.use begin
            pc.mount(20229,28800)
            pc.mount_bonus(apply.EXP_DOUBLE_BONUS,23,28800)
            pc.mount_bonus(apply.ATT_GRADE_BONUS,50,28800)
        end
        when 52113.use begin
            pc.mount(20229,28800)
            pc.mount_bonus(apply.MAX_HP,250,28800)
            pc.mount_bonus(apply.EXP_DOUBLE_BONUS,20,28800)
            pc.mount_bonus(apply.ATT_GRADE_BONUS,50,28800)
        end
        when 52114.use begin
            pc.mount(20229,28800)
            pc.mount_bonus(apply.DEF_GRADE_BONUS,150,28800)
            pc.mount_bonus(apply.EXP_DOUBLE_BONUS,20,28800)
            pc.mount_bonus(apply.ATT_GRADE_BONUS,50,28800)
        end
        when 52115.use begin
            pc.mount(20229,28800)
            pc.mount_bonus(apply.EXP_DOUBLE_BONUS,20,28800)
            pc.mount_bonus(apply.ATT_GRADE_BONUS,80,28800)
        end
        when 52116.use begin
            pc.mount(20230,28800)
            pc.mount_bonus(apply.ATTBONUS_MONSTER,5,28800)
            pc.mount_bonus(apply.EXP_DOUBLE_BONUS,20,28800)
            pc.mount_bonus(apply.ATT_GRADE_BONUS,50,28800)
        end
        when 52117.use begin
            pc.mount(20230,28800)
            pc.mount_bonus(apply.EXP_DOUBLE_BONUS,25,28800)
            pc.mount_bonus(apply.ATT_GRADE_BONUS,50,28800)
        end
        when 52118.use begin
            pc.mount(20230,28800)
            pc.mount_bonus(apply.MAX_HP,500,28800)
            pc.mount_bonus(apply.EXP_DOUBLE_BONUS,20,28800)
            pc.mount_bonus(apply.ATT_GRADE_BONUS,50,28800)
        end
        when 52119.use begin
            pc.mount(20230,28800)
            pc.mount_bonus(apply.DEF_GRADE_BONUS,150,28800)
            pc.mount_bonus(apply.EXP_DOUBLE_BONUS,20,28800)
            pc.mount_bonus(apply.ATT_GRADE_BONUS,50,28800)
        end
        when 52120.use begin
            pc.mount(20230,28800)
            pc.mount_bonus(apply.EXP_DOUBLE_BONUS,20,28800)
            pc.mount_bonus(apply.ATT_GRADE_BONUS,150,28800)
        end
    end   
end 

#4 - ride_costume_mount.quest

Spoiler

quest ride begin
state start begin
   function Ride( vnum )
     ride_info = {
     [71114] = { 20110,   5*60,apply.DEF_GRADE_BONUS,   70,75,   true   }, --gelb
     [71115] = { 20110,   5*60,apply.DEF_GRADE_BONUS,   100,100,   true   }, --blau
     [71116] = { 20111,   5*60,apply.DEF_GRADE_BONUS,   100,80,   true   }, --gelb
     [71117] = { 20111,   5*60,apply.DEF_GRADE_BONUS,   150,100,   true   }, --blau
     [71118] = { 20112,   5*60,apply.DEF_GRADE_BONUS,   125,80,   true   }, --gelb
     [71119] = { 20112,   5*60,apply.DEF_GRADE_BONUS,   200,100,   true   }, --blau
     [71120] = { 20113,   5*60,apply.ATT_GRADE_BONUS,   200,85,   true   }, --gelb
     [71121] = { 20113,   5*60,apply.ATT_GRADE_BONUS,   400,110,   true   }, --blau
     [71131] = { 20221,   5*60,apply.MOV_SPEED,   100,75,   true   }, --blau
   
   
     [52001]   = { 20201,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
     [52002]   = { 20201,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
     [52003]   = { 20201,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
     [52004]   = { 20201,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
     [52005]   = { 20201,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
   
     [52061]   = { 20213,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
     [52066]   = { 20214,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
   
   
     [52016]   = { 20202,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
     [52017]   = { 20202,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
     [52018]   = { 20202,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
     [52019]   = { 20202,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
     [52020]   = { 20202,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
   
     
     [52046]   = { 20203,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
     [52047]   = { 20203,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
     [52048]   = { 20203,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
     [52049]   = { 20203,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
     [52050]   = { 20203,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
   
   
     [52031]   = { 20204,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
     [52032]   = { 20204,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
     [52033]   = { 20204,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
     [52034]   = { 20204,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
     [52035]   = { 20204,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
   
     [52011]   = { 20209,   5*60,apply.ATTBONUS_MONSTER,   5,1,   false   }, --blau
     [52012]   = { 20209,   5*60,apply.EXP_DOUBLE_BONUS,   1,1,   false   }, --blau
     [52013]   = { 20209,   5*60,apply.MAX_HP,   500,1,   false   }, --blau
     [52014]   = { 20209,   5*60,apply.DEF_GRADE_BONUS,   150,1,   false   }, --blau
     [52015]   = { 20209,   5*60,apply.ATT_GRADE_BONUS,   100,1,   false   }, --blau
   
   
     [52026]   = { 20210,   5*60,apply.ATTBONUS_MONSTER,   5,1,   false   }, --blau
     [52027]   = { 20210,   5*60,apply.EXP_DOUBLE_BONUS,   1,1,   false   }, --blau
     [52028]   = { 20210,   5*60,apply.MAX_HP,   500,1,   false   }, --blau
     [52029]   = { 20210,   5*60,apply.DEF_GRADE_BONUS,   150,1,   false   }, --blau
     [52030]   = { 20210,   5*60,apply.ATT_GRADE_BONUS,   100,1,   false   }, --blau
   
     
     [52056]   = { 20211,   5*60,apply.ATTBONUS_MONSTER,   5,1,   false   }, --blau
     [52057]   = { 20211,   5*60,apply.EXP_DOUBLE_BONUS,   1,1,   false   }, --blau
     [52058]   = { 20211,   5*60,apply.MAX_HP,   500,1,   false   }, --blau
     [52059]   = { 20211,   5*60,apply.DEF_GRADE_BONUS,   150,1,   false   }, --blau
     [52060]   = { 20211,   5*60,apply.ATT_GRADE_BONUS,   100,1,   false   }, --blau
   
   
     [52041]   = { 20212,   5*60,apply.ATTBONUS_MONSTER,   5,1,   false   }, --blau
     [52042]   = { 20212,   5*60,apply.EXP_DOUBLE_BONUS,   1,1,   false   }, --blau
     [52043]   = { 20212,   5*60,apply.MAX_HP,   500,1,   false   }, --blau
     [52044]   = { 20212,   5*60,apply.DEF_GRADE_BONUS,   150,1,   false   }, --blau
     [52045]   = { 20212,   5*60,apply.ATT_GRADE_BONUS,   100,1,   false   }, --blau
   
     [71124] = { 20114,   item.get_socket(2)*100,POINT_EXP_DOUBLE_BONUS,1,1,   true   }, ----Weiίer Lφwe
     [71125] = { 20115,   item.get_socket(2)*60,apply.ATTBONUS_MONSTER,20,1,   true   }, --Kriegskeiler
     [71126] = { 20116,   item.get_socket(2)*60,apply.STEAL_HP,15,1,   true   }, --Streitwolf-Siegel
     [71127] = { 20117,   item.get_socket(2)*60,apply.HP_REGEN,50,1,   true   }, --Sturmtiger-Siegel
     [71128] = { 20118,   item.get_socket(2)*60,POINT_DEF_BONUS,15,1,   true   }, --Schlachtenlφwen-Siegel
     [52066] = { 20215,   item.get_socket(2)*50,ATTBONUS_MONSTER,15,1,   true   }, --Schlachtenlφwen-Siegel
   
   
     [80110] = { 20114,   item.get_socket(2)*60,POINT_EXP_DOUBLE_BONUS,1,1,   false   }, ----Weiίer Lφwe
     [80111] = { 20115,   item.get_socket(2)*60,apply.ATTBONUS_MONSTER,20,1,   false   }, --Kriegskeiler
     [80112] = { 20116,   item.get_socket(2)*60,apply.STEAL_HP,15,1,   false   }, --Streitwolf-Siegel
     [80113] = { 20117,   item.get_socket(2)*60,apply.HP_REGEN,50,1,   false   }, --Sturmtiger-Siegel
     [80114] = { 20118,   item.get_socket(2)*60,POINT_DEF_BONUS,15,1,   false   }, --Schlachtenlφwen-Siegel
   
     [71132] = { 20119,   60*60,apply.SKILL,1,1,   false   }, --Horse_event
     [71133] = { 20119,   120*60,apply.SKILL,1,1,   false   }, --Horse_event
     [71134] = { 20119,   180*60,apply.SKILL,1,1,   false   }, --Horse_event
     [71139] = { 20122,   180*60,apply.SKILL,1,1,   false   }, --Horse_event
   
     [71137] = { 20120,   item.get_socket(2)*60,PREMIUM_EXP,30,100,   false   }, --Horse_event
     }
     if pc.level < ride_info[vnum][5] then
       say_title("Informa?ie:")
       say("Nu ai nivelul necesar pentru a ξmblβnzi acest")
       say("mount, ξnearca mai tβrziu.")
       return
     elseif pc.is_polymorphed() then
       say_title("Informa?ie:")
       say("Nu po?i face aoa ceva cβt timp eoti transformat.")
       return
     elseif pc.is_riding() then
       say_title("Informa?ie:")
       say("Nu po?i face aoa ceva, deoarece eoti")
       say("deja pe un mount..")
       return
     else
   pc.mount( ride_info[vnum][1], ride_info[vnum][2] )
   pc.mount_bonus( ride_info[vnum][3], ride_info[vnum][4], ride_info[vnum][2] )
   if true == ride_info[vnum][6] then
   pc.remove_item(vnum, 1)
   end
   end
   end
   when 71114.use or 71137.use or 71115.use or 71116.use or 71117.use or 71118.use or 71119.use or 71120.use or 71121.use --normale siegel
   or 71124.use or 71125.use or 71126.use or 71127.use or 71128.use or 52061.use or 52066.use--48H reittier siegel
   or 80110.use or 80111.use or 80112.use or 80113.use or 80114.use --Anfangs Siegel Starterse
   or 71131.use or 71132.use or 71133.use or 71134.use or 52001.use or 52002.use or 52003.use or 52004.use or 52005.use
   or 52016.use or 52017.use or 52018.use or 52019.use or 52020.use or 52031.use or 52032.use or 52033.use or 52034.use or 52035.use
   or 52046.use or 52047.use or 52048.use or 52049.use or 52050.use or 71137.use or
   52011.use or 52012.use or 52013.use or 52014.use or 52015.use or 52026.use or 52027.use or 52028.use or 52029.use or 52030.use
   or 52056.use or 52057.use or 52058.use or 52059.use or 52060.use or 52041.use or 52042.use or 52043.use or 52044.use or 52045.use or 71139.use begin
     if pc.get_map_index() == 113 or
     pc.get_map_index() == 118 or
     pc.get_map_index() == 119 or
     pc.get_map_index() == 120 or
     pc.get_map_index() == 122 or
     pc.get_map_index() == 123 or
     pc.get_map_index() == 124 or
     pc.get_map_index() == 126 or
     pc.get_map_index() == 127 or
     pc.get_map_index() == 128 and not pc.is_gm() then
     return
     end
   ride.Ride(item.get_vnum())
   end
   when login begin
     if pc.get_map_index() == 113 or
     pc.get_map_index() == 118 or
     pc.get_map_index() == 119 or
     pc.get_map_index() == 120 or
     pc.get_map_index() == 122 or
     pc.get_map_index() == 123 or
     pc.get_map_index() == 124 or
     pc.get_map_index() == 126 or
     pc.get_map_index() == 127 or
     pc.get_map_index() == 128 and not pc.is_gm() then
     return
     end
     local vnum, remain_time = pc.get_special_ride_vnum()
     if 0 != vnum then
       if pc.is_polymorphed() then
         return
       elseif pc.is_riding() then
         return
       else
         ride.Ride(vnum, remain_time)
       end
     end
   end

end
end

Thanks guys...

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Similar Content

  • Activity

    1. 3

      Crystal Metinstone

    2. 3

      Feeding game source to LLM

    3. 113

      Ulthar SF V2 (TMP4 Base)

    4. 3

      Feeding game source to LLM

    5. 0

      Target Information System

    6. 3

      Feeding game source to LLM

    7. 2

      anti exp explanation pls

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.