summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-06 17:15:02 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-06 17:15:02 +0300
commit8b89f43575300bceaa7ce659117707f1cbc5eddd (patch)
tree79e933c0c059ed508b1cb9facc08abed2fd07461 /src/being
parent382f966805d025b81eb7004e0ed03bdaae8ae637 (diff)
downloadmanaverse-8b89f43575300bceaa7ce659117707f1cbc5eddd.tar.gz
manaverse-8b89f43575300bceaa7ce659117707f1cbc5eddd.tar.bz2
manaverse-8b89f43575300bceaa7ce659117707f1cbc5eddd.tar.xz
manaverse-8b89f43575300bceaa7ce659117707f1cbc5eddd.zip
Add own colors for hp bars for homunculus, mercenary, elemental.
Diffstat (limited to 'src/being')
-rw-r--r--src/being/being.cpp12
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,