2024-05-07 06:48:23 +02:00
|
|
|
#include <libultraship/bridge.h>
|
2024-10-05 10:33:10 -05:00
|
|
|
#include "2s2h/GameInteractor/GameInteractor.h"
|
2024-05-07 06:48:23 +02:00
|
|
|
|
|
|
|
|
void RegisterUnbreakableRazorSword() {
|
2024-10-05 10:02:53 -05:00
|
|
|
REGISTER_VB_SHOULD(VB_LOWER_RAZOR_SWORD_DURABILITY, {
|
2024-05-13 12:02:21 -04:00
|
|
|
if (CVarGetInteger("gCheats.UnbreakableRazorSword", 0)) {
|
2024-05-07 06:48:23 +02:00
|
|
|
*should = false;
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|