Skip to content

Commit

Permalink
fix: relic outline color not being applied with chimera cards (#221)
Browse files Browse the repository at this point in the history
* fix: relic outline color not working on occasion

* feat: make outline color more bright
  • Loading branch information
scarf005 committed Aug 5, 2023
1 parent 5a36b00 commit 5b984c8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
7 changes: 5 additions & 2 deletions src/main/kotlin/marisa/MarisaContinued.kt
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,10 @@ class MarisaContinued :
MiniHakkero(), BewitchedHakkero(), MagicBroom(), AmplifyWand(),
ExperimentalFamiliar(), RampagingMagicTools(), BreadOfAWashokuLover(), SimpleLauncher(),
HandmadeGrimoire(), ShroomBag(), SproutingBranch(), BigShroomBag()
).forEach { BaseMod.addRelicToCustomPool(it, AbstractCardEnum.MARISA_COLOR) }
).forEach { relic ->
logger.info("""Adding relic: ${relic.name}""")
BaseMod.addRelicToCustomPool(relic, AbstractCardEnum.MARISA_COLOR)
}
BaseMod.addRelic(CatCart(), RelicType.SHARED)
}

Expand Down Expand Up @@ -235,7 +238,7 @@ class MarisaContinued :
private const val SKILL_CC_PORTRAIT = "marisa/img/1024/bg_skill_MRS.png"
private const val POWER_CC_PORTRAIT = "marisa/img/1024/bg_power_MRS.png"
private const val ENERGY_ORB_CC_PORTRAIT = "marisa/img/1024/cardOrb.png"
val STARLIGHT: Color = CardHelper.getColor(0, 10, 125)
val STARLIGHT: Color = CardHelper.getColor(20, 84, 181)
const val CARD_ENERGY_ORB = "marisa/img/UI/energyOrb.png"
private const val MY_CHARACTER_BUTTON = "marisa/img/charSelect/MarisaButton.png"
private const val MARISA_PORTRAIT = "marisa/img/charSelect/marisaPortrait.jpg"
Expand Down
6 changes: 3 additions & 3 deletions src/main/kotlin/marisa/characters/Marisa.kt
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ class Marisa(name: String) :
else -> "The Ordinary Magician"
}

override fun getCardTrailColor(): Color = MarisaContinued.STARLIGHT
override fun getCardTrailColor(): Color = MarisaContinued.STARLIGHT.cpy()

override fun getAscensionMaxHPLoss(): Int = ASCENSION_MAX_HP_LOSS

Expand All @@ -165,7 +165,7 @@ class Marisa(name: String) :

override fun getVampireText(): String = Vampires.DESCRIPTIONS[1]

override fun getCardRenderColor(): Color = MarisaContinued.STARLIGHT
override fun getCardRenderColor(): Color = MarisaContinued.STARLIGHT.cpy()

override fun updateOrb(orbCount: Int) {
energyOrb.updateOrb(orbCount)
Expand All @@ -174,7 +174,7 @@ class Marisa(name: String) :
override fun getOrb() =
AtlasRegion(ImageMaster.loadImage(MarisaContinued.CARD_ENERGY_ORB), 0, 0, 24, 24)

override fun getSlashAttackColor(): Color = MarisaContinued.STARLIGHT
override fun getSlashAttackColor(): Color = MarisaContinued.STARLIGHT.cpy()

override fun getSpireHeartSlashEffect(): Array<AttackEffect> {
return arrayOf(
Expand Down

0 comments on commit 5b984c8

Please sign in to comment.