This code exists: https://github.com/Illarion-eV/Illarion ... shield.lua
What does that code mean? Well, if you are wielding a cursed shield (Reminder: this shield is only level 30), this code triggers.
Code: Select all
-- if shield was purified, then no possibility of curse
if ( tonumber(SourceItem:getData("cursedShield")) == 1 ) then return true; end;
-- if the shield is cursed, make it impossible to unequip
if ( tonumber(SourceItem:getData("cursedShield")) == 2 ) and ( ( SourceItem.itempos == 5 ) or ( SourceItem.itempos == 6 ) ) then
-- if successfully removed
if ( math.random( 2000 ) <= User:increaseAttrib( "willpower", 0 ) * 4 ) then
base.common.InformNLS( User, "Mit deinem starken Willen und Ausdauer schaffst du es, das verfluchte Schild von deiner Hand zu lösen.", "With a strong will and perseverance, you manage to detach the cursed shield from your hand." )
return true;
end;
-- else unable to remove shield
base.common.InformNLS( User, "Eine dunkle Energie scheint dich daran zu hindern das Schild loszulassen.", "Some kind of dark energy seems to prohibit you from releasing the shield." );
return false;
end;
end;
Code: Select all
curseChance = math.random( 5 + User:increaseAttrib( "essence", 0 ) + math.floor( User:getSkill(Character.magicResistance) / 5 ) );
1) Cursed shields are TERRIBLE as shields, but are also the only shields with this ridiculous limitation placed on them. The tradeoff is terrible.
2) There is no way to remove the shield sort of breaking it. This can be done by either HOURS of parrying with it, or stripping down and charging to cherga until it breaks. Both of these are frankly terrible RP, one promoting needless powergaming, and the other promoting a ridiculous indifference toward death and manipulating the game engine.
My character got slapped with this script earlier, and the next several hours became devoted to breaking it. It was one of the most frustrating things the post-VBU game has thrust upon me (totally without any warning. Nobody around had ever heard of this happening before), and left no good RP way to fix it.
Here are some ways I think we can fix this:
Proposal 1: Keep the script as is, maybe even make it more frequent, but raise the shield's level DRAMATICALLY to make the tradeoff fair.
Proposal 2: Remove the script altogether. I am not entirely for this, as I think the idea is interesting, but it is incredibly frustrating.
Proposal 3: Create a RP way, explained when the player tries removing the shield, to purify the shield. A purified shield cannot have this happen according to the code, but how is it purified? I feel like this should be made clear to the afflicted player, even if it is a quest that has the initial state of just "Go talk to Priest Jimbob at Temple Zulu to purify the shield."