[Rule] Add a Bandolier Swap Delay Rule (#4465)

* [Rule] Add a Bandolier Swap Delay Rule

* Push

* Update exp.cpp
This commit is contained in:
Alex King
2024-09-07 23:05:44 -04:00
committed by GitHub
parent 0e5a38f072
commit bb1578796b
5 changed files with 61 additions and 18 deletions
+6 -1
View File
@@ -3431,6 +3431,11 @@ void Client::SetBandolier(const EQApplicationPacket *app)
}
}
}
if (RuleI(Character, BandolierSwapDelay) > 0) {
bandolier_throttle_timer.Start(RuleI(Character, BandolierSwapDelay));
}
// finally, recalculate any stat bonuses from the item change
CalcBonuses();
}
@@ -4913,4 +4918,4 @@ bool Client::FindNumberOfFreeInventorySlotsWithSizeCheck(std::vector<BuyerLineTr
}
}
return false;
};
};