removing useless attack_facing and attack_when from man

This commit is contained in:
Zeno Rogue committed 2026-03-15 16:53:24 +01:00
1 parent dadf457d0c
commit b455587e11
2 files changed
+1 -5

No files matched your search

-2
View File
@@ -385,8 +385,6 @@ struct effect {
struct man : public entity {
int facing;
int attack_facing;
int attack_when;
int on_floor_when;
int dresstime;
entity *morphed = nullptr;
+1 -3
View File
@@ -52,7 +52,7 @@ void statdata::reset() {
man::man() {
id = "Alchemist";
facing = 1; attack_facing = 1;
facing = 1;
for(auto s: allstats) base_stats[s] = 10;
next.reset(); current.reset();
hs(fountain_resetter);
@@ -61,8 +61,6 @@ man::man() {
void man::hs(stater& s) {
auto& s1 = s.only_full();
s1.act("facing", facing, 1)
.act("attack_facing", attack_facing, 1)
.act("attack_when", attack_when, 0)
.act("on_floor_when", on_floor_when, 0)
.act("xp", experience, 0)
.act("last_action", last_action, 0)