U3Games

Lineage II | Desarrollo & Soporte => Desarrollo de Servidores => Implementaciones => Mensaje iniciado por: Swarlog en Sep 01, 2022, 12:27 AM

Título: Incrementar drop chance de Atributte Stones
Publicado por: Swarlog en Sep 01, 2022, 12:27 AM
Nota: Codigo para sunrise(L2j antigüo)

Pues de esta manera vais a poder editar el chance de drop de las atributte stones

En GeneralDropItem.java

- Método public double getChance(L2Character victim, L2Character killer) antes del ultimo return añadir:

if (item.getName().equalsIgnoreCase("Fire Stone"){
return getChance() * Config.RATE_DROP_CHANCE_MULTIPLIER_ATTRIBUTESTONES;
}

Esa config fue creada por mi, sino quereis crearla con cambiar  Config.RATE_DROP_CHANCE_MULTIPLIER_ATTRIBUTESTONES por un numero os vale.