fix: fix hero direction when changefloor, color in statusbar, color on damage, add q/e for down/up
This commit is contained in:
1 parent
13e08b122f
commit
2be53ffca8
3 files changed
+120
-11
No files matched your search
+1
-1
@@ -197,7 +197,7 @@ enemys.prototype.getDamageString = function (enemy, x, y, floorId) {
|
||||
color = '#FF2222';
|
||||
}
|
||||
else {
|
||||
if (damage < 0) color = '#11FF11';
|
||||
if (damage <= 0) color = '#11FF11';
|
||||
else if (damage < core.status.hero.hp / 3) color = '#FFFFFF';
|
||||
else if (damage < core.status.hero.hp * 2 / 3) color = '#FFFF00';
|
||||
else if (damage < core.status.hero.hp) color = '#FF9933';
|
||||
|
||||
Reference in new issue
Block a user