Patch 0.2

This commit is contained in:
Mitachi
2024-07-23 09:31:14 +02:00
parent 227bc91607
commit adc8f96eb5
5 changed files with 96 additions and 34 deletions

View File

@ -25,10 +25,8 @@
// and add under, this:
#ifdef ENABLE_MOUNT_LIKE_HORSE
if (item1->IsMount() && item2->IsMount() && destCell.IsEquipPosition()) {
HorseSummon(false);
if (item1->IsMount() && item2->IsMount() && destCell.IsEquipPosition())
HorseSummon(true);
}
#endif
/// 3.) Search in bool CHARACTER::UnequipItem(LPITEM item):
@ -52,4 +50,13 @@
#ifdef ENABLE_MOUNT_LIKE_HORSE
if (item->IsMount())
HorseSummon(true);
#endif
/// 5.) in CHARACTER::SetWear(BYTE bCell, LPITEM item):
// at the end before the }, add:
#ifdef ENABLE_MOUNT_LIKE_HORSE
if (item)
CalcBonusMount(item);
#endif