summaryrefslogtreecommitdiff
path: root/src/main/java/tlIItools/EffectGroup.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/tlIItools/EffectGroup.java')
-rw-r--r--src/main/java/tlIItools/EffectGroup.java16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/main/java/tlIItools/EffectGroup.java b/src/main/java/tlIItools/EffectGroup.java
index 7938e0dd..78e0324a 100644
--- a/src/main/java/tlIItools/EffectGroup.java
+++ b/src/main/java/tlIItools/EffectGroup.java
@@ -32,6 +32,20 @@ public class EffectGroup {
/** Whether or not this effect is a 'transfer' effect (Applied to the enemy on a hit). */
public boolean isTransfer;
+ public String summary() {
+ StringBuilder sb = new StringBuilder();
+
+ // @TODO Ben Culkin 12/31/2020 :FancyEffectSummary
+ //
+ // EffectGroups should probably use something from EffectRepo to better
+ // output the summary for a particular group type
+ String fmt = "%s (name %s, damageType %s, hasDuration %s, stat %s, isBonus %s, ownerLevel %s, useGraph %s, graphOverride %s, exclusive %s, isTransfer %s)";
+
+ sb.append(String.format(fmt, type, name, damageType, hasDuration, statName, isStatBonus, ownerLevel, useGraph, graphOverride, exclusive, isTransfer));
+
+ return sb.toString();
+ }
+
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
@@ -77,4 +91,4 @@ public class EffectGroup {
&& ownerLevel == other.ownerLevel
&& useGraph == other.useGraph;
}
-} \ No newline at end of file
+}