Remove TODO
Remove copy-paste
Rename parameter
Remove unused parameter
Remove unused fields
Use spell effect SetAngle method
Remove redundant null checks
Remove redundant null checks
Indentation
Code style
Replace direct array access
Merge conditions
Indentation
Remove unused field
Remove unused fields
Replace direct array access
Code style
Replace pointer with reference
Extract struct
Extract function