Beyond Beyaan is a turn-based 4X space strategy game. Guide your empire to victory in this classically-inspired game! Research new technologies to use against your enemies! Design and build ships to wage battles! Colonize or invade planets to expand your control!
Those demostrates both weapon and shield scripts that are run. The game merely calls OnHit, and allows the equipment scripts to directly modify the values. You can see that a shield modifies the laser beam to end at point of impact.