Georgv
Posts: 30
|
SergOz, Элементали сохраняют опыт умершего клона. То есть был голем с опытом 3000 - сделали его клон, клон погиб. Вызываем элементаля. Элементаль вызывается в стек с тем же номером на поле битвы и имеет опыт 3000, при этом характеристики типа атаки, защиты итд. у элементалей остаются нормальными. Брать из базовых характеристик монстров все параметры тоже не вариант. тк нам нужны для клона базовые характеристики, но с бонусом от опыта. В общем тут проблемы везде...
(This post was last modified: 05.12.2023 08:17 by Georgv.)
|
|
05.12.2023 08:13 |
|
SergOz
Posts: 1325
|
|
05.12.2023 08:17 |
|
Georgv
Posts: 30
|
Возможно нужно просто забить на этих клонов ) По крайней мере я когда пытался сделать им наследование опыта, ничего приличного так и не придумал и в итоге пришел к этому варианту )
|
|
05.12.2023 08:21 |
|
daemon_n
Posts: 4348
|
Georgv, SergOz, сбросить опыт отряда клона ничего не мешает через EA[-1:-42];
igrik Wrote:
Поэтому меняем
на
Новейший Heroes Launcher
|
|
05.12.2023 17:35 |
|
Valery
Posts: 2196
|
Hi guys,
How do we limit a specific hero level up to only castle and rampart heroes?
!?HL-1;
!!HE-1:N?y1;
!!FU&y1<32:E; castle and rampart heroes 0-31
Doesn't work, it processes all heroes ...
However, if I want to prohibit a specific hero, it works
!!HE-1:N?v2;
!!FU|v2=45/v2=151:E; solmyr and mutare
Also works limiting to faction
!!HE-1:O?y1;
!!FU&y1<>5:E; only purple heros.
(This post was last modified: 11.12.2023 07:39 by Valery.)
|
|
11.12.2023 07:29 |
|
Valery
Posts: 2196
|
yes, good idea thanks. I wondered why the block <32 didn't work, debug shows the value considered, but script continues instead of exit.
|
|
11.12.2023 23:50 |
|
Berserker
Posts: 16717
|
|
12.12.2023 02:34 |
|
Valery
Posts: 2196
|
But that's the problem, it doesn't exit script.
|
|
12.12.2023 10:32 |
|
Valery
Posts: 2196
|
I had this script :
So I forgot a few heroes level 6000 come into map middle game. So when Solmyr was put on map, he got all skills thus learning so that meant I have to click 3000 times to end his leveling. So I wrote the block after HL
!!HE-1:N?y1;
!!FU&y1<32:E;
And still Solmyr (45) got the leveling. The script doesn't exit, I tested half hour. Only faction color and class exit. Now that I think, maybe I should have tried flag 1000 on trigger, as those are only AI heroes. Debug shows y1=45, yet script continues.
(This post was last modified: 13.12.2023 03:03 by Valery.)
|
|
13.12.2023 02:55 |
|
Valery
Posts: 2196
|
Oh boy, that was an amateur mistake, sorry. Getting old... not seeing the elephant in the room .
Spent half hour trying to figure why it didn't work.
(This post was last modified: 13.12.2023 12:10 by Valery.)
|
|
13.12.2023 11:40 |
|
Berserker
Posts: 16717
|
|
14.12.2023 02:48 |
|