mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-02 14:04:30 +00:00
removing useless attack_facing and attack_when from man
This commit is contained in:
1 parent
dadf457d0c
commit
b455587e11
2 files changed
+1
-5
No files matched your search
@@ -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
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user