ArseniyShestakov bf9ac7318a CPathfinder: change cost calculation sequence for embark / disembark
With old embark cost calculation pathfinder may end up thinking that hero can embark/disembark while have less movement points than base movement cost is. Now hero would be only able to embark / disembark if we have enough movement points to step on that tile. This rule is also valid for situation when hero have Admiral's Hat as in H3 even if hero don't have embark penalty he still use move points for embark and disembark.

Problem was found as it's was causing infitite loop in AI. Server of course rejected attempt to embark with less than 100 movement points while pathfinder tell AI that it's can still embark with 93 movement points.
2015-12-15 20:08:52 +03:00
2014-09-04 20:59:07 +03:00
2015-12-04 01:17:43 +02:00
2015-06-01 21:57:43 +02:00
2015-11-02 12:08:42 +01:00
2015-03-08 18:11:43 +03:00
2015-09-24 11:55:23 +03:00
2015-02-14 19:15:34 +03:00
2013-09-02 17:26:52 +00:00
2013-09-02 17:26:52 +00:00
2015-10-17 09:23:28 +03:00

VCMI Project

VCMI is work-in-progress attempt to recreate engine for Heroes III, giving it new and extended possibilities. To use VCMI you need to own original data files.

Installation

For installation of latest release see release announcement on http://vcmi.eu/

For building from source see project wiki at http://wiki.vcmi.eu/

VCMI Project source code is licensed under GPL version 2 or later. VCMI Project assets are licensed under CC-BY-SA 4.0. Assets sources and information about contributors are available under following link: [https://github.com/vcmi/vcmi-assets]

Copyright (C) 2007-2015 VCMI Team (check AUTHORS file for the contributors list)

S
Description
Open-source engine for Heroes of Might and Magic III
Readme
152 MiB
Languages
C++ 65.9%
JSON-with-Comments 28.8%
Inno Setup 3%
CMake 1.3%
Lua 0.3%
Other 0.5%