Current time: 24.11.2024, 22:13 Hello There, Guest! (LoginRegister)
Language: english | russian  

Post Reply 
Threaded Mode | Linear Mode
ERA III
Author Message
Archer30 Offline
Moderators

Posts: 1175
Post: #2521

Berserker, in my script, those VR:R occur OnAfterBattleUniversal. I checked the owner here to know whether the heroes were killed and what specialty they should be given if they did.
Tests were performed in single player battles.


Latest ERA mods and scripts in development - My GitHub
(This post was last modified: 09.01.2024 02:16 by Archer30.)
09.01.2024 02:15
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #2522

All VR:R keep to be the same in this trigger, right?


Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
09.01.2024 12:52
Find all posts by this user Quote this message in a reply
Archer30 Offline
Moderators

Posts: 1175
Post: #2523

Yes. There are a few VR:R under this trigger and all of them generate the same set of numbers every time OnAfterBattleUniversal event triggers


Latest ERA mods and scripts in development - My GitHub
09.01.2024 15:32
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #2524

Maybe it's sod behavior related to level-up? Sod seed pseudo random number generator (PRNG) with fixed value before battle and before level up.
Is the value the same for all battles?


Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
09.01.2024 15:37
Find all posts by this user Quote this message in a reply
Archer30 Offline
Moderators

Posts: 1175
Post: #2525

I don't think it's SoD behaviour because reverting to 3.9.6 solves all.

Values aren't the same for all the battles, but they become the same after several battles in a new game, as the video shows


Latest ERA mods and scripts in development - My GitHub
(This post was last modified: 09.01.2024 16:19 by Archer30.)
09.01.2024 16:17
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #2526

Yep, do you 3.9.9 dll to recheck this bug?


Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
09.01.2024 19:58
Find all posts by this user Quote this message in a reply
Archer30 Offline
Moderators

Posts: 1175
Post: #2527

I did. it was the same problem in ERA 3.9.9
I don't have 3.9.8 and 3.9.7 DLL to test


Latest ERA mods and scripts in development - My GitHub
10.01.2024 01:10
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #2528

Ok, thanks, will try to investigate the issue (heroes3.ini, Debug.Destination=Console, Debug.Rng=2).


Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
10.01.2024 01:36
Find all posts by this user Quote this message in a reply
Archer30 Offline
Moderators

Posts: 1175
Post: #2529

Thanks. I wonder if this can be optimised.

I use this script to show the battle log in the very first moment after entering the battlefield. I made an auto-casting spell when entering the battlefield, spell animations and battle log would be shown OnBattlefieldVisible:
It works ok except when the tactic phase occurs. When you check, there is no battle log in the record after the tactic phase ends.
It makes scripting inconvenient - I have to put my MM:S in !?FU(OnBattleRound) instead, like

Any suggestion? Is there a better timing to use MM:S + play spell animation before the tactics phase?
Or is there something can be improved from ERA?


Latest ERA mods and scripts in development - My GitHub
(This post was last modified: 10.01.2024 10:52 by Archer30.)
10.01.2024 02:31
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #2530

Prbably, the game simply clears the log after tactics phase useless logs. You can create new event like



Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
10.01.2024 23:33
Find all posts by this user Quote this message in a reply
Archer30 Offline
Moderators

Posts: 1175
Post: #2531

Thanks!

We don't tweak balance often, but I feel like this is something important:
The calculation of gems provided by Diamond Dragons is a bit ridiculous. Unlike Crystal Dragons, which only count as FALSE/TRUE for every player, Diamond Dragon provides one gem to every hero's owner. This means if you have 2 heroes having Diamond Dragons in the troops, you will have 2 gems/day.
Address: 00755AF7

I feel like it should be like Crystal Dragons' calculation - max one gem/player/day. Otherwise, that brings too many advantages, and players have to worry about the distribution of Diamond Dragons among heroes to get the max gem production, which is also something tedious.


Latest ERA mods and scripts in development - My GitHub
11.01.2024 13:34
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #2532

I agree. I would disable original code via patch and wrote own bonus implementation. Maybe, diamonds after battle or diamonds per each killed dragon. There are many variants to implement.


Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
11.01.2024 14:29
Find all posts by this user Quote this message in a reply
Archer30 Offline
Moderators

Posts: 1175
Post: #2533

Well, any nerf is welcome. The current implementation brings too many advantages if distributing Diamond Dragons to different heroes.

Another thought about the balance of Diamond Dragons is its stack exp ability.
It has a never-working SE ability from WoG: 100% to Deflect 0-50% physical damage until igrik/daemon_n fixed and let it work again in game bug fixes extended.dll last month.
The fix brings a problem. From what I can see, the stats of Diamond Dragons are balanced considering this Deflect ability not working. Now since the Deflect ability works again, Diamond Dragon in full stack exp has become way too stronger than the other level 8s. I have done some tests in battle and with no doubt Diamond Dragons is the strongest. This is not good because they are much worse in 0 stack exp competition. The growth of strength is a bit inconsistent. It doesn't make sense that stack exp changes everything of this creature.

My suggestion: Reduce the chance of Deflect from 100% to 30% or so (Reference: Hell Hydras have 50% chance to block 50% damage on Rank 10). Having to watch the animation of Deflect each time Diamond Dragons gets hit is torture. A lower chance to trigger the ability would just fit.


Latest ERA mods and scripts in development - My GitHub
(This post was last modified: 11.01.2024 15:51 by Archer30.)
11.01.2024 15:48
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #2534

I agree.


Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
11.01.2024 23:56
Find all posts by this user Quote this message in a reply
Archer30 Offline
Moderators

Posts: 1175
Post: #2535

Bug report:
On Town Screen, moving a hero from visiting to garrison reset all the Warlord's Banners of his/her troops to HP bonus.


Latest ERA mods and scripts in development - My GitHub
16.01.2024 07:58
Find all posts by this user Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Forum Jump:

Powered by MyBB Copyright © 2002-2024 MyBB Group