Lol you didn't understand my post, I know it's not based off AMS, I mean you could change the part when the target already has it, just instead of giving error message make it set the value of the shield as in the normal part. I know it's not based off AMS because I also tried modifying it first when I wanted to do a spell pretty similar to urs(My shield was same but also fired some damage back), I did it then basing on the same as you(Creating trigger in the function, handle variables, etc), but I'll have to update mine if I'll use it(ATM no map in work

) since I used the old handle variables which have the gamecache leak because they use no variable for it and I also have some functions in it that seem a bit buggy.