[Experience] Add SetExp/SetAAExp lua mods (#4292)

This commit is contained in:
Xackery
2024-05-04 16:10:27 -07:00
committed by GitHub
parent aa0e53f5fc
commit 758859eea6
23 changed files with 236 additions and 57 deletions
+1
View File
@@ -36,6 +36,7 @@ void SetAAEXP(Client *c, const Seperator *sep)
if (is_aa) {
t->SetEXP(
ExpSource::GM,
t->GetEXP(),
aa_experience,
false
+2
View File
@@ -26,11 +26,13 @@ void SetEXP(Client *c, const Seperator *sep)
if (is_aa) {
t->SetEXP(
ExpSource::GM,
t->GetEXP(),
amount
);
} else if (is_exp) {
t->SetEXP(
ExpSource::GM,
amount,
t->GetAAXP()
);