nytmyr 0cf454dc29
[Feature] Add Water Line of Sight Checks (#3408)
* [Feature] Add Water Line of Sight Checks

This adds rules to enable or disable checks for spells and autofire to prevent casting or autofire from landing if the player or bot do not match their targets plane in regards to water.

Currently players and bots can cast or autofire if they are not in the water but their target is and vice versa, this should not be possible.

RuleB(Combat, WaterMatchRequiredForAutoFireLoS) set to True (default) checks that both parties are in or out of the water for AutoFire to work.

RuleB(Spells, WaterMatchRequiredForLoS) set to True (default) checks that both parties are in or out of the water for spells to land.

* Cleanup.

* Cleanup.

* Cleanup.

---------

Co-authored-by: Kinglykrab <kinglykrab@gmail.com>
2023-06-17 12:32:15 -05:00
..
2023-04-05 12:16:25 -04:00
2013-02-16 16:14:39 -08:00
2014-08-21 16:44:02 -07:00
2014-08-21 17:26:32 -07:00
2013-05-09 11:37:51 -04:00
2013-05-09 11:13:16 -04:00
2016-05-30 06:52:25 -04:00
2013-05-09 11:37:51 -04:00
2014-08-21 19:33:02 -07:00
2014-08-21 19:33:02 -07:00
2014-08-21 17:26:32 -07:00
2013-05-09 11:37:51 -04:00
2018-04-27 21:41:52 -04:00
2018-04-27 21:41:52 -04:00
2016-05-25 02:38:06 -04:00
2013-05-09 11:37:51 -04:00
2013-05-09 11:37:51 -04:00
2020-01-16 17:17:31 -05:00
2013-05-09 11:13:16 -04:00
2013-02-16 16:14:39 -08:00
2014-08-21 19:36:50 -07:00
2013-05-09 11:13:16 -04:00
2020-05-09 14:40:33 -05:00
2013-05-09 11:37:51 -04:00
2013-05-09 11:37:51 -04:00
2021-07-16 21:50:46 -04:00
2014-12-15 22:42:59 -06:00
2013-05-09 11:37:51 -04:00
2019-04-16 01:09:25 -07:00
2019-04-16 01:09:25 -07:00
2019-09-01 23:54:24 -05:00
2016-10-16 21:36:39 -04:00
2019-09-01 23:41:26 -05:00
2018-07-14 17:41:42 -04:00
2013-05-09 11:37:51 -04:00
2023-06-13 17:50:33 -04:00