trebuchets now have pet AI with canRoam disabled

This commit is contained in:
FatBoy committed 2023-04-21 20:12:49 -05:00
1 parent 3329d61636
commit 45ab68caa4
4 files changed
+14 -7

No files matched your search

@@ -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())