I have two spells: a Firebolt and a Frostbolt. Each of them deals 100 damage, the first on fire damage, the second one frost damage. But when the Firebolt is cast on a Golem, i want it to deal double damage (200) and when the Frostbolt is cast on a Golem it will deal half damage (50).
How to do that?
How to do that?