inLined single line methods for code clarity.
This commit is contained in:
1 parent
bed99dce62
commit
2d0116a9d9
13 files changed
+39
-56
No files matched your search
@@ -322,7 +322,7 @@ public class CombatUtilities {
|
||||
float damage = 0;
|
||||
|
||||
DamageType dt = getDamageType(agent);
|
||||
if (agent.isSummonedPet() == true || agent.isPet() == true || agent.isNecroPet() == true) {
|
||||
if ((agent.agentType.equals(AIAgentType.PET)) == true || agent.isPet() == true || agent.isNecroPet() == true) {
|
||||
damage = calculatePetDamage(agent);
|
||||
} else if (agent.isPlayerGuard() == true) {
|
||||
//damage = calculateGuardDamage(agent);
|
||||
|
||||
Reference in new issue
Block a user