November 23rd, 2015, 16:06
(This post was last modified: November 23rd, 2015, 16:14 by Seravy.)
Posts: 10,492
Threads: 395
Joined: Aug 2015
(November 23rd, 2015, 15:56)Hadriex Wrote: Interesting.
Wish I'd known that about Word of Death.
May I ask why Holy Weapon is no longer a combat spell? Has it been substantially altered?
Nope, it simply does nothing if cast in combat...at least the wiki said so. At that time I had no way to verify this but I thought it's better to remove the option than have it not doing anything at all.
Looking at the code, I think they are right.
The effect of the holy weapon in the procedure I named "Apply overland statbonus" although it's not only for overland it is the one that functions both in overland and combat. However, that procedure only checks the overland unit status and the item flags. Effects from the combat enchantment flags is applied elsewhere...but there, Holy Weapon is not considered at all because it's "already applied" which it actually isn't.
Other such effects are applied in "Apply_Passive_Status" which is called by both the above and the in combat and procedure, so it works (and btw this was causing Chaos Channels to grant the +3 defense twice before insecticide)
I guess I could try to move it to the other procedure to make it work if I can make enough space for it. Gotta watch out for Holy Arms too...
wow, over 60 bytes to move...nope, I don't think I want to do that. Too much. Not worth it. Neither the time, nor the space in the code.
You can always just make magical weapons if not playing those two races that cannot, and there is the retort, Eldritch Weapon, Flame Blade, and after the next update, Wraith Form too. Or, you can still cast your Holy Weapon overland.
November 23rd, 2015, 18:47
(This post was last modified: November 23rd, 2015, 18:52 by Seravy.)
Posts: 10,492
Threads: 395
Joined: Aug 2015
About the AI trade offer spam. Normally diplomatic actions use a variable which grows over time and gets reduced every time an offer happens (regardless of it being accepted or not).
However, when the AI offers the trade, this variable is used to determine how good the AI offer is (how much better or worse spells will be offered) and not to determine the chance of it happening. The chance of happening is purely based on the relation level+personality+random die roll>=constant, where good enough relations mean 100% chance.
The other half of the problem is, the AI trade offer no longer reduces this variable. It used to do that, but I had two reasons to remove it. One, it would make the AI unwilling to listen to your trade offers, since he already tried to trade with you. And two, I needed that space to code in a very important missing feature for the trade : the AI player receiving the spell in the trade. Not joking, they actually weren't getting anything at all until I added that effect there.
I could most likely restore the subtraction but that still has no effect on how often the AI makes offers...they'll just get worse, like they'll offer commons for your rares instead of other rares. Unless I also code that somewhere, somehow.
I'll see if I can do both, but remember, doing it will mean after the AI offers a trade they'll be that much less patient in listening to your trade offers. Also, this variable grows quite quickly, so this'll at best postpone the next offer by 8-10 turns.
It's also important to mention that if you trigger any positive diplomatic events it'll refill the variable faster.
November 24th, 2015, 01:01
Posts: 488
Threads: 51
Joined: Apr 2012
Stroke of Genius sure seems to happen a lot.
A CP at war with the player demanded that the player stop his alliance with another CP the first CP was also at war with. Another one kept asking for Raise Volcano over and over and being declined each time (and with good reason, never let the computer have that spell). I think the computer players shouldn't be able to ask for the same thing twice, unless it's losing badly in war and needs peace or something. Cash rewards for attacking came way too often, too.
First time I've ever seen "friendly" on the diplomacy screen, and I'm pretty iffy on "peaceful" as well.
All those turns of casting an artifact, and it's for the archer hero who was killed. LOL. I usually don't make uber-artifacts, I like smaller +2 and +3 ones and make more of them. Empty slots on heroes is a crime.
Could have turned the tide on those invisible nightstalkers by spamming Star Fires, but you quit casting it. It really hurt not just losing 3 heroes, but losing all the items. I was looking forward to watching that Death effect go off. -5 and the staff adds another -4 = -9 to anything = instant death for most creatures in the worlds.
I noticed that Web would have been great help against all those flying creatures like Manticores and Griffins. I also noticed that you didn't go for unit enchantments on your heroes (until very late). Dispel those enemy Lionhearts, they're nasty.
November 24th, 2015, 05:07
Posts: 182
Threads: 10
Joined: Jul 2014
I always feel ichy dispelling a buff. I'm used to playing more red and just killing the unit outright. Obviously, that's not my build this game.
Quote:All those turns of casting an artifact, and it's for the archer hero who was killed. LOL.
I feel awful about it. I couldn't remember what I was making
Quote:Could have turned the tide on those invisible nightstalkers by spamming Star Fires, but you quit casting it. It really hurt not just losing 3 heroes, but losing all the items. I was looking forward to watching that Death effect go off. -5 and the staff adds another -4 = -9 to anything = instant death for most creatures in the worlds.
I'm... Not used to star fires doing much. It was always kind of crappy. I really need to be more flexible and adapt to the changes quicker. Everything about that battle was FAIL
November 24th, 2015, 06:07
Posts: 10,492
Threads: 395
Joined: Aug 2015
About the Night Stalkers, you really should have buffed your resistance to Death Gaze.
I've succeeded fixing the AI trade offer spam, they'll be less frequent in the next version.
The gold reward is set up to be a 25% chance for large enough battles only. Maybe it was just luck, he definitely didn't conquer 3*4 cities.
I was surprised to see Stroke of Genius 3 times in the same game. I guess that's why it's called "random" event, I normally get it like once or twice in a game at most.
November 30th, 2015, 02:29
Posts: 182
Threads: 10
Joined: Jul 2014
Sorry, I don't have one this Sunday
I spent the entire weekend trying to get my computer working again. I finally reformatted it and am working on reinstalling software right now.
I'll see if I can make the video in a day or two. But I've got A LOT to catch up on right now.
December 3rd, 2015, 08:02
Posts: 10,492
Threads: 395
Joined: Aug 2015
(November 30th, 2015, 02:29)Hadriex Wrote: Sorry, I don't have one this Sunday
I spent the entire weekend trying to get my computer working again. I finally reformatted it and am working on reinstalling software right now.
I'll see if I can make the video in a day or two. But I've got A LOT to catch up on right now.
That sounds bad, I hope your saved games are safe.
All these berserkers made me start thinking...why isn't there an Illyasviel in the mod? She could be the Sorcery/Death wizard instead of Yukari. I wonder if I should replace...
December 6th, 2015, 16:15
Posts: 182
Threads: 10
Joined: Jul 2014
I managed to keep my saved games. Everything's working again. However I'm woefully overcommitted at the moment, having lost those days coupled with stuff going on at work during the week. Also i'm leaving on a trip in two weeks (first time I'll get out of the state in almost a decade).
I'm not going to be able to get the video done tonight, however tomorrow I'll get it done and have it uploading when I leave I for work. Unless thing in game go terribly wrong, it should be the final part of the nature Zerks saga.
December 13th, 2015, 16:48
Posts: 182
Threads: 10
Joined: Jul 2014
December 13th, 2015, 18:17
(This post was last modified: December 13th, 2015, 18:17 by Seravy.)
Posts: 10,492
Threads: 395
Joined: Aug 2015
If you haven't loaded a game yet, you can use the autosave with the continue button. It's fixed, safe to use.
I better look into Call Chaos I guess, wonder how that happened.
|