前スレからの話題だが
Math.floor(pow * weapon.custom.Special);を
pow = Math.floor(pow * weapon.custom.Special);
にでも変えるといいと思う

というかこっちの環境だとそれで試したら動いた