• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

ayuda con C++

Status
Not open for further replies.

pollito

Banned User
Joined
Aug 26, 2010
Messages
5
Reaction score
0
nito ayuda para mejorar el ataque de los knights
me dijeronke ay ke cambiar algo en los sourses y otros ke ay ke cambiarlos en los xmls
nose bn pero necesito ayuda para esto
 
oye dices ke es facil tonses di como se hace plx ke no e encontrao eso en ningun foro
 
sigo buscando y nada de nada los players de mi server se tan aburriendo de ke ataken bajo y no saco nada aumentandoles la velocidad , ni editando el conig.lua
plxxxxxxxx ayuda
 
Eso se Cambia en Vocations.xml
Nada de C++ te quieren joder lol/

no ables si no sabes:
1º: se puede hacer todo entre las sourses :p
2º: todas las formas ke tedan de aumentar el atake en Vocations.xml y el config lua no se miden mucho sakas hist de 1- 600 con skill 90 sakas todabia 1 derrepente nada :S

ay tah la config pq no ween la ise resien nose si es lo ke buscas y si quieres una 100% configurable desde config.lua pasas $$

ay tah buscas en weapons.cpp
Code:
int32_t WeaponMelee::getWeaponDamage

borras todo lo ke esta encerrado en {}

y pegas esto :
Code:
{
	int32_t attackSkill = player->getWeaponSkill(item) * 1.2;
	int32_t attackValue = std::max((int32_t)0, (int32_t(item->getAttack() + item->getExtraAttack()) - elementDamage));
	int32_t tope = (item->getAttack() + item->getExtraAttack() * 2) * 10;
	
	float attackFactor = player->getAttackFactor();

	double maxValue = Weapons::getMaxWeaponDamage(player->getLevel(), attackSkill, attackValue, attackFactor);

	if(maxValue >= tope)  
     maxValue = tope;
    	
	int32_t ret = (int32_t)std::floor(maxValue);
	if(maxDamage)
		return -ret;

	int32_t minValue = 0;
	if(target)
	{
		if(target->getPlayer())
			minValue = (int32_t)std::ceil(tope * 0.1);
		else
			minValue = (int32_t)std::ceil(tope * 0.12);
	}

	return -random_range(minValue, ret, DISTRO_NORMAL);
}

saludos dame repp+++ si te sirvio :D
 
Que ridiculo quedaste en explicar

Y aqui se lee, No se habla. Regresa a Kinder haha
 
D= D= D= D= D= D= D= D= D=

de puta madre

grasias kedaron de lujo

aaa? eso funciona tambien para los paladines
 
Status
Not open for further replies.
Back
Top