Saruman wrote: ↑Mon Aug 19, 2024 8:42 pm
Hi everyone! I was wondering if all passives would work? I was trying to get "shocking bound" passive warhammer that adds 1d6 lightning damage. Got this passive but damage wasn't added on hit. Same with "Infernal weapon" that adds 6 poison damage and might poison enemy on hit.
Is there something I do wrong or they just don't work?
I believe you're asking about these:
AddPassiveToWeapon("MAG_ShockingBound_Passive")
AddPassiveToWeapon("MAG_InfernalWeapon_WeaponBoost_Passive")
I also didn't see anything added on hit. In my experience the buffs a weapon provides the player are usually more reliable than their buffs on weapon damage.
If you're simply interested in adding lightning damage or whatever I prefer these boost scripts:
"CharacterWeaponDamage(xdx+x,damage)"
EXAMPLE: (2d4+6,Lightning)
Code: Select all
{$lua}
if syntaxcheck then return end
boosts="CharacterWeaponDamage(2d4+6,Lightning)"
[ENABLE]
AddBoostsToPlayer(boosts)
[DISABLE]
RemoveBoostsFromPlayer(boosts)
You can add any number you like. (20,Lightning) adds a flat 20 lightning damage bonus and its visible on the tooltip. Give them a second or two to populate but they'll be applied. I use them often enough to vouch for it.
Consider Substituting any damage type:
Slashing
Piercing
Bludgeoning
Acid
Thunder
Necrotic
Fire
Lightning
Cold
Psychic
Poison
Radiant
Force