SimulationCraft
SimulationCraft is a tool to explore combat mechanics in the popular MMO RPG World of Warcraft (tm).
snapshot_stats.hpp
1 // ==========================================================================
2 // Dedmonwakeen's Raid DPS/TPS Simulator.
3 // Send questions to [email protected]
4 // ==========================================================================
5 
6 #pragma once
7 
8 #include "config.hpp"
9 
10 #include "action/action.hpp"
11 #include "sc_enums.hpp"
12 #include "util/string_view.hpp"
13 
14 struct attack_t;
15 struct player_t;
16 struct spell_t;
17 
24 struct snapshot_stats_t : public action_t
25 {
26  bool completed;
27  spell_t* proxy_spell;
28  attack_t* proxy_attack;
29  role_e role;
30 
31  snapshot_stats_t(player_t* player, util::string_view options_str);
32 
33  void init_finished() override;
34  void execute() override;
35  void reset() override;
36  bool ready() override;
37 };
bool ready() override
Is the ability ready based on spell characteristics.
Definition: snapshot_stats.cpp:184
Definition: action.hpp:47
Definition: attack.hpp:13
Snapshot players stats during pre-combat to get raid-buffed stats values.
Definition: snapshot_stats.hpp:24
Definition: player.hpp:109
Definition: spell.hpp:11