mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 00:46:46 +00:00
[Experience] Add SetExp/SetAAExp lua mods (#4292)
This commit is contained in:
@@ -36,6 +36,7 @@ void SetAAEXP(Client *c, const Seperator *sep)
|
||||
|
||||
if (is_aa) {
|
||||
t->SetEXP(
|
||||
ExpSource::GM,
|
||||
t->GetEXP(),
|
||||
aa_experience,
|
||||
false
|
||||
|
||||
@@ -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()
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user