Originally Posted by
idyte
Hay!
Any got the attack/mob for venenatis in Vencillio?
Code:
package com.vencillio.rs2.entity.mob.impl.wild;
import com.vencillio.rs2.entity.Location;
import com.vencillio.rs2.entity.mob.Mob;
/**
* Handles the Venenatis boss
* @author Daniel
*
*/
public class Venenatis extends Mob {
public Venenatis() {
super(6610, true, new Location(3295, 3851, 0));
}
}
Just code it...
Code:
public class Venenatis extends Mob {
public Venenatis() {
super(6610, true, new Location(3295, 3851, 0));
}
@Override
public void doAliveMobProcessing() {
if (getCombat().getAttacking() != null) {
Player player = (Player) getCombat().getAttacking();
if (Utility.randomNumber(30) == 0) {
player.getUpdateFlags().sendGraphic(new Graphic(333, true));
player.hit(new Hit(Utility.randomNumber(40) + 10));
} else if (Utility.randomNumber(20) == 0) {
World.sendProjectile(new Projectile(140, 1, 0, 75, 43, 31, 16), this, player);
player.poison(Utility.randomNumber(5) + 3);
player.getPrayer().drain(Utility.randomNumber(10) + 10);
}
}
}
}