diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-08-06 17:15:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-08-06 17:15:02 +0300 |
commit | 8b89f43575300bceaa7ce659117707f1cbc5eddd (patch) | |
tree | 79e933c0c059ed508b1cb9facc08abed2fd07461 /src/being/being.cpp | |
parent | 382f966805d025b81eb7004e0ed03bdaae8ae637 (diff) | |
download | mv-8b89f43575300bceaa7ce659117707f1cbc5eddd.tar.gz mv-8b89f43575300bceaa7ce659117707f1cbc5eddd.tar.bz2 mv-8b89f43575300bceaa7ce659117707f1cbc5eddd.tar.xz mv-8b89f43575300bceaa7ce659117707f1cbc5eddd.zip |
Add own colors for hp bars for homunculus, mercenary, elemental.
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r-- | src/being/being.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp index b4fe2c883..14fddc6c0 100644 --- a/src/being/being.cpp +++ b/src/being/being.cpp @@ -3888,8 +3888,8 @@ void Being::drawHomunculusSpriteAt(Graphics *restrict const graphics, maxHP, PlayerInfo::getStatBase(Attributes::HOMUN_HP), mDamageTaken, - UserColorId::MONSTER_HP, - UserColorId::MONSTER_HP2, + UserColorId::HOMUN_HP, + UserColorId::HOMUN_HP2, x - 50 + mapTileSize / 2 + mInfo->getHpBarOffsetX(), y + mapTileSize - 6 + mInfo->getHpBarOffsetY(), 2 * 50, @@ -3943,8 +3943,8 @@ void Being::drawMercenarySpriteAt(Graphics *restrict const graphics, maxHP, PlayerInfo::getStatBase(Attributes::MERC_HP), mDamageTaken, - UserColorId::MONSTER_HP, - UserColorId::MONSTER_HP2, + UserColorId::MERC_HP, + UserColorId::MERC_HP2, x - 50 + mapTileSize / 2 + mInfo->getHpBarOffsetX(), y + mapTileSize - 6 + mInfo->getHpBarOffsetY(), 2 * 50, @@ -3996,8 +3996,8 @@ void Being::drawElementalSpriteAt(Graphics *restrict const graphics, maxHP, PlayerInfo::getStatBase(Attributes::ELEMENTAL_HP), mDamageTaken, - UserColorId::MONSTER_HP, - UserColorId::MONSTER_HP2, + UserColorId::ELEMENTAL_HP, + UserColorId::ELEMENTAL_HP2, x - 50 + mapTileSize / 2 + mInfo->getHpBarOffsetX(), y + mapTileSize - 6 + mInfo->getHpBarOffsetY(), 2 * 50, |