安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题


Is just common sense.
The AI routine computes a value on how effective a spell would be against an opponent.
In this case it is EarthToMud.
EarthToMud is good against non-flyers, non-corporeal and non-teleportation units.
Elemental Armor and Resist Elements is completely irrelevant (against this spell). Those defenses offer no bonus against the spell.
You can see that from the SBH_MassSlow spell. (this is what gets called for "EarthToMud")
That removes the AI checks for:
- RESIST_ELEMENTS
- ELEMENTAL_ARMOR
... and adds AI checks for:
- EARTH_WALKER
========
That would put those two function in-sync...
however, I need to verify if you can check for "EARTH_WALKER" via the skill or the tag (or does it matter?)
Tag values reside in "unit.attributes".
Skill values via "unit.GetSkills()"
While they should be in-sync with each other, I am not 100% sure if that is always the case.
EARTH_WALKER was added in DLC1 as a Goblin common unit-skill and did not exist in the base Game.
If I needed to reference anything, first choices would be the OSG or original manual vs the wiki.
But I am telling you that you do not need to know anything or reference anything to see that something is wrong.
When casting the spell, it is impacted by the following:
- TAG.TELEPORTING
- TAG.CAN_FLY
- TAG.NON_CORPOREAL
- (Skill)SKILL.EARTH_WALKER)
Why would the corresponding AI routine consider RESIST_ELEMENTS or ELEMENTAL_ARMOR when deciding to cast, which has no impact on this spell?
The wiki does not contain anything meaningful regarding the relation between the remake's spell-casting function -vs- ai-computed-value function. Nor does "EARTH_WALKER" exist prior to DLC1.
====
Short answer - No, I did not reference the wiki because I did not need to.
Now that you know there exists a relationship between the two functions, you should be able to eye-ball and spot any weirdness too.
I can see the problem in the code.
Edit: now
You can verify that on on the wiki or manual or OSG.
AI Round 1 - Counter Magic or EarthToMud
AI Round 2 - Which ever AI did not cast previous round
That would be sad if true?
If the AI doesn't cast this, it seems to be only be using counter-magic / dispel magic.
I don't know how much weight would be appropriate - but I did not touch that at all.
Yeah I know it isn't supposed to. But you know how the code often doesn't do what the rules say it should