v0.2.3: refactored logic to distinguish between a Hero's class name, and given name.
Note that given name is only going to be set by donation features, which are not in the open source, but the refactor is generally beneficial so I'm putting it in anyway.
This commit is contained in:
@@ -98,7 +98,7 @@ public class DriedRose extends Artifact {
|
||||
hero.sprite.operate(hero.pos);
|
||||
|
||||
if (!firstSummon) {
|
||||
ghost.yell(ghost.VOICE_HELLO + Dungeon.hero.className());
|
||||
ghost.yell(ghost.VOICE_HELLO + Dungeon.hero.givenName());
|
||||
Sample.INSTANCE.play( Assets.SND_GHOST );
|
||||
firstSummon = true;
|
||||
} else
|
||||
|
||||
Reference in New Issue
Block a user