Buffs
Every buff of Kingdom Come: Deliverance II - 929 buffs from the game’s Libs/Tables/rpg/buff*.xml, one page
per class. A buff is a timed or permanent modifier on a soul: a potion’s effect, an injury, drunkenness, a perk’s bonus.
GivePlayerBuff(pid, buff [, seconds]),RemovePlayerBuff(pid, buff),HasPlayerBuff(pid, buff)take a buff by id, name (case-insensitive) or GUID;GetBuffGuid,GetBuffInfoandFindBuffslook them up (Lua, C#).[combat] claimed_buffsinserver.tomlandClaimBuffClasses({...})name classes - the page names below - the server takes over: a client undoes the game’s own application of any buff of a claimed class unless the server gave it.- The duration is the game’s own, in game minutes (-1 = until removed); the server’s
secondsargument is its own clock.
The id is the buff’s place in the name-sorted export: keep the name or the GUID in anything durable.
| Page | Entries |
|---|---|
| Alcohol | 12 |
| Food Poison | 1 |
| ForcedDrunkenness | 23 |
| Hangover | 6 |
| Heal | 7 |
| Injury | 8 |
| Item Buff | 21 |
| Overeat | 2 |
| Perception | 9 |
| Perfume | 13 |
| Perk Buff | 297 |
| Plague | 4 |
| Poison | 34 |
| Potion | 77 |
| Punishment | 14 |
| Satisfaction | 4 |
| Script System | 155 |
| System Buff | 147 |
| Testing Combat Buff | 12 |
| Testing Stat Buff | 73 |
| Unconsciousness | 5 |
| Weapon Skill Buff | 5 |
