Home › Forums › Destiny of an Emperor › DoaE Artificial Intelligence Enhancements + New Tactics
Tagged: Destiny of an Emperor, Destiny of an Emperor hack, Destiny of an Emperor hacking, Destiny of an Emperor Rom, DoaE artificial intelligence, NES AI, NES Artificial Intelligence, NES hacking, ROM Hacking, Yuan Shu
- This topic has 645 replies, 10 voices, and was last updated 4 years, 9 months ago by
MiDKnighT.
-
AuthorPosts
-
July 27, 2012 at 3:28 pm #44076
MiDKnighT
ModeratorQuote:Some suggestions on your end "[OFFICER], you are too strong for me." Image Zhang Fei saying that….Well there's only a 1.9% chance that Zhang Fei would reject a duel. :-)
Since he has 250 STR there's only a 5 in 255 chance of him rejecting. But then there are also 3 random reject messages so it would be even less that he would use that message. So the actual percentage chance that Zhang Fei would say that when offering a duel is 0.6% or a 1 in 153 chance.
Lu Bu should never reject a duel.
July 27, 2012 at 4:09 pm #44077Xu Yuan
ParticipantIs there randomization there or is it just "This character always wins".
July 27, 2012 at 4:41 pm #44078MiDKnighT
ModeratorQuote:Is there randomization there or is it just "This character always wins".Neither… There's some randomization and some characters (like Lu Bu) usually win but not always.
The formula for winning a duel is:
Own STR: 50%
Own AGI: 16.5%
Party Leader's STR: 16.5%
Secret Sauce Random Number: 16.5%
The final number from the above is compared to the opponent's final number of the above (but they have a different secret sauce random number). If they either only has a +10 or less advantage (0A) there is a draw, otherwise the one who wins by 10+ is the victor.
That said dueling against Lu Bu where Lu Bu is leading the enemy party would be very, very tough to beat but not impossible.
July 27, 2012 at 4:46 pm #44079MiDKnighT
ModeratorI'll update the first post with more duel insight.
July 27, 2012 at 5:45 pm #44080sonic.penguin
ModeratorI must've struck the lottery then, heh
July 27, 2012 at 6:27 pm #44081MiDKnighT
ModeratorJust pretend he's saying it sarcastically. "Oh no Song Yong, you're too strong for me… *chuckle*"
July 27, 2012 at 6:29 pm #44082Xu Yuan
ParticipantWhat happens if a character has a No An Sha flag and the 1/3 chance that they're An Sha'd happens? OR for those specific officers does it have only a 1/2 chance of winning or losing?
July 27, 2012 at 6:34 pm #44083MiDKnighT
ModeratorQuote:What happens if a character has a No An Sha flag and the 1/3 chance that they're An Sha'd happens? OR for those specific officers does it have only a 1/2 chance of winning or losing?The "No An Sha" list is ignored for "Duel". Characters protected from "An Sha" in a duel are either characters with INT > 220 (since they won't duel unless they have a BIG advantage) and characters on the "Rare Duel List" for the same reason. (32 generals can fit on the rare duel list)
July 27, 2012 at 6:34 pm #44084MiDKnighT
ModeratorQuote:What happens if a character has a No An Sha flag and the 1/3 chance that they're An Sha'd happens? OR for those specific officers does it have only a 1/2 chance of winning or losing?The "No An Sha" list is ignored for "Duel". Characters protected from "An Sha" in a duel are either characters with INT > 220 (since they won't duel unless they have a BIG advantage) and characters on the "Rare Duel List" for the same reason. (32 generals can fit on the rare duel list)
July 27, 2012 at 7:11 pm #44085Xu Yuan
ParticipantSo what happens if you're playing normal DoaE and you get ambushed by Yuan Shao and use Duel and he happens to be An Sha'd during it (if he accepts it). Does he die then or does he still reappear later?
July 27, 2012 at 7:36 pm #44086MiDKnighT
ModeratorQuote:So what happens if you're playing normal DoaE and you get ambushed by Yuan Shao and use Duel and he happens to be An Sha'd during it (if he accepts it). Does he die then or does he still reappear later?He'll come back. Right now they are only "An Sha'd" and anybody can come back from "An Sha". I'm actually working on the "kill" code now. The idea is that if a general is badly mismatched in a duel they could be killed and removed from the game (not even resurrect can help them…) However, there are several protections I'm building in:
– Nobody over 220 STR can be killed ***
– Nobody over 220 AGI can be killed ***
– Nobody over 220 INT can be killed
– Nobody on the "No Kill List" can be killed. You'll be able to put up to 64 generals on the "No Kill" list. But the stat protections should protect almost all of the main characters anyway.
*** There will also be a mismatch list where there is an automatic kill if two characters meet up. For example Yan Liang would automatically be killed if he dueled Guan Yu in the Yuan Shao mod.
July 27, 2012 at 7:40 pm #44087Xu Yuan
ParticipantWorking on a Kill code? That could be difficult to remove a general from the game completely I would imagine. But it sounds like another way to make the game more exciting, looking forward to progress on that as well.
July 27, 2012 at 7:42 pm #44088MiDKnighT
ModeratorQuote:Working on a Kill code? That could be difficult to remove a general from the game completely I would imagine.I've got it working now. Just needs more testing and working on the mismatch list.
July 27, 2012 at 8:44 pm #44089MiDKnighT
ModeratorI would like some help testing this. Sonic?
This is the KILL feature and mismatch list. Changes:
0x4910:
20F08720F08F20D08E20908B206091EA
0x4DE0:
20C386C955B0034C118AC9AAB0034C50
8E20508BA67886BF20B788854BA67986
BE4C5086EAEAEAEAEA00000000000000
A96C20608F20408DE03DD0034CA58DA5
7885B1A54A85B220B0904CDA89000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
A96D20508FA678A478BDE46185BEAA20
AE88864A98AA857920B788854B20408D
E03DD0034CA58DA57885B1A54B85B220
B0904C3B8A0000000000000000000000
0x4FE0:
4CDE8FC9AAB005A9764CDE8FA9776060
A57330FB202990600000000000000000
A57885B5201090A57985B520109060EA
A57885B520E08FA57985B520E08F6060
A57330FBA072A902A6B5E005901E84F3
0x50C0:
A5B4C9DDF036A4B2B9A860A03FD98084
F00D8810F8A6B1200088C9DC90034C48
91A6B1202088C9DC90034C4891A6B120
4088C9DC90034C4891EAEAEA200090A5
B2854B20808BA6B2BDA860AAA9009D00
63A200BD9060C5B2F006E8E007D0F48A
86B0A906E5B0A8A6B2E007B01DA8A6B0
E8BD9060CA9D9060E88810F4A9FFA206
9D9060A6B1A9A39D9760A6B2E0079005
A9009DA860600000A5B2854B20408B60
00000000000000000000000000000000
A44AB9A860A01FD94084D012A64BBDA8
60D96084D0034C8491A44AB9A8608810
E64C9091A9DD85B44C008E0000000000
A44BB9A860A01FD94084D012A64ABDA8
60D96084D0034CB491A44BB9A8608810
E660EAEAA9DD85B44C508E0000000000
Those with STR, AGI, or INT > 220 will *NOT* be killed unless they are on the mismatch list. There's room for 64 more protected officers on the "No Kill List" as well:
0x4490-0x44CF = No Kill List
The "Mismatch List" is at:
0x4450-0x446F (mismatch list – winner)
0x4470-0x448F (mismatch list – loser)
The "mismatch list" overrides any protections (no kill list or stat protections). If 2 generals on the mismatch list meet in a duel the mismatch loser WILL DIE!
How it works… You put the winner in the first 2 rows and the loser in the last 2 rows. However, they must line up exactly. For example if I wanted Guan Yu to automatically kill Yan Liang in a duel I could put Guan Yu's general ID at 0x4458 and put Yan Liang's general ID at 0x4478 (exactly 2 rows under).
Now if Yan Liang sees Guan Yu in battle he better run… :o
July 27, 2012 at 9:46 pm #44090sonic.penguin
ModeratorSo this would essentially eliminate every officer from the game that wasn't on the list, right? I can give it a shot but it might screw up some plot lines and boss battles, especially if they use a character more than once.
-
AuthorPosts
- You must be logged in to reply to this topic.

