[Quest API] Add rule AlternateAugmentationSealer for using a different bagtype (#2831)

* [Quest API] Add rule AlternateAugmentationSealer for using a different bagtype as an alternate augmentation sealer. Use EVENT_COMBINE with UseAugmentContainer

* Default it to be off or bagtype 53 (BagTypeAugmentationSealer)
This commit is contained in:
Natedog2012
2023-02-06 17:30:16 -06:00
committed by GitHub
parent 25b4b97c41
commit 155ec9ac0d
7 changed files with 25 additions and 1 deletions
+8
View File
@@ -11960,3 +11960,11 @@ void Client::SendPath(Mob* target)
SendPathPacket(points);
}
void Client::UseAugmentContainer(int container_slot) {
auto in_augment = new AugmentItem_Struct[sizeof(AugmentItem_Struct)];
in_augment->container_slot = container_slot;
in_augment->augment_slot = -1;
Object::HandleAugmentation(this, in_augment, nullptr);
safe_delete_array(in_augment);
}