Whitelist the Striking Moment (ParryDamageBuff) buff

This commit is contained in:
SGKoishi 2023-12-21 20:39:43 -08:00
parent 5d585bb891
commit b6041a738e
No known key found for this signature in database
GPG key ID: 8FFC399070653828
2 changed files with 7 additions and 0 deletions

View file

@ -434,6 +434,12 @@ namespace TShockAPI
CanBeAddedWithoutHostile = true, CanBeAddedWithoutHostile = true,
CanOnlyBeAppliedToSender = true CanOnlyBeAppliedToSender = true
}; };
PlayerAddBuffWhitelist[BuffID.WindPushed] = new BuffLimit
{
MaxTicks = 2,
CanBeAddedWithoutHostile = true,
CanOnlyBeAppliedToSender = true
};
#endregion Whitelist #endregion Whitelist
} }

View file

@ -90,6 +90,7 @@ Use past tense when adding new entries; sign your name off when you add or chang
* Added a property `TSPlayer.Hostile`, which gets pvp player mode. (@AgaSpace) * Added a property `TSPlayer.Hostile`, which gets pvp player mode. (@AgaSpace)
* Fixed typo in `/gbuff`. (@sgkoishi, #2955) * Fixed typo in `/gbuff`. (@sgkoishi, #2955)
* Rewrote the `.dockerignore` file into a denylist. (@timschumi) * Rewrote the `.dockerignore` file into a denylist. (@timschumi)
* Added `ParryDamageBuff` (Striking Moment with Brand of the Inferno and shield) to the `PlayerAddBuffWhitelist` (@sgkoishi, #3005)
## TShock 5.2 ## TShock 5.2
* An additional option `pvpwithnoteam` is added at `PvPMode` to enable PVP with no team. (@CelestialAnarchy, #2617, @ATFGK) * An additional option `pvpwithnoteam` is added at `PvPMode` to enable PVP with no team. (@CelestialAnarchy, #2617, @ATFGK)