mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +00:00
Added GetAccountAge() functionality to Perl so people can grant veteran AAs based on account age.
This commit is contained in:
@@ -8667,3 +8667,7 @@ uint32 Client::GetMoney(uint8 type, uint8 subtype) {
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
||||
int Client::GetAccountAge() {
|
||||
return (time(nullptr) - GetAccountCreation());
|
||||
}
|
||||
Reference in New Issue
Block a user