Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

After some further digging I have found the PlacePlayerUnit() method in TurnController.cs

My hope is to call this method for an attack similar to Expel. However I’ve encountered several unrelated issues while attempting to recompile the code using dnSpy.

I still have yet to find an idea for #2 but I intend to keep looking. I dug through that old thread about modded characters but they didn’t seem to encounter this problem. If anyone knows a way to fix Error CS1525 “Invalid expression term ‘>’ along with a couple related errors please help.
Edit: Issue resolved.

How about designing a character with chess? You can release the queen and the little soldier, and they can be swallowed up, but the strength is limited by the way of chess. The character can only walk one grid, and the released queen can walk five grids but according to the rules of chess.

Great idea for a use. Something so specific however would require taking a look at the movement system.

To my knowledge, a unit’s movement in controlled by just their “Speed” value which allows the unit to move in a ring around them Speed-number-of-squares wide.

Attacks are handled using a similar ring method with range being controlled by MinRange and MaxRange, which just control the size and distance of the ring.