Ir para conteúdo

Corpse para vocations al morir tfs 0.3.6


Posts Recomendados

https://tumundonline.weebly.com

Buenas, este Topico estará en español. Traducir.

Esto lo agrege en mi servidor de DBKO

Agregaremos Corpse a los players una vez mueres, esto se hace en las sources, Players.cpp

 

Vamos a localizar en Players.cpp

 

uint16_t Player::getLookCorpse() const

 

 

uint16_t NameDoVariable;

 

NameDoVariable = IdDoCorpse;

 

Luego remplazaremos todo el código por lo siguiente

uint16_t Player::getLookCorpse() const
{
    uint16_t goku, vegeta, gohan, trunks, goten, chibit, picoolo, dende, shin, tenshin, uub, freeza, brolly, c17, c18, cell, cooler, buu, bebi, bardock, vegetto, janemba, blackgoku, jiren, krilin, pan, videl, defaultt = 0;
 
    /*Config */
 
    goku = 3113;  // corpse do sorcerer
    vegeta = 3028;    // corpse do druid
    gohan = 3343;    // corpse do paladin
    trunks = 2989;    // corpse do knight	
    goten = 3090;    // corpse do knight	
    chibit = 3090;    // corpse do knight	
    picoolo = 3046;    // corpse do knight	
    dende = 3046;    // corpse do knight	
    shin = 6061;    // corpse do knight	
    tenshin = 3052;    // corpse do knight
    uub = 2935;    // corpse do knight
    freeza = 3043;    // corpse do knight
    brolly = 3016;    // corpse do knight
    c17 = 2967;    // corpse do knight
    c18 = 3109;    // corpse do knight
    cell = 3119;    // corpse do knight
    cooler = 3001;    // corpse do knight
    buu = 2844;    // corpse do knight
    bebi = 6042;    // corpse do knight
    bardock = 2902;    // corpse do knight
    vegetto = 2902;    // corpse do knight
    janemba = 5967;    // corpse do knight
    blackgoku = 2902;    // corpse do knight
    jiren = 2902;    // corpse do knight
    krilin = 6070;    // corpse do knight
    pan = 6048;    // corpse do knight
    videl = 6057;    // corpse do knight

        
    defaultt = 3354;    // corpse padrão.
 
    /*End */
 
    if (getVocationId() == 1 || getVocationId() == 2 || getVocationId() == 3 || getVocationId() == 4 || getVocationId() == 5 || getVocationId() == 6 || getVocationId() == 7 || getVocationId() == 8 || getVocationId() == 9 || getVocationId() == 10 || getVocationId() == 11 || getVocationId() == 12 || getVocationId() == 13) 
        return goku;  
 
    else if (getVocationId() == 14 || getVocationId() == 15 || getVocationId() == 16 || getVocationId() == 17 || getVocationId() == 18 || getVocationId() == 19 || getVocationId() == 20 || getVocationId() == 21 || getVocationId() == 22 || getVocationId() == 23 || getVocationId() == 24 || getVocationId() == 25)
        return vegeta; 
 
    else if (getVocationId() == 26 || getVocationId() == 27 || getVocationId() == 28 || getVocationId() == 29 || getVocationId() == 30 || getVocationId() == 31 || getVocationId() == 32 || getVocationId() == 33 || getVocationId() == 34 || getVocationId() == 35 || getVocationId() == 36) 
        return  gohan;  
 
    else if (getVocationId() == 37 || getVocationId() == 38 || getVocationId() == 39 || getVocationId() == 40 || getVocationId() == 41 || getVocationId() == 42 || getVocationId() == 43 || getVocationId() == 44 || getVocationId() == 45 || getVocationId() == 46 || getVocationId() == 47) 
        return trunks; 
	
	else if (getVocationId() == 48 || getVocationId() == 49 || getVocationId() == 50 || getVocationId() == 51 || getVocationId() == 52 || getVocationId() == 53 || getVocationId() == 54 || getVocationId() == 55 || getVocationId() == 56 || getVocationId() == 57 || getVocationId() == 58) 
		return goten; 
	
	else if (getVocationId() == 60 || getVocationId() == 61 || getVocationId() == 62 || getVocationId() == 63 || getVocationId() == 64 || getVocationId() == 65 || getVocationId() == 66 || getVocationId() == 67 || getVocationId() == 68 || getVocationId() == 69 || getVocationId() == 70) 
        return chibit;  
	   
	else if (getVocationId() == 71 || getVocationId() == 72 || getVocationId() == 73 || getVocationId() == 74 || getVocationId() == 75 || getVocationId() == 76 || getVocationId() == 77 || getVocationId() == 78 || getVocationId() == 79 || getVocationId() == 80 || getVocationId() == 81) 
        return picoolo;  
	    
	else if (getVocationId() == 82 || getVocationId() == 83 || getVocationId() == 84 || getVocationId() == 85 || getVocationId() == 86 || getVocationId() == 87 || getVocationId() == 88 || getVocationId() == 89 || getVocationId() == 90 || getVocationId() == 91 || getVocationId() == 92) 
        return dende;  
	
	else if (getVocationId() == 93 || getVocationId() == 94 || getVocationId() == 95 || getVocationId() == 96 || getVocationId() == 97 || getVocationId() == 98 || getVocationId() == 99 || getVocationId() == 100 || getVocationId() == 101 || getVocationId() == 102 || getVocationId() == 103) 
        return shin;  
	
	else if (getVocationId() == 104 || getVocationId() == 105 || getVocationId() == 106 || getVocationId() == 107 || getVocationId() == 108 || getVocationId() == 109 || getVocationId() == 110 || getVocationId() == 111 || getVocationId() == 112 || getVocationId() == 113 || getVocationId() == 114) 
        return tenshin; 
	
	else if (getVocationId() == 115 || getVocationId() == 116 || getVocationId() == 117 || getVocationId() == 118 || getVocationId() == 119 || getVocationId() == 120 || getVocationId() == 121 || getVocationId() == 122 || getVocationId() == 123 || getVocationId() == 124 || getVocationId() == 125) 
        return uub; 
	
	else if (getVocationId() == 126 || getVocationId() == 127 || getVocationId() == 128 || getVocationId() == 129 || getVocationId() == 130 || getVocationId() == 131 || getVocationId() == 132 || getVocationId() == 133 || getVocationId() == 134 || getVocationId() == 135 || getVocationId() == 136) 
        return freeza; 
	
	else if (getVocationId() == 137 || getVocationId() == 138 || getVocationId() == 139 || getVocationId() == 140 || getVocationId() == 141 || getVocationId() == 142 || getVocationId() == 143 || getVocationId() == 144 || getVocationId() == 145 || getVocationId() == 146 || getVocationId() == 147) 
        return brolly; 
	
	else if (getVocationId() == 148 || getVocationId() == 149 || getVocationId() == 150 || getVocationId() == 151 || getVocationId() == 152 || getVocationId() == 153 || getVocationId() == 154 || getVocationId() == 155 || getVocationId() == 156 || getVocationId() == 157 || getVocationId() == 158) 
        return c17; 
	
	else if (getVocationId() == 159 || getVocationId() == 160 || getVocationId() == 161 || getVocationId() == 162 || getVocationId() == 163 || getVocationId() == 164 || getVocationId() == 165 || getVocationId() == 166 || getVocationId() == 167 || getVocationId() == 168 || getVocationId() == 169) 
        return c18; 
	
	else if (getVocationId() == 170 || getVocationId() == 171 || getVocationId() == 172 || getVocationId() == 173 || getVocationId() == 174 || getVocationId() == 175 || getVocationId() == 176 || getVocationId() == 177 || getVocationId() == 178 || getVocationId() == 179 || getVocationId() == 180) 
        return cell; 
	
	else if (getVocationId() == 203 || getVocationId() == 204 || getVocationId() == 205 || getVocationId() == 206 || getVocationId() == 207 || getVocationId() == 208 || getVocationId() == 209 || getVocationId() == 210 || getVocationId() == 211 || getVocationId() == 212 || getVocationId() == 213) 
        return cooler;  
	
	else if (getVocationId() == 181 || getVocationId() == 182 || getVocationId() == 183 || getVocationId() == 184 || getVocationId() == 185 || getVocationId() == 186 || getVocationId() == 187 || getVocationId() == 188 || getVocationId() == 189 || getVocationId() == 190 || getVocationId() == 191) 
        return buu; 
	
	else if (getVocationId() == 192 || getVocationId() == 193 || getVocationId() == 194 || getVocationId() == 195 || getVocationId() == 196 || getVocationId() == 197 || getVocationId() == 198 || getVocationId() == 199 || getVocationId() == 200 || getVocationId() == 201 || getVocationId() == 202) 
        return bebi; 
	
	else if (getVocationId() == 214 || getVocationId() == 215 || getVocationId() == 216 || getVocationId() == 217 || getVocationId() == 218 || getVocationId() == 219 || getVocationId() == 220 || getVocationId() == 221 || getVocationId() == 222 || getVocationId() == 223 || getVocationId() == 224) 
        return bardock;  
	
	else if (getVocationId() == 225 || getVocationId() == 226 || getVocationId() == 227 || getVocationId() == 228 || getVocationId() == 229 || getVocationId() == 230 || getVocationId() == 231 || getVocationId() == 232) 
        return vegetto; 
	
	else if (getVocationId() == 233 || getVocationId() == 234 || getVocationId() == 235 || getVocationId() == 236 || getVocationId() == 337 || getVocationId() == 238 || getVocationId() == 239 || getVocationId() == 240 || getVocationId() == 241 || getVocationId() == 242 || getVocationId() == 243) 
        return janemba; 
	
	else if (getVocationId() == 266 || getVocationId() == 267 || getVocationId() == 268 || getVocationId() == 269 || getVocationId() == 270 || getVocationId() == 271 || getVocationId() == 272 || getVocationId() == 273 || getVocationId() == 274 || getVocationId() == 275 || getVocationId() == 276) 
        return blackgoku;
	
	else if (getVocationId() == 278 || getVocationId() == 279 || getVocationId() == 280 || getVocationId() == 281 || getVocationId() == 282 || getVocationId() == 283 || getVocationId() == 284 || getVocationId() == 285 || getVocationId() == 286 || getVocationId() == 287 || getVocationId() == 288) 
        return jiren;
	
	else if (getVocationId() == 290 || getVocationId() == 291 || getVocationId() == 292 || getVocationId() == 293 || getVocationId() == 294 || getVocationId() == 295 || getVocationId() == 296 || getVocationId() == 297 || getVocationId() == 298 || getVocationId() == 299 || getVocationId() == 300) 
        return krilin; 
	
	else if (getVocationId() == 301 || getVocationId() == 302 || getVocationId() == 303 || getVocationId() == 304 || getVocationId() == 305 || getVocationId() == 306 || getVocationId() == 307 || getVocationId() == 308 || getVocationId() == 309 || getVocationId() == 310 || getVocationId() == 311) 
        return pan; 
	
	else if (getVocationId() == 312 || getVocationId() == 313 || getVocationId() == 314 || getVocationId() == 315 || getVocationId() == 316 || getVocationId() == 317 || getVocationId() == 318 || getVocationId() == 319 || getVocationId() == 320 || getVocationId() == 321 || getVocationId() == 322) 
        return videl; 

	
    return defaultt;  

}

 

 

Dejo mi Sitio web https://tumundonline.weebly.com

Link para o comentário
Compartilhar em outros sites

  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...