Now checks for parent's on_hit code
Also checks whether the target has a head, to avoid runtimes
Made every other type of ray a subtype of scorchray, because there wasn't a real difference between them other than damage and sprites
Compressed a lot of lines of code, removed "isliving()" check because it's checked in the parent
:cl:
bugfix: Improved the alien scorch/immolation/atomizing ray code, removing a few potential errors with the way it has been turning targets to dust.
Now checks for parent's on_hit code Also checks whether the target has a head, to avoid runtimes Made every other type of ray a subtype of scorchray, because there wasn't a real difference between them other than damage and sprites Compressed a lot of lines of code, removed "isliving()" check because it's checked in the parent
:cl: