forked from MagicBane/Server
trebuchets now have pet AI with canRoam disabled
This commit is contained in:
@@ -115,6 +115,9 @@ public class CombatUtilities {
|
||||
DispatchMessage.sendToAllInRange(agent,msg);
|
||||
}
|
||||
public static void swingIsDamage(Mob agent, AbstractWorldObject target, float damage, int animation){
|
||||
if(agent.isSiege() == true){
|
||||
damage = ThreadLocalRandom.current().nextInt(1000) + 1500;
|
||||
}
|
||||
float trueDamage = damage;
|
||||
//target = agent.getCombatTarget();
|
||||
if (!target.isAlive())
|
||||
|
||||
Reference in New Issue
Block a user