Skip to content

Commit

Permalink
Snake Oil: add dynamic card text for damage amount
Browse files Browse the repository at this point in the history
  • Loading branch information
dbjorge committed Dec 9, 2019
1 parent 3123b46 commit f2b3657
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ public void use(AbstractPlayer p, AbstractMonster m) {
addToBot(new DamageAllEnemiesAction(p, multiDamage, damageTypeForTurn, AbstractGameAction.AttackEffect.POISON));
}

@Override
public String getRawDynamicDescriptionSuffix() {
return EXTENDED_DESCRIPTION[0];
}

@Override
public void upgrade() {
if (!upgraded) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,11 @@
},
"stsjorbsmod:SnakeOil": {
"NAME": "Snake Oil",
"DESCRIPTION": "Retain. NL Deal !D! damage to ALL enemies. Deals !M! additional damage per stsjorbsmod:Coil. NL Exhaust."
"DESCRIPTION": "Retain. NL Deal damage equal to the amount of stsjorbsmod:Coil you have. NL Exhaust.",
"UPGRADE_DESCRIPTION": "Retain. NL Deal damage equal to twice the amount of stsjorbsmod:Coil you have. NL Exhaust.",
"EXTENDED_DESCRIPTION": [
" NL (Deals !D! damage.)"
]
},
"stsjorbsmod:Stalwart": {
"NAME": "Stalwart",
Expand Down

0 comments on commit f2b3657

Please sign in to comment.