I was just wondering why this doesn't throw an error but it doesn't work when executed
Code:
set {_attackBonus} to line 3 of lore of {_forgegem}
set line 1 of lore of {_forgesword} to "&cAttack: %{_attackBonus}%"
set {_intAttackBonus} to {_attackBonus} parsed as number
set {_forgesword}'s attack damage attribute to {_intAttackBonus}
remove {_forgeswordOld} from player
give player {_forgesword}