mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 16:51:29 +00:00
19 lines
437 B
C++
Executable File
19 lines
437 B
C++
Executable File
#include "../client.h"
|
|
#include "../object.h"
|
|
|
|
void command_augmentitem(Client *c, const Seperator *sep)
|
|
{
|
|
if (!c) {
|
|
return;
|
|
}
|
|
|
|
auto in_augment = new AugmentItem_Struct[sizeof(AugmentItem_Struct)];
|
|
in_augment->container_slot = 1000; // <watch>
|
|
in_augment->augment_slot = -1;
|
|
if (c->GetTradeskillObject() != nullptr) {
|
|
Object::HandleAugmentation(c, in_augment, c->GetTradeskillObject());
|
|
}
|
|
safe_delete_array(in_augment);
|
|
}
|
|
|