Ir para conteúdo
  • Cadastre-se

Derivado Ajuda com script de vocação!


Posts Recomendados

Gostaria de uma ajuda, no servidor de dbo que eu baixei o transform.lua é diferente das outras:

 

Spoiler

local transform = 
{
    --[1] = {2, 0, 0, 6, 30, 5}
}
local texts = 
{
    level = "You don\'t have enough level.",
    mana = "You don\'t have enough mana.",
    transform = "You transform to "
}
function onSay(cid, param, words)
    local Player = transform[getPlayerVocation(cid)]
    if (Player == nil) then
        return true
    end
    if (getPlayerLevel(cid) < Player[5]) then
        return doPlayerSendTextMessage(cid, 22, texts.level)       
    elseif (getCreatureMana(cid) < Player[6]) then
        return doPlayerSendTextMessage(cid, 22, texts.mana)
    end
    
        doPlayerSetVocation(cid, Player[1])
        doCreatureAddMana(cid, -Player[6])
        doSetCreatureOutfit(cid, Player[4], -1)
        setCreatureMaxHealth(cid, getCreatureMaxHealth(cid) + Player[2])
        setCreatureMaxMana(cid, getCreatureMaxMana(cid) + Player[3])
        doPlayerSendTextMessage(cid, 22, ""..texts.transform..""..getVocationInfo(Player[1]).name..".")
    return true
end  

 

no caso eu gostaria de saber os significados desta parte: 

local transform = 
{
    --[1] = {2, 0, 0, 6, 30, 5} <<<------ esse aqui, qual numero serve para o que. exemplo: qual serve para colocar o looktype e assim por diante. Ahhh e se eu precisar trocar esse script por outra, da algum tipo de problema?? 

 

Link do post original com o servidor:

 

Editado por leolovee69 (veja o histórico de edições)
Link para o post
Compartilhar em outros sites

@leolovee69 

{2, 0, 0, 6, 30, 5}

2 = vocação nova,
0 = quantidade de hp que vai ganhar, no caso a capacidade maxima de hp atual + o que você vai definir
0 = quantidade de mana, mesma coisa do hp,
6 = outfit que vai ganhar,
30 = level necessário para tal coisa,
5 = mana que vai ganhar, apenas encher o mapa.

 

                                                              ezgif-1-98aab239f3.gif.1a897c9c3225228909e7b356a5cfb8e4.gif

Link para o post
Compartilhar em outros sites

@leolovee69 eu te recomendo a usar essa script de transformar.lua, ela é do meu dbo, mas é só vc editar

 

 

local config = {
--[vocation id] = { level, nova voc, looktype, efeito ao transformar}
-- Goku
[1] = { 30, 2, 3, 118},
[2] = { 50, 3, 4, 114},
[3] = { 75, 4, 5, 114},
[4] = { 100, 5, 6, 121},
[5] = { 150, 6, 7, 114},
[6] = { 180, 7, 8, 116},
[7] = { 200, 8, 9, 114},

[9] = { 50, 10, 11, 114},
[10] = { 100, 11, 12, 114},
[11] = { 150, 12, 13, 114},
[12] = { 200, 13, 14, 125},
[13] = { 250, 14, 15, 121},
[14] = { 400, 15, 16, 34},
[15] = { 600, 473, 638, 32},

-- Vegeta
[17] = { 30, 18, 20, 34},
[18] = { 50, 19, 21, 34},
[19] = { 75, 20, 22, 116},
[20] = { 100, 21, 6, 121},
[21] = { 150, 22, 23, 114},
[22] = { 200, 23, 24, 114},

[24] = { 50, 25, 26, 116},
[25] = { 100, 26, 27, 114},
[26] = { 150, 27, 28, 114},
[27] = { 200, 28, 29, 113},
[28] = { 250, 29, 15, 121},
[29] = { 400, 30, 30, 34},
[30] = { 600, 474, 31, 41},

-- Piccolo
[32] = { 50, 33, 34, 122},
[33] = { 100, 34, 35, 31},
[34] = { 150, 35, 36, 31},
[35] = { 200, 36, 37, 119},

[37] = { 50, 38, 39, 122},
[38] = { 100, 39, 40, 31},
[39] = { 150, 40, 41, 31},
[40] = { 200, 41, 42, 31},
[41] = { 250, 42, 43, 119},
[42] = { 400, 43, 44, 31},
[43] = { 600, 506, 537, 31},


-- C17
[45] = { 50, 46, 47, 34},
[46] = { 100, 47, 48, 34},
[47] = { 150, 48, 51, 34},
[48] = { 200, 49, 49, 34},

[50] = { 50, 51, 47, 34},
[51] = { 100, 52, 48, 34},
[52] = { 150, 53, 51, 34},
[53] = { 200, 54, 52, 34},
[54] = { 400, 55, 53, 34},
[55] = { 600, 56, 54, 34},


-- Gohan
[57] = { 30, 58, 56, 34},
[58] = { 50, 59, 57, 34},
[59] = { 100, 60, 58, 114},
[60] = { 150, 61, 59, 116},
[61] = { 175, 62, 60, 127},
[62] = { 200, 63, 61, 114},

[64] = { 50, 65, 63, 116},
[65] = { 100, 66, 64, 116},
[66] = { 150, 67, 65, 114},
[67] = { 200, 68, 66, 124},
[68] = { 400, 69, 67, 34},
[69] = { 600, 509, 598, 34},


-- Trunks
[71] = { 50, 72, 70, 114},
[72] = { 100, 73, 71, 116},
[73] = { 150, 74, 72, 114},
[74] = { 200, 75, 73, 114},

[76] = { 50, 77, 75, 114},
[77] = { 100, 78, 76, 114},
[78] = { 150, 79, 77, 114},
[79] = { 200, 80, 78, 112},
[80] = { 400, 81, 79, 34},
[81] = { 400, 82, 80, 34},
[82] = { 600, 510, 566, 41},


-- Cell
[83] = { 50, 84, 82, 119},
[84] = { 100, 85, 83, 119},
[85] = { 150, 86, 84, 119},
[86] = { 200, 87, 85, 31},

[88] = { 50, 89, 82, 119},
[89] = { 100, 90, 83, 119},
[90] = { 150, 91, 84, 119},
[91] = { 200, 92, 85, 31},
[92] = { 400, 93, 86, 34},
[93] = { 600, 94, 567, 34},


-- Freeza
[95] = { 30, 96, 89, 123},
[96] = { 50, 97, 90, 117},
[97] = { 75, 98, 91, 117},
[98] = { 100, 99, 92, 117},
[99] = { 150, 100, 93, 117},
[100] = { 200, 101, 94, 34},

[102] = { 30, 103, 89, 123},
[103] = { 50, 104, 90, 117},
[104] = { 75, 105, 91, 117},
[105] = { 100, 106, 92, 117},
[106] = { 150, 107, 93, 117},
[107] = { 200, 108, 95, 112},
[108] = { 400, 109, 96, 34},
[109] = { 600, 110, 97, 34},


-- Majin Boo
[111] = { 30, 112, 99, 29},
[112] = { 50, 113, 100, 30},
[113] = { 75, 114, 101, 30},
[114] = { 100, 115, 102, 30},
[115] = { 150, 116, 103, 30},
[116] = { 200, 117, 104, 29},

[118] = { 30, 119, 99, 29},
[119] = { 50, 120, 100, 30},
[120] = { 75, 121, 101, 30},
[121] = { 100, 122, 102, 30},
[122] = { 150, 123, 103, 30},
[123] = { 200, 124, 104, 29},
[124] = { 400, 125, 105, 29},
[125] = { 600, 475, 106, 34},


-- Broly
[127] = { 50, 128, 109, 34},
[128] = { 100, 129, 110, 34},
[129] = { 150, 130, 111, 114},
[130] = { 200, 131, 112, 114},

[132] = { 50, 133, 114, 115},
[133] = { 100, 134, 115, 114},
[134] = { 150, 135, 116, 114},
[135] = { 200, 136, 117, 126},
[136] = { 250, 137, 118, 121},
[137] = { 400, 138, 119, 34},
[138] = { 600, 139, 899, 32},


-- C18
[140] = { 50, 141, 121, 34},
[141] = { 100, 142, 122, 34},
[142] = { 150, 143, 123, 34},
[143] = { 200, 144, 123, 34},

[145] = { 50, 146, 121, 34},
[146] = { 100, 147, 122, 34},
[147] = { 150, 148, 125, 34},
[148] = { 200, 149, 124, 34},
[149] = { 400, 150, 126, 29},
[150] = { 600, 511, 127, 29},


-- Uub
[152] = { 50, 153, 129, 117},
[153] = { 100, 154, 130, 117},
[154] = { 150, 155, 131, 117},
[155] = { 200, 156, 132, 117},

[157] = { 50, 158, 129, 112},
[158] = { 100, 159, 130, 112},
[159] = { 150, 160, 131, 112},
[160] = { 200, 161, 132, 112},
[161] = { 400, 162, 133, 34},
[162] = { 600, 163, 582, 34},


-- Goten
[164] = { 30, 165, 136, 114},
[165] = { 50, 166, 137, 121},
[166] = { 75, 167, 138, 121},
[167] = { 100, 168, 139, 121},
[168] = { 150, 169, 140, 114},
[169] = { 200, 170, 141, 114},

[171] = { 50, 172, 143, 114},
[172] = { 100, 173, 144, 121},
[173] = { 150, 174, 145, 114},
[174] = { 200, 175, 146, 114},
[175] = { 400, 176, 147, 113},
[176] = { 600, 507, 561, 41},


-- Chibi Trunks
[178] = { 30, 179, 150, 114},
[179] = { 50, 180, 137, 121},
[180] = { 75, 181, 138, 121},
[181] = { 100, 182, 139, 121},
[182] = { 150, 183, 140, 114},
[183] = { 200, 184, 141, 114},

[185] = { 50, 186, 152, 114},
[186] = { 100, 187, 144, 121},
[187] = { 150, 188, 145, 114},
[188] = { 200, 189, 146, 114},
[189] = { 400, 190, 147, 113},
[189] = { 600, 508, 561, 41},


-- Cooler
[192] = { 50, 193, 154, 113},
[193] = { 75, 194, 155, 113},
[194] = { 100, 195, 156, 113},
[195] = { 150, 196, 157, 113},
[196] = { 200, 197, 158, 34},

[198] = { 50, 199, 154, 113},
[199] = { 75, 200, 155, 113},
[200] = { 100, 201, 159, 115},
[201] = { 150, 202, 161, 112},
[202] = { 200, 203, 160, 113},
[203] = { 400, 204, 532, 32},
[204] = { 400, 493, 162, 34},
[493] = { 600, 205, 163, 34},


-- Dende
[206] = { 50, 207, 165, 119},
[207] = { 100, 208, 166, 119},
[208] = { 150, 209, 167, 119},
[209] = { 200, 210, 168, 119},

[211] = { 50, 212, 170, 119},
[212] = { 100, 213, 171, 119},
[213] = { 150, 214, 172, 119},
[214] = { 200, 215, 172, 119},
[215] = { 400, 216, 173, 31},
[216] = { 600, 512, 174, 31},


-- Tsuful
[218] = { 50, 219, 176, 114},
[219] = { 100, 220, 177, 115},
[220] = { 150, 221, 178, 114},
[221] = { 200, 222, 179, 114},

[223] = { 50, 224, 181, 114},
[224] = { 100, 225, 182, 116},
[225] = { 150, 226, 183, 116},
[226] = { 200, 227, 185, 34},
[227] = { 400, 228, 186, 34},
[228] = { 600, 229, 187, 34},

-- Bardock
[230] = { 30, 231, 189, 34},
[231] = { 50, 232, 190, 34},
[232] = { 100, 233, 191, 116},
[233] = { 150, 234, 192, 116},
[234] = { 200, 235, 193, 114},

[236] = { 50, 237, 189, 34},
[237] = { 100, 238, 195, 34},
[238] = { 150, 239, 196, 114},
[239] = { 200, 240, 197, 112},
[240] = { 250, 241, 118, 121},
[241] = { 400, 243, 198, 34},
[243] = { 600, 513, 901, 41},

-- Kuririn
[244] = { 50, 245, 201, 116},
[245] = { 100, 246, 202, 116},
[246] = { 150, 247, 203, 116},
[247] = { 200, 248, 204, 116},

[249] = { 50, 250, 205, 116},
[250] = { 100, 251, 206, 116},
[251] = { 150, 252, 206, 116},
[252] = { 200, 253, 207, 112},
[253] = { 400, 254, 208, 112},
[254] = { 600, 514, 209, 41},

-- Pan
[256] = { 50, 257, 211, 116},
[257] = { 100, 258, 212, 116},
[258] = { 150, 259, 213, 114},
[259] = { 200, 260, 214, 114},

[261] = { 50, 262, 213, 114},
[262] = { 100, 263, 214, 114},
[263] = { 150, 264, 215, 112},
[264] = { 200, 265, 216, 112},
[265] = { 400, 266, 217, 34},
[266] = { 600, 515, 218, 41},

-- Kaio
[268] = { 50, 269, 220, 113},
[269] = { 100, 270, 221, 113},
[270] = { 150, 271, 222, 113},
[271] = { 200, 272, 222, 113},

[273] = { 50, 274, 222, 113},
[274] = { 100, 275, 223, 113},
[275] = { 150, 276, 223, 113},
[276] = { 200, 277, 224, 113},
[277] = { 400, 278, 225, 113},
[278] = { 600, 517, 225, 113},


-- Videl
[280] = { 50, 281, 228, 116},
[281] = { 100, 282, 229, 116},
[282] = { 150, 283, 230, 116},
[283] = { 200, 284, 231, 115},

[285] = { 50, 286, 228, 116},
[286] = { 100, 287, 229, 116},
[287] = { 150, 288, 230, 116},
[288] = { 200, 289, 231, 115},
[289] = { 400, 290, 232, 115},
[290] = { 600, 291, 233, 112},


-- Janemba
[292] = { 50, 293, 235, 34},
[293] = { 100, 294, 236, 34},
[294] = { 150, 295, 237, 34},
[295] = { 200, 296, 238, 113},

[297] = { 50, 298, 235, 34},
[298] = { 100, 299, 236, 34},
[299] = { 150, 300, 237, 34},
[300] = { 200, 301, 238, 113},
[301] = { 400, 302, 239, 113},
[302] = { 600, 491, 241, 34},
[491] = { 730, 544, 571, 34},


-- Tenshinhan
[304] = { 50, 305, 243, 116},
[305] = { 100, 306, 244, 116},
[306] = { 150, 307, 244, 116},
[307] = { 200, 308, 245, 116},

[309] = { 50, 310, 247, 116},
[310] = { 100, 311, 248, 116},
[311] = { 150, 312, 248, 114},
[312] = { 200, 313, 249, 112},
[313] = { 400, 314, 250, 34},
[314] = { 600, 315, 250, 34},


-- Jenk
[316] = { 50, 317, 253, 116},
[317] = { 100, 318, 254, 114},
[318] = { 150, 319, 255, 114},
[319] = { 200, 320, 256, 114},

[321] = { 50, 322, 258, 34},
[322] = { 100, 323, 259, 34},
[323] = { 150, 324, 260, 112},
[324] = { 200, 325, 261, 112},
[325] = { 400, 326, 262, 34},
[326] = { 600, 327, 562, 115},


-- Raditz
[328] = { 50, 329, 265, 116},
[329] = { 100, 330, 266, 114},
[330] = { 150, 331, 267, 116},
[331] = { 200, 332, 268, 114},

[333] = { 50, 334, 266, 114},
[334] = { 100, 335, 267, 116},
[335] = { 150, 336, 268, 114},
[336] = { 200, 337, 269, 112},
[337] = { 400, 338, 270, 34},
[338] = { 600, 339, 564, 34},


-- C16
[340] = { 50, 341, 273, 34},
[341] = { 100, 342, 274, 34},
[342] = { 150, 343, 275, 34},
[343] = { 200, 344, 276, 34},

[345] = { 50, 346, 273, 34},
[346] = { 100, 347, 274, 34},
[347] = { 150, 348, 275, 34},
[348] = { 200, 349, 276, 34},
[349] = { 400, 350, 279, 34},
[350] = { 600, 516, 278, 34},

-- Turles
[352] = { 50, 353, 281, 34},
[353] = { 100, 354, 282, 34},
[354] = { 150, 355, 283, 114},
[355] = { 200, 356, 284, 114},

[357] = { 50, 358, 286, 34},
[358] = { 100, 359, 287, 34},
[359] = { 150, 360, 288, 114},
[360] = { 200, 361, 289, 112},
[361] = { 400, 362, 290, 34},
[362] = { 600, 363, 565, 34},

-- Bulma
[364] = { 50, 365, 293, 116},
[365] = { 100, 366, 294, 116},
[366] = { 150, 367, 295, 116},
[367] = { 200, 368, 295, 115},

[369] = { 50, 370, 297, 114},
[370] = { 100, 371, 297, 114},
[371] = { 150, 372, 298, 114},
[372] = { 200, 373, 299, 112},
[373] = { 400, 374, 300, 115},
[374] = { 600, 375, 301, 115},


-- Shenron
[376] = { 50, 377, 303, 34},
[377] = { 100, 378, 304, 34},
[378] = { 150, 379, 305, 34},
[379] = { 200, 380, 305, 121},

[381] = { 50, 382, 303, 34},
[382] = { 100, 383, 897, 34},
[383] = { 150, 384, 304, 34},
[384] = { 200, 385, 898, 121},
[385] = { 400, 386, 305, 34},
[386] = { 600, 387, 306, 121},


-- Vegetto
[388] = { 50, 389, 309, 114},
[389] = { 100, 390, 310, 114},
[390] = { 150, 391, 311, 114},
[391] = { 200, 392, 311, 114},

[393] = { 50, 394, 309, 114},
[394] = { 100, 395, 310, 114},
[395] = { 150, 396, 311, 114},
[396] = { 200, 397, 312, 121},
[397] = { 400, 398, 314, 121},
[398] = { 600, 399, 905, 32},


-- Tapion
[400] = { 50, 401, 317, 111},
[401] = { 100, 402, 318, 116},
[402] = { 150, 403, 319, 111},
[403] = { 200, 404, 320, 112},

[405] = { 50, 406, 322, 116},
[406] = { 100, 407, 323, 112},
[407] = { 150, 408, 324, 116},
[408] = { 175, 409, 325, 115},
[409] = { 200, 410, 326, 115},
[410] = { 400, 411, 327, 112},
[411] = { 600, 476, 528, 112},


-- Kame
[413] = { 50, 414, 331, 116},
[414] = { 100, 415, 332, 116},
[415] = { 150, 416, 333, 116},
[416] = { 200, 417, 334, 114},

[418] = { 50, 419, 336, 114},
[419] = { 100, 420, 337, 116},
[420] = { 150, 421, 338, 112},
[421] = { 200, 422, 339, 114},
[422] = { 400, 423, 536, 34},
[423] = { 600, 424, 341, 34},


-- King Vegeta
[425] = { 50, 426, 343, 116},
[426] = { 100, 427, 344, 114},
[427] = { 150, 428, 345, 114},
[428] = { 200, 429, 346, 114},

[430] = { 50, 431, 348, 114},
[431] = { 100, 432, 348, 114},
[432] = { 150, 433, 349, 112},
[433] = { 200, 434, 350, 115},
[434] = { 400, 435, 351, 112},
[435] = { 600, 436, 563, 32},


-- Kagome
[437] = { 50, 438, 354, 116},
[438] = { 100, 439, 355, 114},
[439] = { 150, 440, 355, 114},
[440] = { 200, 441, 356, 114},

[442] = { 50, 443, 358, 114},
[443] = { 100, 444, 359, 114},
[444] = { 150, 445, 359, 114},
[445] = { 200, 446, 360, 114},
[446] = { 400, 447, 361, 112},
[447] = { 600, 448, 362, 112},


-- Zaiko
[449] = { 50, 450, 364, 112},
[450] = { 100, 451, 365, 112},
[451] = { 150, 452, 366, 114},
[452] = { 200, 453, 367, 114},

[454] = { 50, 455, 369, 114},
[455] = { 100, 456, 370, 114},
[456] = { 150, 457, 371, 111},
[457] = { 200, 458, 372, 111},
[458] = { 400, 459, 373, 34},
[459] = { 600, 460, 374, 34},


-- Chilled
[461] = { 50, 462, 376, 113},
[462] = { 100, 463, 377, 113},
[463] = { 150, 464, 378, 113},
[464] = { 200, 465, 379, 34},

[466] = { 50, 467, 376, 113},
[467] = { 100, 468, 377, 113},
[468] = { 150, 469, 378, 113},
[469] = { 200, 470, 380, 29},
[470] = { 400, 471, 382, 29},
[471] = { 600, 472, 832, 29},


-- C8
[478] = { 50, 479, 513, 34},
[479] = { 100, 480, 514, 34},
[480] = { 150, 481, 515, 34},
[481] = { 200, 482, 516, 34},

[483] = { 50, 484, 518, 34},
[484] = { 100, 485, 519, 34},
[485] = { 150, 486, 520, 34},
[486] = { 200, 487, 521, 34},
[487] = { 400, 488, 522, 34},
[488] = { 600, 489, 523, 34},


-- Hitto
[557] = { 50, 558, 746, 17},
[558] = { 100, 559, 882, 17},
[559] = { 150, 560, 883, 17},
[560] = { 200, 561, 884, 17},

[562] = { 50, 563, 882, 17},
[563] = { 100, 564, 883, 17},
[564] = { 150, 565, 884, 17},
[565] = { 200, 566, 885, 17},
[566] = { 400, 567, 886, 17},
[567] = { 600, 568, 887, 17},
[568] = { 700, 569, 888, 17},


-- Frost
[570] = { 50, 571, 741, 17},
[571] = { 100, 572, 741, 17},
[572] = { 150, 573, 743, 17},
[573] = { 200, 574, 743, 17},

[575] = { 50, 576, 741, 17},
[576] = { 100, 577, 741, 17},
[577] = { 150, 578, 743, 17},
[578] = { 200, 579, 739, 17},
[579] = { 400, 580, 738, 17},
[580] = { 600, 581, 737, 17},


-- Goku Black
[583] = { 50, 584, 766, 17},
[584] = { 100, 585, 766, 17},
[585] = { 150, 586, 767, 17},
[586] = { 200, 587, 767, 17},

[588] = { 50, 589, 766, 17},
[589] = { 100, 590, 766, 17},
[590] = { 150, 591, 767, 17},
[591] = { 200, 592, 767, 17},
[592] = { 400, 593, 769, 17},
[593] = { 600, 594, 880, 17},


-- Zamasu
[596] = { 50, 597, 788, 17},
[597] = { 100, 598, 788, 17},
[598] = { 150, 599, 789, 17},
[599] = { 200, 600, 789, 17},

[601] = { 50, 602, 788, 17},
[602] = { 100, 603, 789, 17},
[603] = { 150, 604, 862, 17},
[604] = { 200, 605, 863, 17},
[605] = { 400, 606, 864, 17},
[606] = { 600, 607, 865, 17},


-- Champa
[609] = { 50, 610, 758, 17},
[610] = { 100, 611, 758, 17},
[611] = { 150, 612, 759, 17},
[612] = { 200, 613, 759, 17},

[614] = { 50, 615, 758, 17},
[615] = { 100, 616, 759, 17},
[616] = { 150, 617, 760, 17},
[617] = { 200, 618, 761, 17},
[618] = { 400, 619, 762, 17},
[619] = { 600, 620, 763, 17},


-- Gogeta
[622] = { 50, 623, 6, 17},
[623] = { 100, 624, 6, 17},
[624] = { 150, 625, 745, 17},
[625] = { 200, 626, 745, 17},

[627] = { 50, 628, 6, 17},
[628] = { 100, 629, 6, 17},
[629] = { 150, 630, 15, 17},
[630] = { 200, 631, 600, 17},
[631] = { 400, 632, 745, 17},
[632] = { 600, 633, 601, 17},


-- Mirai Trunks
[635] = { 50, 636, 819, 17},
[636] = { 100, 637, 819, 17},
[637] = { 150, 638, 820, 17},
[638] = { 200, 639, 820, 17},

[640] = { 50, 641, 819, 17},
[641] = { 100, 642, 819, 17},
[642] = { 150, 643, 820, 17},
[643] = { 200, 644, 820, 17},
[644] = { 400, 645, 821, 17},
[645] = { 600, 646, 822, 17},


-- Nappa
[648] = { 50, 649, 697, 17},
[649] = { 100, 650, 698, 17},
[650] = { 150, 651, 698, 17},
[651] = { 200, 652, 699, 17},

[653] = { 50, 654, 697, 17},
[654] = { 100, 655, 698, 17},
[655] = { 150, 656, 699, 17},
[656] = { 200, 657, 700, 17},
[657] = { 400, 658, 701, 17},
[658] = { 600, 659, 702, 17},


-- Dabura
[661] = { 50, 662, 755, 17},
[662] = { 100, 663, 755, 17},
[663] = { 150, 664, 754, 17},
[664] = { 200, 665, 754, 17},

[666] = { 50, 667, 756, 17},
[667] = { 100, 668, 756, 17},
[668] = { 150, 669, 755, 17},
[669] = { 200, 670, 755, 17},
[670] = { 400, 671, 754, 17},
[671] = { 600, 672, 753, 17},


-- Dr Gero
[674] = { 50, 675, 705, 17},
[675] = { 100, 676, 705, 17},
[676] = { 150, 677, 706, 17},
[677] = { 200, 678, 706, 17},

[679] = { 50, 680, 705, 17},
[680] = { 100, 681, 706, 17},
[681] = { 150, 682, 706, 17},
[682] = { 200, 683, 707, 17},
[683] = { 400, 684, 708, 17},
[684] = { 600, 685, 709, 17},


-- Yamcha
[687] = { 50, 688, 680, 17},
[688] = { 100, 689, 680, 17},
[689] = { 150, 690, 677, 17},
[690] = { 200, 691, 683, 17},

[692] = { 50, 693, 681, 17},
[693] = { 100, 694, 682, 17},
[694] = { 150, 695, 683, 17},
[695] = { 200, 696, 684, 17},
[696] = { 400, 697, 685, 17},
[697] = { 600, 698, 687, 17},


-- Mr Satan
[700] = { 50, 701, 725, 17},
[701] = { 100, 702, 724, 17},
[702] = { 150, 703, 724, 17},
[703] = { 200, 704, 723, 17},

[705] = { 50, 706, 725, 17},
[706] = { 100, 707, 724, 17},
[707] = { 150, 708, 723, 17},
[708] = { 200, 709, 722, 17},
[709] = { 400, 710, 721, 17},
[710] = { 600, 711, 728, 17},


-- Whiss
[713] = { 50, 714, 642, 17},
[714] = { 100, 715, 642, 17},
[715] = { 150, 716, 643, 17},
[716] = { 200, 717, 644, 17},

[718] = { 50, 719, 642, 17},
[719] = { 100, 720, 643, 17},
[720] = { 150, 721, 644, 17},
[721] = { 200, 722, 645, 17},
[722] = { 400, 723, 646, 17},
[723] = { 600, 724, 647, 17},


-- Vados
[726] = { 50, 727, 711, 17},
[727] = { 100, 728, 712, 17},
[728] = { 150, 729, 712, 17},
[729] = { 200, 730, 714, 17},

[731] = { 50, 732, 711, 17},
[732] = { 100, 733, 718, 17},
[733] = { 150, 734, 718, 17},
[734] = { 200, 735, 716, 17},
[735] = { 400, 736, 717, 17},
[736] = { 600, 737, 719, 17},


-- Chichi
[739] = { 50, 740, 781, 17},
[740] = { 100, 741, 781, 17},
[741] = { 150, 742, 780, 17},
[742] = { 200, 743, 780, 17},

[744] = { 50, 745, 781, 17},
[745] = { 100, 746, 781, 17},
[746] = { 150, 747, 780, 17},
[747] = { 200, 748, 783, 17},
[748] = { 400, 749, 784, 17},
[749] = { 600, 750, 782, 17},


-- Monaka
[752] = { 50, 753, 806, 17},
[753] = { 100, 754, 806, 17},
[754] = { 150, 755, 808, 17},
[755] = { 200, 756, 808, 17},

[757] = { 50, 758, 806, 17},
[758] = { 100, 759, 814, 17},
[759] = { 150, 760, 808, 17},
[760] = { 200, 761, 804, 17},
[761] = { 400, 762, 809, 17},
[762] = { 600, 763, 807, 17},


-- Kyabe
[765] = { 50, 766, 796, 17},
[766] = { 100, 767, 796, 17},
[767] = { 150, 768, 797, 17},
[768] = { 200, 769, 797, 17},

[770] = { 50, 771, 796, 17},
[771] = { 100, 772, 797, 17},
[772] = { 150, 773, 795, 17},
[773] = { 200, 774, 794, 17},
[774] = { 400, 775, 798, 17},
[775] = { 600, 776, 802, 17},


-- Botamo
[778] = { 50, 779, 773, 17},
[779] = { 100, 780, 774, 17},
[780] = { 150, 781, 774, 17},
[781] = { 200, 782, 775, 17},

[783] = { 50, 784, 774, 17},
[784] = { 100, 785, 775, 17},
[785] = { 150, 786, 775, 17},
[786] = { 200, 787, 776, 17},
[787] = { 400, 788, 777, 17},
[788] = { 600, 789, 778, 17},


-- Goku Jr
[791] = { 50, 792, 669, 17},
[792] = { 100, 793, 669, 17},
[793] = { 150, 794, 670, 17},
[794] = { 200, 795, 670, 17},

[796] = { 50, 797, 669, 17},
[797] = { 100, 798, 670, 17},
[798] = { 150, 799, 671, 17},
[799] = { 200, 800, 673, 17},
[800] = { 250, 801, 672, 17},
[801] = { 400, 802, 675, 17},
[802] = { 600, 803, 674, 17},


-- C13
[805] = { 50, 806, 653, 17},
[806] = { 100, 807, 655, 17},
[807] = { 150, 808, 656, 17},
[808] = { 200, 809, 657, 17},

[810] = { 50, 811, 653, 17},
[811] = { 100, 812, 655, 17},
[812] = { 150, 813, 656, 17},
[813] = { 200, 814, 657, 17},
[814] = { 250, 815, 659, 17},
[815] = { 400, 816, 660, 17},
[816] = { 600, 817, 662, 17},


-- Paikuhan
[819] = { 50, 820, 911, 17},
[820] = { 100, 821, 912, 17},
[821] = { 150, 822, 913, 17},
[822] = { 200, 823, 909, 17},

[824] = { 50, 825, 914, 17},
[825] = { 100, 826, 915, 17},
[826] = { 150, 827, 916, 17},
[827] = { 200, 828, 917, 17},
[828] = { 400, 829, 918, 17},
[829] = { 600, 830, 919, 17},

-- Zeno Sama
[832] = { 50, 833, 828, 17},
[833] = { 100, 834, 825, 17},
[834] = { 150, 835, 825, 17},
[835] = { 200, 836, 827, 17},

[837] = { 50, 838, 828, 17},
[838] = { 100, 839, 825, 17},
[839] = { 150, 840, 825, 17},
[840] = { 200, 841, 827, 17},
[841] = { 400, 842, 830, 17},
[842] = { 600, 843, 826, 17},


-- Jiren
[846] = { 50, 847, 843, 17},
[847] = { 100, 848, 844, 17},
[848] = { 200, 849, 845, 17},

[850] = { 50, 851, 842, 17},
[851] = { 100, 852, 843, 17},
[852] = { 200, 853, 844, 17},
[853] = { 400, 854, 845, 17},
[854] = { 600, 855, 846, 17},


-- Bergamo
[858] = { 50, 859, 836, 17},
[859] = { 100, 860, 837, 17},
[860] = { 200, 861, 838, 17},

[862] = { 50, 863, 836, 17},
[863] = { 100, 864, 837, 17},
[864] = { 200, 865, 838, 17},
[865] = { 400, 866, 839, 17},
[866] = { 600, 867, 840, 17},


-- Ramushii
[870] = { 50, 871, 849, 17},
[871] = { 100, 872, 850, 17},
[872] = { 200, 873, 851, 17},

[873] = { 50, 874, 848, 17},
[874] = { 100, 875, 849, 17},
[875] = { 150, 876, 850, 17},
[876] = { 200, 877, 851, 17},
[877] = { 400, 878, 852, 17},
[878] = { 600, 879, 853, 17},


-- Liquir
[882] = { 50, 883, 856, 17},
[883] = { 100, 884, 857, 17},
[884] = { 200, 885, 858, 17},

[886] = { 50, 887, 856, 17},
[887] = { 100, 888, 857, 17},
[888] = { 200, 889, 858, 17},
[889] = { 400, 890, 859, 17},
[890] = { 600, 891, 860, 17},

-- Kitera
[909] = { 50, 910, 890, 17},
[910] = { 100, 911, 891, 17},
[911] = { 200, 912, 892, 17},

[913] = { 50, 914, 891, 17},
[914] = { 100, 915, 892, 17},
[915] = { 200, 916, 894, 17},
[916] = { 400, 917, 895, 17},
[917] = { 600, 918, 896, 17},

-- Vermouth
[895] = { 50, 896, 870, 17},
[896] = { 100, 897, 875, 17},
[897] = { 150, 898, 873, 17},
[898] = { 200, 899, 874, 17},

[900] = { 50, 901, 870, 17},
[901] = { 100, 902, 875, 17},
[902] = { 200, 903, 876, 17},
[903] = { 400, 904, 877, 17},
[904] = { 600, 905, 878, 17},

-- Bills
[494] = { 50, 495, 587, 29},
[495] = { 100, 496, 588, 29},
[496] = { 150, 497, 589, 29},
[497] = { 200, 498, 590, 29},

[499] = { 50, 500, 587, 29},
[500] = { 100, 501, 588, 29},
[501] = { 150, 502, 589, 29},
[502] = { 200, 503, 591, 29},
[503] = { 400, 504, 506, 29},
[504] = { 600, 505, 508, 29},

}

function onSay(cid, words, param, channel)
local voc = config[getPlayerVocation(cid)]
if voc then
if getPlayerLevel(cid) >= voc[1] then
doPlayerSetVocation(cid, voc[2])
doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, "Voce se transformou!")
doCreatureSay(cid, "Transformar", 19)
local outfit = {lookType = voc[3]}
doCreatureChangeOutfit(cid, outfit)
doSendMagicEffect(getCreaturePosition(cid), voc[4])
else
doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, "Voce precisa estar no level " .. voc[1] .. " para transformar.")
end
else
doPlayerSendCancel(cid, "Nao é possível se transformar.")
end
return true
end

 

REP+ se ajudei

Editado por FelipeMeyrelles (veja o histórico de edições)
Link para o post
Compartilhar em outros sites
12 horas atrás, KotZletY disse:

@leolovee69 


{2, 0, 0, 6, 30, 5}

2 = vocação nova,
0 = quantidade de hp que vai ganhar, no caso a capacidade maxima de hp atual + o que você vai definir
0 = quantidade de mana, mesma coisa do hp,
6 = outfit que vai ganhar,
30 = level necessário para tal coisa,
5 = mana que vai ganhar, apenas encher o mapa.

 

 

muito obrigado!!

10 horas atrás, FelipeMeyrelles disse:

@leolovee69 eu te recomendo a usar essa script de transformar.lua, ela é do meu dbo, mas é só vc editar

 

  Mostrar conteúdo oculto

local config = {
--[vocation id] = { level, nova voc, looktype, efeito ao transformar}
-- Goku
[1] = { 30, 2, 3, 118},
[2] = { 50, 3, 4, 114},
[3] = { 75, 4, 5, 114},
[4] = { 100, 5, 6, 121},
[5] = { 150, 6, 7, 114},
[6] = { 180, 7, 8, 116},
[7] = { 200, 8, 9, 114},

[9] = { 50, 10, 11, 114},
[10] = { 100, 11, 12, 114},
[11] = { 150, 12, 13, 114},
[12] = { 200, 13, 14, 125},
[13] = { 250, 14, 15, 121},
[14] = { 400, 15, 16, 34},
[15] = { 600, 473, 638, 32},

-- Vegeta
[17] = { 30, 18, 20, 34},
[18] = { 50, 19, 21, 34},
[19] = { 75, 20, 22, 116},
[20] = { 100, 21, 6, 121},
[21] = { 150, 22, 23, 114},
[22] = { 200, 23, 24, 114},

[24] = { 50, 25, 26, 116},
[25] = { 100, 26, 27, 114},
[26] = { 150, 27, 28, 114},
[27] = { 200, 28, 29, 113},
[28] = { 250, 29, 15, 121},
[29] = { 400, 30, 30, 34},
[30] = { 600, 474, 31, 41},

-- Piccolo
[32] = { 50, 33, 34, 122},
[33] = { 100, 34, 35, 31},
[34] = { 150, 35, 36, 31},
[35] = { 200, 36, 37, 119},

[37] = { 50, 38, 39, 122},
[38] = { 100, 39, 40, 31},
[39] = { 150, 40, 41, 31},
[40] = { 200, 41, 42, 31},
[41] = { 250, 42, 43, 119},
[42] = { 400, 43, 44, 31},
[43] = { 600, 506, 537, 31},


-- C17
[45] = { 50, 46, 47, 34},
[46] = { 100, 47, 48, 34},
[47] = { 150, 48, 51, 34},
[48] = { 200, 49, 49, 34},

[50] = { 50, 51, 47, 34},
[51] = { 100, 52, 48, 34},
[52] = { 150, 53, 51, 34},
[53] = { 200, 54, 52, 34},
[54] = { 400, 55, 53, 34},
[55] = { 600, 56, 54, 34},


-- Gohan
[57] = { 30, 58, 56, 34},
[58] = { 50, 59, 57, 34},
[59] = { 100, 60, 58, 114},
[60] = { 150, 61, 59, 116},
[61] = { 175, 62, 60, 127},
[62] = { 200, 63, 61, 114},

[64] = { 50, 65, 63, 116},
[65] = { 100, 66, 64, 116},
[66] = { 150, 67, 65, 114},
[67] = { 200, 68, 66, 124},
[68] = { 400, 69, 67, 34},
[69] = { 600, 509, 598, 34},


-- Trunks
[71] = { 50, 72, 70, 114},
[72] = { 100, 73, 71, 116},
[73] = { 150, 74, 72, 114},
[74] = { 200, 75, 73, 114},

[76] = { 50, 77, 75, 114},
[77] = { 100, 78, 76, 114},
[78] = { 150, 79, 77, 114},
[79] = { 200, 80, 78, 112},
[80] = { 400, 81, 79, 34},
[81] = { 400, 82, 80, 34},
[82] = { 600, 510, 566, 41},


-- Cell
[83] = { 50, 84, 82, 119},
[84] = { 100, 85, 83, 119},
[85] = { 150, 86, 84, 119},
[86] = { 200, 87, 85, 31},

[88] = { 50, 89, 82, 119},
[89] = { 100, 90, 83, 119},
[90] = { 150, 91, 84, 119},
[91] = { 200, 92, 85, 31},
[92] = { 400, 93, 86, 34},
[93] = { 600, 94, 567, 34},


-- Freeza
[95] = { 30, 96, 89, 123},
[96] = { 50, 97, 90, 117},
[97] = { 75, 98, 91, 117},
[98] = { 100, 99, 92, 117},
[99] = { 150, 100, 93, 117},
[100] = { 200, 101, 94, 34},

[102] = { 30, 103, 89, 123},
[103] = { 50, 104, 90, 117},
[104] = { 75, 105, 91, 117},
[105] = { 100, 106, 92, 117},
[106] = { 150, 107, 93, 117},
[107] = { 200, 108, 95, 112},
[108] = { 400, 109, 96, 34},
[109] = { 600, 110, 97, 34},


-- Majin Boo
[111] = { 30, 112, 99, 29},
[112] = { 50, 113, 100, 30},
[113] = { 75, 114, 101, 30},
[114] = { 100, 115, 102, 30},
[115] = { 150, 116, 103, 30},
[116] = { 200, 117, 104, 29},

[118] = { 30, 119, 99, 29},
[119] = { 50, 120, 100, 30},
[120] = { 75, 121, 101, 30},
[121] = { 100, 122, 102, 30},
[122] = { 150, 123, 103, 30},
[123] = { 200, 124, 104, 29},
[124] = { 400, 125, 105, 29},
[125] = { 600, 475, 106, 34},


-- Broly
[127] = { 50, 128, 109, 34},
[128] = { 100, 129, 110, 34},
[129] = { 150, 130, 111, 114},
[130] = { 200, 131, 112, 114},

[132] = { 50, 133, 114, 115},
[133] = { 100, 134, 115, 114},
[134] = { 150, 135, 116, 114},
[135] = { 200, 136, 117, 126},
[136] = { 250, 137, 118, 121},
[137] = { 400, 138, 119, 34},
[138] = { 600, 139, 899, 32},


-- C18
[140] = { 50, 141, 121, 34},
[141] = { 100, 142, 122, 34},
[142] = { 150, 143, 123, 34},
[143] = { 200, 144, 123, 34},

[145] = { 50, 146, 121, 34},
[146] = { 100, 147, 122, 34},
[147] = { 150, 148, 125, 34},
[148] = { 200, 149, 124, 34},
[149] = { 400, 150, 126, 29},
[150] = { 600, 511, 127, 29},


-- Uub
[152] = { 50, 153, 129, 117},
[153] = { 100, 154, 130, 117},
[154] = { 150, 155, 131, 117},
[155] = { 200, 156, 132, 117},

[157] = { 50, 158, 129, 112},
[158] = { 100, 159, 130, 112},
[159] = { 150, 160, 131, 112},
[160] = { 200, 161, 132, 112},
[161] = { 400, 162, 133, 34},
[162] = { 600, 163, 582, 34},


-- Goten
[164] = { 30, 165, 136, 114},
[165] = { 50, 166, 137, 121},
[166] = { 75, 167, 138, 121},
[167] = { 100, 168, 139, 121},
[168] = { 150, 169, 140, 114},
[169] = { 200, 170, 141, 114},

[171] = { 50, 172, 143, 114},
[172] = { 100, 173, 144, 121},
[173] = { 150, 174, 145, 114},
[174] = { 200, 175, 146, 114},
[175] = { 400, 176, 147, 113},
[176] = { 600, 507, 561, 41},


-- Chibi Trunks
[178] = { 30, 179, 150, 114},
[179] = { 50, 180, 137, 121},
[180] = { 75, 181, 138, 121},
[181] = { 100, 182, 139, 121},
[182] = { 150, 183, 140, 114},
[183] = { 200, 184, 141, 114},

[185] = { 50, 186, 152, 114},
[186] = { 100, 187, 144, 121},
[187] = { 150, 188, 145, 114},
[188] = { 200, 189, 146, 114},
[189] = { 400, 190, 147, 113},
[189] = { 600, 508, 561, 41},


-- Cooler
[192] = { 50, 193, 154, 113},
[193] = { 75, 194, 155, 113},
[194] = { 100, 195, 156, 113},
[195] = { 150, 196, 157, 113},
[196] = { 200, 197, 158, 34},

[198] = { 50, 199, 154, 113},
[199] = { 75, 200, 155, 113},
[200] = { 100, 201, 159, 115},
[201] = { 150, 202, 161, 112},
[202] = { 200, 203, 160, 113},
[203] = { 400, 204, 532, 32},
[204] = { 400, 493, 162, 34},
[493] = { 600, 205, 163, 34},


-- Dende
[206] = { 50, 207, 165, 119},
[207] = { 100, 208, 166, 119},
[208] = { 150, 209, 167, 119},
[209] = { 200, 210, 168, 119},

[211] = { 50, 212, 170, 119},
[212] = { 100, 213, 171, 119},
[213] = { 150, 214, 172, 119},
[214] = { 200, 215, 172, 119},
[215] = { 400, 216, 173, 31},
[216] = { 600, 512, 174, 31},


-- Tsuful
[218] = { 50, 219, 176, 114},
[219] = { 100, 220, 177, 115},
[220] = { 150, 221, 178, 114},
[221] = { 200, 222, 179, 114},

[223] = { 50, 224, 181, 114},
[224] = { 100, 225, 182, 116},
[225] = { 150, 226, 183, 116},
[226] = { 200, 227, 185, 34},
[227] = { 400, 228, 186, 34},
[228] = { 600, 229, 187, 34},

-- Bardock
[230] = { 30, 231, 189, 34},
[231] = { 50, 232, 190, 34},
[232] = { 100, 233, 191, 116},
[233] = { 150, 234, 192, 116},
[234] = { 200, 235, 193, 114},

[236] = { 50, 237, 189, 34},
[237] = { 100, 238, 195, 34},
[238] = { 150, 239, 196, 114},
[239] = { 200, 240, 197, 112},
[240] = { 250, 241, 118, 121},
[241] = { 400, 243, 198, 34},
[243] = { 600, 513, 901, 41},

-- Kuririn
[244] = { 50, 245, 201, 116},
[245] = { 100, 246, 202, 116},
[246] = { 150, 247, 203, 116},
[247] = { 200, 248, 204, 116},

[249] = { 50, 250, 205, 116},
[250] = { 100, 251, 206, 116},
[251] = { 150, 252, 206, 116},
[252] = { 200, 253, 207, 112},
[253] = { 400, 254, 208, 112},
[254] = { 600, 514, 209, 41},

-- Pan
[256] = { 50, 257, 211, 116},
[257] = { 100, 258, 212, 116},
[258] = { 150, 259, 213, 114},
[259] = { 200, 260, 214, 114},

[261] = { 50, 262, 213, 114},
[262] = { 100, 263, 214, 114},
[263] = { 150, 264, 215, 112},
[264] = { 200, 265, 216, 112},
[265] = { 400, 266, 217, 34},
[266] = { 600, 515, 218, 41},

-- Kaio
[268] = { 50, 269, 220, 113},
[269] = { 100, 270, 221, 113},
[270] = { 150, 271, 222, 113},
[271] = { 200, 272, 222, 113},

[273] = { 50, 274, 222, 113},
[274] = { 100, 275, 223, 113},
[275] = { 150, 276, 223, 113},
[276] = { 200, 277, 224, 113},
[277] = { 400, 278, 225, 113},
[278] = { 600, 517, 225, 113},


-- Videl
[280] = { 50, 281, 228, 116},
[281] = { 100, 282, 229, 116},
[282] = { 150, 283, 230, 116},
[283] = { 200, 284, 231, 115},

[285] = { 50, 286, 228, 116},
[286] = { 100, 287, 229, 116},
[287] = { 150, 288, 230, 116},
[288] = { 200, 289, 231, 115},
[289] = { 400, 290, 232, 115},
[290] = { 600, 291, 233, 112},


-- Janemba
[292] = { 50, 293, 235, 34},
[293] = { 100, 294, 236, 34},
[294] = { 150, 295, 237, 34},
[295] = { 200, 296, 238, 113},

[297] = { 50, 298, 235, 34},
[298] = { 100, 299, 236, 34},
[299] = { 150, 300, 237, 34},
[300] = { 200, 301, 238, 113},
[301] = { 400, 302, 239, 113},
[302] = { 600, 491, 241, 34},
[491] = { 730, 544, 571, 34},


-- Tenshinhan
[304] = { 50, 305, 243, 116},
[305] = { 100, 306, 244, 116},
[306] = { 150, 307, 244, 116},
[307] = { 200, 308, 245, 116},

[309] = { 50, 310, 247, 116},
[310] = { 100, 311, 248, 116},
[311] = { 150, 312, 248, 114},
[312] = { 200, 313, 249, 112},
[313] = { 400, 314, 250, 34},
[314] = { 600, 315, 250, 34},


-- Jenk
[316] = { 50, 317, 253, 116},
[317] = { 100, 318, 254, 114},
[318] = { 150, 319, 255, 114},
[319] = { 200, 320, 256, 114},

[321] = { 50, 322, 258, 34},
[322] = { 100, 323, 259, 34},
[323] = { 150, 324, 260, 112},
[324] = { 200, 325, 261, 112},
[325] = { 400, 326, 262, 34},
[326] = { 600, 327, 562, 115},


-- Raditz
[328] = { 50, 329, 265, 116},
[329] = { 100, 330, 266, 114},
[330] = { 150, 331, 267, 116},
[331] = { 200, 332, 268, 114},

[333] = { 50, 334, 266, 114},
[334] = { 100, 335, 267, 116},
[335] = { 150, 336, 268, 114},
[336] = { 200, 337, 269, 112},
[337] = { 400, 338, 270, 34},
[338] = { 600, 339, 564, 34},


-- C16
[340] = { 50, 341, 273, 34},
[341] = { 100, 342, 274, 34},
[342] = { 150, 343, 275, 34},
[343] = { 200, 344, 276, 34},

[345] = { 50, 346, 273, 34},
[346] = { 100, 347, 274, 34},
[347] = { 150, 348, 275, 34},
[348] = { 200, 349, 276, 34},
[349] = { 400, 350, 279, 34},
[350] = { 600, 516, 278, 34},

-- Turles
[352] = { 50, 353, 281, 34},
[353] = { 100, 354, 282, 34},
[354] = { 150, 355, 283, 114},
[355] = { 200, 356, 284, 114},

[357] = { 50, 358, 286, 34},
[358] = { 100, 359, 287, 34},
[359] = { 150, 360, 288, 114},
[360] = { 200, 361, 289, 112},
[361] = { 400, 362, 290, 34},
[362] = { 600, 363, 565, 34},

-- Bulma
[364] = { 50, 365, 293, 116},
[365] = { 100, 366, 294, 116},
[366] = { 150, 367, 295, 116},
[367] = { 200, 368, 295, 115},

[369] = { 50, 370, 297, 114},
[370] = { 100, 371, 297, 114},
[371] = { 150, 372, 298, 114},
[372] = { 200, 373, 299, 112},
[373] = { 400, 374, 300, 115},
[374] = { 600, 375, 301, 115},


-- Shenron
[376] = { 50, 377, 303, 34},
[377] = { 100, 378, 304, 34},
[378] = { 150, 379, 305, 34},
[379] = { 200, 380, 305, 121},

[381] = { 50, 382, 303, 34},
[382] = { 100, 383, 897, 34},
[383] = { 150, 384, 304, 34},
[384] = { 200, 385, 898, 121},
[385] = { 400, 386, 305, 34},
[386] = { 600, 387, 306, 121},


-- Vegetto
[388] = { 50, 389, 309, 114},
[389] = { 100, 390, 310, 114},
[390] = { 150, 391, 311, 114},
[391] = { 200, 392, 311, 114},

[393] = { 50, 394, 309, 114},
[394] = { 100, 395, 310, 114},
[395] = { 150, 396, 311, 114},
[396] = { 200, 397, 312, 121},
[397] = { 400, 398, 314, 121},
[398] = { 600, 399, 905, 32},


-- Tapion
[400] = { 50, 401, 317, 111},
[401] = { 100, 402, 318, 116},
[402] = { 150, 403, 319, 111},
[403] = { 200, 404, 320, 112},

[405] = { 50, 406, 322, 116},
[406] = { 100, 407, 323, 112},
[407] = { 150, 408, 324, 116},
[408] = { 175, 409, 325, 115},
[409] = { 200, 410, 326, 115},
[410] = { 400, 411, 327, 112},
[411] = { 600, 476, 528, 112},


-- Kame
[413] = { 50, 414, 331, 116},
[414] = { 100, 415, 332, 116},
[415] = { 150, 416, 333, 116},
[416] = { 200, 417, 334, 114},

[418] = { 50, 419, 336, 114},
[419] = { 100, 420, 337, 116},
[420] = { 150, 421, 338, 112},
[421] = { 200, 422, 339, 114},
[422] = { 400, 423, 536, 34},
[423] = { 600, 424, 341, 34},


-- King Vegeta
[425] = { 50, 426, 343, 116},
[426] = { 100, 427, 344, 114},
[427] = { 150, 428, 345, 114},
[428] = { 200, 429, 346, 114},

[430] = { 50, 431, 348, 114},
[431] = { 100, 432, 348, 114},
[432] = { 150, 433, 349, 112},
[433] = { 200, 434, 350, 115},
[434] = { 400, 435, 351, 112},
[435] = { 600, 436, 563, 32},


-- Kagome
[437] = { 50, 438, 354, 116},
[438] = { 100, 439, 355, 114},
[439] = { 150, 440, 355, 114},
[440] = { 200, 441, 356, 114},

[442] = { 50, 443, 358, 114},
[443] = { 100, 444, 359, 114},
[444] = { 150, 445, 359, 114},
[445] = { 200, 446, 360, 114},
[446] = { 400, 447, 361, 112},
[447] = { 600, 448, 362, 112},


-- Zaiko
[449] = { 50, 450, 364, 112},
[450] = { 100, 451, 365, 112},
[451] = { 150, 452, 366, 114},
[452] = { 200, 453, 367, 114},

[454] = { 50, 455, 369, 114},
[455] = { 100, 456, 370, 114},
[456] = { 150, 457, 371, 111},
[457] = { 200, 458, 372, 111},
[458] = { 400, 459, 373, 34},
[459] = { 600, 460, 374, 34},


-- Chilled
[461] = { 50, 462, 376, 113},
[462] = { 100, 463, 377, 113},
[463] = { 150, 464, 378, 113},
[464] = { 200, 465, 379, 34},

[466] = { 50, 467, 376, 113},
[467] = { 100, 468, 377, 113},
[468] = { 150, 469, 378, 113},
[469] = { 200, 470, 380, 29},
[470] = { 400, 471, 382, 29},
[471] = { 600, 472, 832, 29},


-- C8
[478] = { 50, 479, 513, 34},
[479] = { 100, 480, 514, 34},
[480] = { 150, 481, 515, 34},
[481] = { 200, 482, 516, 34},

[483] = { 50, 484, 518, 34},
[484] = { 100, 485, 519, 34},
[485] = { 150, 486, 520, 34},
[486] = { 200, 487, 521, 34},
[487] = { 400, 488, 522, 34},
[488] = { 600, 489, 523, 34},


-- Hitto
[557] = { 50, 558, 746, 17},
[558] = { 100, 559, 882, 17},
[559] = { 150, 560, 883, 17},
[560] = { 200, 561, 884, 17},

[562] = { 50, 563, 882, 17},
[563] = { 100, 564, 883, 17},
[564] = { 150, 565, 884, 17},
[565] = { 200, 566, 885, 17},
[566] = { 400, 567, 886, 17},
[567] = { 600, 568, 887, 17},
[568] = { 700, 569, 888, 17},


-- Frost
[570] = { 50, 571, 741, 17},
[571] = { 100, 572, 741, 17},
[572] = { 150, 573, 743, 17},
[573] = { 200, 574, 743, 17},

[575] = { 50, 576, 741, 17},
[576] = { 100, 577, 741, 17},
[577] = { 150, 578, 743, 17},
[578] = { 200, 579, 739, 17},
[579] = { 400, 580, 738, 17},
[580] = { 600, 581, 737, 17},


-- Goku Black
[583] = { 50, 584, 766, 17},
[584] = { 100, 585, 766, 17},
[585] = { 150, 586, 767, 17},
[586] = { 200, 587, 767, 17},

[588] = { 50, 589, 766, 17},
[589] = { 100, 590, 766, 17},
[590] = { 150, 591, 767, 17},
[591] = { 200, 592, 767, 17},
[592] = { 400, 593, 769, 17},
[593] = { 600, 594, 880, 17},


-- Zamasu
[596] = { 50, 597, 788, 17},
[597] = { 100, 598, 788, 17},
[598] = { 150, 599, 789, 17},
[599] = { 200, 600, 789, 17},

[601] = { 50, 602, 788, 17},
[602] = { 100, 603, 789, 17},
[603] = { 150, 604, 862, 17},
[604] = { 200, 605, 863, 17},
[605] = { 400, 606, 864, 17},
[606] = { 600, 607, 865, 17},


-- Champa
[609] = { 50, 610, 758, 17},
[610] = { 100, 611, 758, 17},
[611] = { 150, 612, 759, 17},
[612] = { 200, 613, 759, 17},

[614] = { 50, 615, 758, 17},
[615] = { 100, 616, 759, 17},
[616] = { 150, 617, 760, 17},
[617] = { 200, 618, 761, 17},
[618] = { 400, 619, 762, 17},
[619] = { 600, 620, 763, 17},


-- Gogeta
[622] = { 50, 623, 6, 17},
[623] = { 100, 624, 6, 17},
[624] = { 150, 625, 745, 17},
[625] = { 200, 626, 745, 17},

[627] = { 50, 628, 6, 17},
[628] = { 100, 629, 6, 17},
[629] = { 150, 630, 15, 17},
[630] = { 200, 631, 600, 17},
[631] = { 400, 632, 745, 17},
[632] = { 600, 633, 601, 17},


-- Mirai Trunks
[635] = { 50, 636, 819, 17},
[636] = { 100, 637, 819, 17},
[637] = { 150, 638, 820, 17},
[638] = { 200, 639, 820, 17},

[640] = { 50, 641, 819, 17},
[641] = { 100, 642, 819, 17},
[642] = { 150, 643, 820, 17},
[643] = { 200, 644, 820, 17},
[644] = { 400, 645, 821, 17},
[645] = { 600, 646, 822, 17},


-- Nappa
[648] = { 50, 649, 697, 17},
[649] = { 100, 650, 698, 17},
[650] = { 150, 651, 698, 17},
[651] = { 200, 652, 699, 17},

[653] = { 50, 654, 697, 17},
[654] = { 100, 655, 698, 17},
[655] = { 150, 656, 699, 17},
[656] = { 200, 657, 700, 17},
[657] = { 400, 658, 701, 17},
[658] = { 600, 659, 702, 17},


-- Dabura
[661] = { 50, 662, 755, 17},
[662] = { 100, 663, 755, 17},
[663] = { 150, 664, 754, 17},
[664] = { 200, 665, 754, 17},

[666] = { 50, 667, 756, 17},
[667] = { 100, 668, 756, 17},
[668] = { 150, 669, 755, 17},
[669] = { 200, 670, 755, 17},
[670] = { 400, 671, 754, 17},
[671] = { 600, 672, 753, 17},


-- Dr Gero
[674] = { 50, 675, 705, 17},
[675] = { 100, 676, 705, 17},
[676] = { 150, 677, 706, 17},
[677] = { 200, 678, 706, 17},

[679] = { 50, 680, 705, 17},
[680] = { 100, 681, 706, 17},
[681] = { 150, 682, 706, 17},
[682] = { 200, 683, 707, 17},
[683] = { 400, 684, 708, 17},
[684] = { 600, 685, 709, 17},


-- Yamcha
[687] = { 50, 688, 680, 17},
[688] = { 100, 689, 680, 17},
[689] = { 150, 690, 677, 17},
[690] = { 200, 691, 683, 17},

[692] = { 50, 693, 681, 17},
[693] = { 100, 694, 682, 17},
[694] = { 150, 695, 683, 17},
[695] = { 200, 696, 684, 17},
[696] = { 400, 697, 685, 17},
[697] = { 600, 698, 687, 17},


-- Mr Satan
[700] = { 50, 701, 725, 17},
[701] = { 100, 702, 724, 17},
[702] = { 150, 703, 724, 17},
[703] = { 200, 704, 723, 17},

[705] = { 50, 706, 725, 17},
[706] = { 100, 707, 724, 17},
[707] = { 150, 708, 723, 17},
[708] = { 200, 709, 722, 17},
[709] = { 400, 710, 721, 17},
[710] = { 600, 711, 728, 17},


-- Whiss
[713] = { 50, 714, 642, 17},
[714] = { 100, 715, 642, 17},
[715] = { 150, 716, 643, 17},
[716] = { 200, 717, 644, 17},

[718] = { 50, 719, 642, 17},
[719] = { 100, 720, 643, 17},
[720] = { 150, 721, 644, 17},
[721] = { 200, 722, 645, 17},
[722] = { 400, 723, 646, 17},
[723] = { 600, 724, 647, 17},


-- Vados
[726] = { 50, 727, 711, 17},
[727] = { 100, 728, 712, 17},
[728] = { 150, 729, 712, 17},
[729] = { 200, 730, 714, 17},

[731] = { 50, 732, 711, 17},
[732] = { 100, 733, 718, 17},
[733] = { 150, 734, 718, 17},
[734] = { 200, 735, 716, 17},
[735] = { 400, 736, 717, 17},
[736] = { 600, 737, 719, 17},


-- Chichi
[739] = { 50, 740, 781, 17},
[740] = { 100, 741, 781, 17},
[741] = { 150, 742, 780, 17},
[742] = { 200, 743, 780, 17},

[744] = { 50, 745, 781, 17},
[745] = { 100, 746, 781, 17},
[746] = { 150, 747, 780, 17},
[747] = { 200, 748, 783, 17},
[748] = { 400, 749, 784, 17},
[749] = { 600, 750, 782, 17},


-- Monaka
[752] = { 50, 753, 806, 17},
[753] = { 100, 754, 806, 17},
[754] = { 150, 755, 808, 17},
[755] = { 200, 756, 808, 17},

[757] = { 50, 758, 806, 17},
[758] = { 100, 759, 814, 17},
[759] = { 150, 760, 808, 17},
[760] = { 200, 761, 804, 17},
[761] = { 400, 762, 809, 17},
[762] = { 600, 763, 807, 17},


-- Kyabe
[765] = { 50, 766, 796, 17},
[766] = { 100, 767, 796, 17},
[767] = { 150, 768, 797, 17},
[768] = { 200, 769, 797, 17},

[770] = { 50, 771, 796, 17},
[771] = { 100, 772, 797, 17},
[772] = { 150, 773, 795, 17},
[773] = { 200, 774, 794, 17},
[774] = { 400, 775, 798, 17},
[775] = { 600, 776, 802, 17},


-- Botamo
[778] = { 50, 779, 773, 17},
[779] = { 100, 780, 774, 17},
[780] = { 150, 781, 774, 17},
[781] = { 200, 782, 775, 17},

[783] = { 50, 784, 774, 17},
[784] = { 100, 785, 775, 17},
[785] = { 150, 786, 775, 17},
[786] = { 200, 787, 776, 17},
[787] = { 400, 788, 777, 17},
[788] = { 600, 789, 778, 17},


-- Goku Jr
[791] = { 50, 792, 669, 17},
[792] = { 100, 793, 669, 17},
[793] = { 150, 794, 670, 17},
[794] = { 200, 795, 670, 17},

[796] = { 50, 797, 669, 17},
[797] = { 100, 798, 670, 17},
[798] = { 150, 799, 671, 17},
[799] = { 200, 800, 673, 17},
[800] = { 250, 801, 672, 17},
[801] = { 400, 802, 675, 17},
[802] = { 600, 803, 674, 17},


-- C13
[805] = { 50, 806, 653, 17},
[806] = { 100, 807, 655, 17},
[807] = { 150, 808, 656, 17},
[808] = { 200, 809, 657, 17},

[810] = { 50, 811, 653, 17},
[811] = { 100, 812, 655, 17},
[812] = { 150, 813, 656, 17},
[813] = { 200, 814, 657, 17},
[814] = { 250, 815, 659, 17},
[815] = { 400, 816, 660, 17},
[816] = { 600, 817, 662, 17},


-- Paikuhan
[819] = { 50, 820, 911, 17},
[820] = { 100, 821, 912, 17},
[821] = { 150, 822, 913, 17},
[822] = { 200, 823, 909, 17},

[824] = { 50, 825, 914, 17},
[825] = { 100, 826, 915, 17},
[826] = { 150, 827, 916, 17},
[827] = { 200, 828, 917, 17},
[828] = { 400, 829, 918, 17},
[829] = { 600, 830, 919, 17},

-- Zeno Sama
[832] = { 50, 833, 828, 17},
[833] = { 100, 834, 825, 17},
[834] = { 150, 835, 825, 17},
[835] = { 200, 836, 827, 17},

[837] = { 50, 838, 828, 17},
[838] = { 100, 839, 825, 17},
[839] = { 150, 840, 825, 17},
[840] = { 200, 841, 827, 17},
[841] = { 400, 842, 830, 17},
[842] = { 600, 843, 826, 17},


-- Jiren
[846] = { 50, 847, 843, 17},
[847] = { 100, 848, 844, 17},
[848] = { 200, 849, 845, 17},

[850] = { 50, 851, 842, 17},
[851] = { 100, 852, 843, 17},
[852] = { 200, 853, 844, 17},
[853] = { 400, 854, 845, 17},
[854] = { 600, 855, 846, 17},


-- Bergamo
[858] = { 50, 859, 836, 17},
[859] = { 100, 860, 837, 17},
[860] = { 200, 861, 838, 17},

[862] = { 50, 863, 836, 17},
[863] = { 100, 864, 837, 17},
[864] = { 200, 865, 838, 17},
[865] = { 400, 866, 839, 17},
[866] = { 600, 867, 840, 17},


-- Ramushii
[870] = { 50, 871, 849, 17},
[871] = { 100, 872, 850, 17},
[872] = { 200, 873, 851, 17},

[873] = { 50, 874, 848, 17},
[874] = { 100, 875, 849, 17},
[875] = { 150, 876, 850, 17},
[876] = { 200, 877, 851, 17},
[877] = { 400, 878, 852, 17},
[878] = { 600, 879, 853, 17},


-- Liquir
[882] = { 50, 883, 856, 17},
[883] = { 100, 884, 857, 17},
[884] = { 200, 885, 858, 17},

[886] = { 50, 887, 856, 17},
[887] = { 100, 888, 857, 17},
[888] = { 200, 889, 858, 17},
[889] = { 400, 890, 859, 17},
[890] = { 600, 891, 860, 17},

-- Kitera
[909] = { 50, 910, 890, 17},
[910] = { 100, 911, 891, 17},
[911] = { 200, 912, 892, 17},

[913] = { 50, 914, 891, 17},
[914] = { 100, 915, 892, 17},
[915] = { 200, 916, 894, 17},
[916] = { 400, 917, 895, 17},
[917] = { 600, 918, 896, 17},

-- Vermouth
[895] = { 50, 896, 870, 17},
[896] = { 100, 897, 875, 17},
[897] = { 150, 898, 873, 17},
[898] = { 200, 899, 874, 17},

[900] = { 50, 901, 870, 17},
[901] = { 100, 902, 875, 17},
[902] = { 200, 903, 876, 17},
[903] = { 400, 904, 877, 17},
[904] = { 600, 905, 878, 17},

-- Bills
[494] = { 50, 495, 587, 29},
[495] = { 100, 496, 588, 29},
[496] = { 150, 497, 589, 29},
[497] = { 200, 498, 590, 29},

[499] = { 50, 500, 587, 29},
[500] = { 100, 501, 588, 29},
[501] = { 150, 502, 589, 29},
[502] = { 200, 503, 591, 29},
[503] = { 400, 504, 506, 29},
[504] = { 600, 505, 508, 29},

}

function onSay(cid, words, param, channel)
local voc = config[getPlayerVocation(cid)]
if voc then
if getPlayerLevel(cid) >= voc[1] then
doPlayerSetVocation(cid, voc[2])
doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, "Voce se transformou!")
doCreatureSay(cid, "Transformar", 19)
local outfit = {lookType = voc[3]}
doCreatureChangeOutfit(cid, outfit)
doSendMagicEffect(getCreaturePosition(cid), voc[4])
else
doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, "Voce precisa estar no level " .. voc[1] .. " para transformar.")
end
else
doPlayerSendCancel(cid, "Nao é possível se transformar.")
end
return true
end

 

REP+ se ajudei

 

 

me diz uma coisa, se eu trocar o transform.lua eu vou ter que mudar no vocation.xml né?

Link para o post
Compartilhar em outros sites

@leolovee69 Sim, exemplo o kuririn : -- Kuririn
[244] = { 50, 245, 201, 116},
[245] = { 100, 246, 202, 116},
[246] = { 150, 247, 203, 116},
[247] = { 200, 248, 204, 116},

 

Id da voc dele é 244 até 248

então vai ter q estar isso no vocations.xml

 

<!-- Transformações Kuririn -->
    <vocation id="244" name="Kuririn" description="Kuririn" needpremium="0" gaincap="100" gainhp="270" gainmana="230" gainhpticks="2" gainhpamount="100" gainmanaticks="2" gainmanaamount="100" manamultiplier="1.1" attackspeed="1000" soulmax="200" gainsoulticks="15" fromvoc="244" lessloss="50" manager="1">
        <formula meleeDamage="5.0" distDamage="300.0" wandDamage="1.0" magDamage="1.6" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>
        <skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.1" shielding="1.1" fishing="1.0" experience="1.0"/>
    </vocation>
    <vocation id="245" name="Kuririn" description="Kuririn" needpremium="0" gaincap="100" gainhp="270" gainmana="230" gainhpticks="2" gainhpamount="100" gainmanaticks="2" gainmanaamount="100" manamultiplier="1.1" attackspeed="1000" soulmax="200" gainsoulticks="15" fromvoc="245" lessloss="50" manager="0">
        <formula meleeDamage="50.0" distDamage="300.0" wandDamage="1.0" magDamage="1.8" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>
        <skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.1" shielding="1.1" fishing="1.0" experience="1.0"/>
    </vocation>

Link para o post
Compartilhar em outros sites

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emojis são permitidos.

×   Seu link foi automaticamente incorporado.   Mostrar como link

×   Seu conteúdo anterior foi restaurado.   Limpar o editor

×   Não é possível colar imagens diretamente. Carregar ou inserir imagens do URL.

  • Quem Está Navegando   0 membros estão online

    Nenhum usuário registrado visualizando esta página.

  • Conteúdo Similar

    • Por LeoTK
      Salve galera neste tópico irei postar algumas prints do mapa do servidor para quem queira acompanhar e quem sabe até utilizar de inspiração para mapear o seu NTO.
       
      #Att 11/08/2022

       
       
       
       
      Konoha (Em Desenvolvimento)
       
       
       
       
    • Por DiigooMix
      Como o título já diz, será que alguém possui sprite do hitto e se possível as transformações dele?
    • Por OmegaZero
      Olá gostaria que alguém me ajudasse com uma "scripting" não sei se é pela mesma, seria o seguinte uma determinada arma teria a chance de dar double hit e não sei oque fazer alguem poderia ajudar?

      OBS:não sei se é o local correto se não for mova, desculpe
    • Por Madarasenju
      Olá galera do Tibia King, queria por uns npc's no meu server que não tem função de trade nem nada do tipo, queria que eles só andassem como enfeite, Rep+ Pra quem me ajudar... grato desde já.
    • Por UnknowLoad
      Olá pessoas, eu preciso de um NPC que teleporte o player para essa coordenada: (PDA BY BOZ 2,3)
      {x = 951, y = 1463, z = 7}
      Outflit: 300
      Nick: Monge
       
      Alguém me disponibiliza?
      Urgente
×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo