Comments (2)
Hi @Branikolog , this is too broad requirement about cases when the AI should use and shouldn't. Please specify the conditions and explain why we should implement this way or another.
from fheroes2.
Hi, @ihhub
This spell is rather powerful and consumes lots of mana if used improperly.
Analyzing the case from the video I can suggest a few improvements in logic, that could optimize the spell usage.
AI should use DD if the target is blocked or unreachable in the current circumstances.
AI should preferably use DD when the controlled hero could save a reasonable amount of movement points. When AI hero creates a path on a screen and the amount of movement points to reach the target cell highly exceeds the number of movement points spent for spellcast - then DD brings the highest benefit. It's much more effective to cast DD and save 1500 pts, rather than jump to not so distant pile of wood, that requires wasting only 400pts. to reach it.
On a video above you can see that AI simply jumps over a few artifacts, that seem to block his path to capture a sawmill.
So if any object blocks hero path AI hero could pick them up instead of jumping over it.
from fheroes2.
Related Issues (20)
- Вылетает игра HOT 13
- Game crashes with failed AI assertion HOT 4
- Conflicting hotkey-mapping and hotkey-functions HOT 2
- Crash report from discord HOT 4
- Battle AI underestimates the value of anti-magic on bone dragons, casts haste instead HOT 1
- Meeting screen, morale and luck sprites, sprites of the hero on the right side are not correctly centered horizontally related to the portrait frame and the screen frame HOT 3
- Core dump on opening the map
- Window elements do not disappear instantly HOT 1
- File options menu disappears on cancelling load game dialog
- Castle construction screen, cliff nest has glowing pixel HOT 1
- Adventure map, Witch's Hut, right-click information window, a line with brackets and no text is displayed below the secondary skill line when the selected hero does not have the secondary skill of the witch's hut HOT 1
- Improve AI ghosts' target priorities
- Make the world map EXIT button size adaptable HOT 1
- Use the large EXIT button on the puzzle map rather than the small EXIT button HOT 1
- Eagle Eye skill description misunderstanding HOT 3
- Adventure map, AI summons a boat, right near the one he previously landed from HOT 8
- Break lengthy lines not only separated by whitespace but other special characters if possible HOT 2
- Dialog's frame is not consistent for the same size windows
- VSync ON causes flickering fade out when exiting certain screens back to the adventure map HOT 7
- The artifact "Wand of Negation" doesn't work as intended HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fheroes2.