Files
Viano-Core/src/server/scripts/Commands
Giacomo Pozzoni 5e3b57bae7 Core/Unit: Fix movement hiccups in water
* Core/Unit: Allow to define Units which can enter water but cannot swim

Allow to define Units which can enter water but cannot swim, i.e. crabs walking at the bottom of a sea.

* Add UNIT_FLAG_SWIMMING to creatures when entering combat

* Fix charmed creatures not entering water

* Always allow Creatures controlled by players to enter water

* Add swimming flag when possessing a unit and remove it properly at the end, even if the creature engaged combat before and after.
When adding/removing UNIT_FLAG_SWIMMING manually calling Creature::RefreshSwimmingFlag(true) might be required.
2021-01-11 12:33:54 +01:00
..
2020-01-04 18:32:38 +01:00
2020-01-04 18:32:38 +01:00
2020-01-04 18:32:38 +01:00
2020-01-04 18:32:38 +01:00
2020-01-04 18:32:38 +01:00
2020-01-04 18:32:38 +01:00
2020-01-04 18:32:38 +01:00
2020-07-22 14:55:48 +02:00
2020-07-07 02:39:07 +02:00
2020-01-04 18:32:38 +01:00
2020-01-04 18:32:38 +01:00
2020-08-22 18:23:50 +02:00
2020-07-22 17:32:51 +02:00
2020-07-22 18:35:41 +02:00