Interesting. These have both, defaultGainChance and gainChance. Both are not documented.
Tested. Still not working. The skills are disabled in university.
Interesting. These have both, defaultGainChance and gainChance. Both are not documented.
Tested. Still not working. The skills are disabled in university.
Ok, i installed your mod and tested. Just got this new skill in an university:
So you can see here, the university bug shows up with your mod too. The bug is limited to the university. Witch huts and normal levelling just give these skills normally.
What i currently do not understand: Why is Fire Magic disabled too? Visiting Hero was a Rampart Ranger.
BTW: The map is a self-made map, and the universities are not edited. I don’t know how to edit them. I use a modified version of the original editor, creating h3m file, because i want to make a campaign.
Looks to be issue with H3M maps loading.
When loading H3M map, vcmi loads allowed skills from h3m, but will not add any skills from mods into allowed list.
Will fix for 1.2, nothing wrong with your mod.
Your mod in 1.1 should work correctly with vcmi maps or with maps from RMG
Thanks!
And yes, this worked in 1.1. I’m glad i could help finding bugs.
BTW, i’m not sure, but there may be an issue with mod loading too. If i have an active mod with submods, then if i deactivate one of these submods, that deactivates the whole mod. Found this with WoG mod (deactivated commanders). And i think, the issue with the resourceful AI mod has the same reason.
PS: I will upload updated mod and map in a few days. Same URL.
PPS: Another bug? At least strange. I don’t know if this is related to some mod, or to the engine:
I found that f.ex. random artifacts now sometimes are war machines. Interesting, but not very useful. Now i got a spell book from a shipwreck survivor. The hero already had a spell book. So the new one was put into his backpack. So i wanted to give that extra spell book to another hero, but that was not possible.
I think it would be better to exclude those artifacts from everything that may reward with an artifact.
Just had another crash. This time the client. System message says there’s not enough memory. So i assume a memory leak in the client.
Bug in vcmi-extras mod?
I found this in the console output (excerpt):
[SKIP] VCMI extras
Wrong Limiter will be ignored: The 'ONLY_ENEMY_ARMY' effectRange is only compatible with the 'OPPOSITE_SIDE' limiter.
Wrong Limiter will be ignored: The 'ONLY_ENEMY_ARMY' effectRange is only compatible with the 'OPPOSITE_SIDE' limiter.
It seems something has changed in the configuration of the limiters and was not ported to the configuration file.
It comes from WoT, not from vcmi-extras.
Ok, thanks.
A question: What is the difference between the SECONDARY_SKILL_PREMY and the SPECIAL_SECONDARY_SKILL bonus types? Say i want a specialty that adds a 5% bonus per level to some secondary skill. How to do that? I saw the SECONDARY_SKILL_PREMY in an existing mod, but the documentation says that the SPECIAL_SECONDARY_SKILL is for specialties. So what to use? And how to use the SPECIAL_SECONDARY_SKILL?
It works now!
Thanks!
Hosting provided by DigitalOcean