forked from elonafoobar/elonafoobar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcalc.hpp
66 lines (58 loc) · 1.52 KB
/
calc.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#pragma once
#include <string>
#include "optional.hpp"
namespace elona
{
int calc_buff_duration(int id, int power);
std::string get_buff_description(int id, int power);
void apply_buff(int cc, int id, int power);
struct skill_damage
{
int dice_x;
int dice_y;
int damage_bonus;
int element;
int element_power;
};
optional<skill_damage> calc_skill_damage(int, int, int);
int calcobjlv(int = 0);
int calcfixlv(int = 0);
int calcfame(int = 0, int = 0);
int decfame(int = 0, int = 0);
int calcshopreform();
int calc_rate_to_pierce(int);
std::string calcage(int);
int calcexpalive(int = 0);
int calc_evasion(int cc);
int calc_accuracy(bool consider_distance);
int calcattackhit();
int calcattackdmg(int = 0);
int calcmedalvalue(int = 0);
int calcitemvalue(int = 0, int = 0);
int calcinvestvalue();
int calcguiltvalue();
int calchireadv(int = 0);
int calchirecost(int = 0);
void generatemoney(int = 0);
void calccosthire();
int calccostbuilding();
int calccosttax();
int calcmealvalue();
int calccostreload(int, bool = false);
int calccargoupdate();
int calccargoupdatecost();
int calcidentifyvalue(int);
int calctraincost(int, int, bool = false);
int calclearncost(int, int, bool = false);
int calcresurrectvalue(int = 0);
int calcslavevalue(int = 0);
int calcrestorecost();
int calcinitgold(int);
int calcspellpower(int = 0, int = 0);
int calcspellfail(int = 0, int = 0);
int calcspellcostmp(int = 0, int = 0);
int calcspellcoststock(int = 0, int = 0);
int calcscore();
void calcpartyscore();
void calcpartyscore2();
} // namespace elona