The second code you tried to use has a preposition error. You need to use "From" instead of "To" for the code to be removed.explosions1163 wrote: ↑Mon Mar 31, 2025 9:17 pmI clicked on the "Add Roll Bonus", which gives 50+ to all rolls. However, I'm not sure how to remove it.
the Code isI tried to useCode: Select all
{$lua} if syntaxcheck then return end [ENABLE] AddBoostsToPlayer("RollBonus(SkillCheck,50);RollBonus(RawAbility,50);RollBonus(SavingThrow,50)") [DISABLE]
But that didn't seem to work. Any idea how to remove the bonus once you've added it?Code: Select all
{$lua} if syntaxcheck then return end [ENABLE] RemoveBoostsToPlayer("RollBonus(SkillCheck,50);RollBonus(RawAbility,50);RollBonus(SavingThrow,50)") [DISABLE]
I find it's easier to combine these codes by adding the "remove boost" line after [DISABLE]. Anything written after will trigger when you uncheck to box.
The code should look like this:
Code: Select all
{$lua}
if syntaxcheck then return end
[ENABLE]
AddBoostsToPlayer("RollBonus(SkillCheck,50);RollBonus(RawAbility,50);RollBonus(SavingThrow,50)")
[DISABLE]
RemoveBoostsFromPlayer("RollBonus(SkillCheck,50);RollBonus(RawAbility,50);RollBonus(SavingThrow,50)")
Code: Select all
{$lua}
if syntaxcheck then return end
boosts=
{
"RollBonus(RawAbility,20)",
"RollBonus(SkillCheck,20)",
"RollBonus(SavingThrow,20)"
}
[ENABLE]
AddBoostsToPlayer(boosts)
[DISABLE]
RemoveBoostsFromPlayer(boosts)
"Advantage(AllAbilities)" -- take the higher of two dice rolled for ability checks
"Advantage(AllSavingThrows)" -- take the higher of two dice rolled for saving throws
"MinimumRollResult(RawAbility,2)" -- never critical miss a raw ability roll
"MinimumRollResult(SkillCheck,2)" -- never critical miss a skill check
"MinimumRollResult(SavingThrow,2)" -- never critical miss a saving throw
**Only use these for dialog checks then disable them (will crash your game if left on):
**"MinimumRollResult(RawAbility,20)" -- critical success all raw ability rolls
**"MinimumRollResult(SkillCheck,20)" -- critical success all skill checks
**"MinimumRollResult(SavingThrow,20)" -- critical success all saving throws
"MinimumRollResult(Attack,20)" -- always hit with your attack rolls. a 20 is a critical hit
"RollBonus(Attack,20)" -- you'll hit on anything except when you roll a 1. meaning you can still critical miss
"CriticalHit(AttackRoll,Success,Always)" -- overrides your attack dice so you always critical hit
"CriticalHit(AttackRoll,Failure,Never)" -- never critical miss but allows for any attack roll
"MinimumRollResult(Damage,20)" -- roll stated max damage from anything controlled by your damage dice
"RollBonus(Damage,20)" -- same thing. there aren't critical misses on damage like with attack rolls
"DamageBonus(20)" -- adds a numerical boost to every output of damage
"IF(SpellAttackCheck()):DamageBonus(20)" -- ditto but for spells only
"IF(AttackingWithMeleeWeapon(context.Source)):DamageBonus(20)" -- ditto but for melee weapons only
"IF(AttackingWithRangedWeapon(context.Source)):DamageBonus(20)" -- ditto but for ranged weapons only
"CharacterUnarmedDamage(20)" -- ditto but for unarmed attacks only
"CriticalHit(AttackTarget,Failure,Always)" -- enemies always critical miss
"CriticalHit(AttackTarget,Success,Never)" -- enemies never critical hit
"Disadvantage(AttackTarget)" -- enemies roll their attack dice against you with disadvantage
"MaximizeHealing(Incoming)" -- healing isn't accomplished with dice but we can max it out
"MaximizeHealing(Outgoing)" -- same as above but for your healing on others
How to use this cheat table?
- Install Cheat Engine
- Double-click the .CT file in order to open it.
- Click the PC icon in Cheat Engine in order to select the game process.
- Keep the list.
- Activate the trainer options by checking boxes or setting values from 0 to 1