new FORCE_CHANCE_TO_HIT might be buggy
Moderator: Forum Moderators
Forum rules
Before reporting issues in this section, you must read the following topic:
Before reporting issues in this section, you must read the following topic:
new FORCE_CHANCE_TO_HIT might be buggy
Hi,
The new implementation of FORCE_CHANCE_TO_HIT might be buggy in 1.15 when the other side has magical attacks.
To test set the cth to 0 against a silver mage for example.
The new implementation of FORCE_CHANCE_TO_HIT might be buggy in 1.15 when the other side has magical attacks.
To test set the cth to 0 against a silver mage for example.
- Pentarctagon
- Project Manager
- Posts: 5531
- Joined: March 22nd, 2009, 10:50 pm
- Location: Earth (occasionally)
Re: new FORCE_CHANCE_TO_HIT might be buggy
Are you saying that when attacking a silver mage, and you use FORCE_CHANCE_TO_HIT on the unit that's attacking, something isn't working? It'd be really strange for the defender's weapon special to affect a macro used to affect the attacker's weapon.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
take one down, patch it around
-2,147,483,648 little bugs in the code
Re: new FORCE_CHANCE_TO_HIT might be buggy
Hi,
For illustration, try attached scenario in 1.14 and 1.15. Use ranged attacks.
In 1.14 none of the silver mage ranged attacks will land.
In 1.15 they will hit.
For illustration, try attached scenario in 1.14 and 1.15. Use ranged attacks.
In 1.14 none of the silver mage ranged attacks will land.
In 1.15 they will hit.
Code: Select all
{FORCE_CHANCE_TO_HIT (side=2) (side=1) 0 ()}
- Attachments
-
- _main.cfg
- (2.42 KiB) Downloaded 196 times
- Pentarctagon
- Project Manager
- Posts: 5531
- Joined: March 22nd, 2009, 10:50 pm
- Location: Earth (occasionally)
Re: new FORCE_CHANCE_TO_HIT might be buggy
Alright, that's a known issue, with a fix proposed in #5213. So hopefully it'll be resolved in 1.15.8 (since there isn't enough time before 1.15.7).
edit-
Apparently the [pr] tag doesn't want the leading # between the tags.
edit-
Apparently the [pr] tag doesn't want the leading # between the tags.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
take one down, patch it around
-2,147,483,648 little bugs in the code