The Forums Are Now Closed!

The content will remain as a historical reference, thank you.

DG mod question re: nerfing oak's spirits

By on May 29, 2011 2:45:18 AM from Demigod Forums Demigod Forums

pacov

Join Date 02/2008
+182

I'm looking for a little info from the modding community regarding what sort of effort would be required to make a change to oaks spirit dmg.

1st - I think his dmg is great vs dgs.  I don't really want to nerf that at all.  Rather, I'd like to see a nerf to the dmg his spirits can do to buildings or to the citadel (most specifically).  The main goal would be to remove the exceptionally easy way it is to kill a citadel using a focused minion build with oak. 

Exxcentric might have already developed the code for this when I asked him to make a change on one of his favor mod items (I think it was the poision _____ item - can't remember the name off the top of my head)...  with that item, i just noticed it did a rediculous amt of dmg to the citadel.  He changed up the code some and it was no longer possible for me to kill the cit in like 10 min.  Anyway, can something like that be done with oaks spirits? How much effort is needed?  Thanks!

Locked Post 33 Replies
Search this post
Subscription Options


Reason for Karma (Optional)
Successfully updated karma reason!
May 29, 2011 2:45:26 AM from Demigod Forums Demigod Forums

NT

Reason for Karma (Optional)
Successfully updated karma reason!
May 29, 2011 11:29:10 AM from Demigod Forums Demigod Forums

Well, having weakened spirits when Oak is pounding away on the cit with his axe is kind of unfair.

Maybe the damage reduction can be tied to range?

eg: 0-20 = 100%
21-30 = 50%
31+ = 10%

Just an idea

Reason for Karma (Optional)
Successfully updated karma reason!
May 29, 2011 12:05:58 PM from Demigod Forums Demigod Forums

Quoting LORD-ORION,
Well, having weakened spirits when Oak is pounding away on the cit with his axe is kind of unfair.

Couldn't disagree more.  Consider the base dmg of oak alone, even on a minion build late game... add that to surge with giants with him.  Get goofy and add on last stand.  I don't think oak would have any real handicap if he couldn't kill the citadel with spirits...

Reason for Karma (Optional)
Successfully updated karma reason!
May 29, 2011 12:37:18 PM from Demigod Forums Demigod Forums

What if spirits just can hurt "living" things and no building? It would be more rpg style that ghost can only harm living creatures.

But it may be nerfing spirits to much? Just an idea... Don´t blame me too hard for that.

Reason for Karma (Optional)
Successfully updated karma reason!
May 29, 2011 1:58:49 PM from Demigod Forums Demigod Forums

Quoting OMG_pacov,

Quoting LORD-ORION, reply 2Well, having weakened spirits when Oak is pounding away on the cit with his axe is kind of unfair.
Couldn't disagree more.  Consider the base dmg of oak alone, even on a minion build late game... add that to surge with giants with him.  Get goofy and add on last stand.  I don't think oak would have any real handicap if he couldn't kill the citadel with spirits...

Wha???!?!

The only thing spirits are good at is hitting stationary targets (including big fat slow Rook)

Considering there are also far more insane things, like ground spike. I can't help but feel you aren't taking a holistic approach to solving the spirit problem.

So, what is the real problem with spirits?

1) They can go anywhere
2) Citadel upgrades are mostly worthless, as such structures are easier to bulldoze then intended, ergo the primary problem is with the meta game first, spirits second.

The best problem to fix is probably #1 first, unless you want spirit builds to go the way of crawler builds. Hence my suggestion.

I am sure there are other ways to do it, and I have more ideas too.

Reason for Karma (Optional)
Successfully updated karma reason!
May 29, 2011 3:30:19 PM from Demigod Forums Demigod Forums

I think you are missing it a bit, orion.  And if you don't think spirits are viable against dgs, you probably haven't played against a good minion oak player (eg the idiots that generally just spam the cit probably have no idea how to play a good minion oak (focus on dgs).  

Anyway, this thread isn't really about looking for discussion as to whether or not a nerf is needed... I'm just asking if its possible to change spirits so that their dmg stays as it is for dg/creep dmg, and that it could be changed for either the citadel or structures to a reduced rate... and how much work would be involved in doing that. 

Reason for Karma (Optional)
Successfully updated karma reason!
May 30, 2011 12:38:11 AM from Demigod Forums Demigod Forums

hmm interesting problem

 

with venom stone (the poison item you are talking about) i was able to change the buff so it excluded the citadel from damagable characters.

 

I could do the same for spirits (ie can no longer damage the citadel) but this would be needed to be done to the spirits weapons (as apposed to a buff). 

 

Second option is to remove the ability of oak spirits to be able to target the citadel with their primary weapon, add a secondary weapon that does significantly less damage to the citadel (but does not affect any other characters).

 

Third option is to add an aura to the citadel that reduces the attack speed of oaks spirits when they are within 5 of the citadel but this could cause influence teamfights etc at the citadel.

 

What do you think?

 

First option (just to remove their ability to target the citadel) would be about 3 seconds worth of work.

Second option could take a bit more work but is doable

Third option is again very simple.

 

Exx.

 

Reason for Karma (Optional)
Successfully updated karma reason!
May 30, 2011 1:29:39 AM from Demigod Forums Demigod Forums

Thanks for the response, exx.  I like 1 and 2.  3 - not so much.  I think the best fix would be option 2.  But I'm cool with a simple fix if you can find the time for a simple mod.  At this point, I'd wager about 70% of the remaining user base are downloading my dg mod package on a regular basis.  Adding a mod like this to that package would likely result in at least a 10% adoption rate on the quick (which would grow, of course). 

I'd love if the mod have a silly name... I can only think of horrible things like "quit raping my citadel, noob."  I think it should be silly but explain what the mod does. 

And if you felt like spending any time developing the 2nd one, that would be my #1 preference, but really - anything is an improvement.  And side note - this really isn't a huge issue - just one that has existed for some time. 

If you have time for either, I'd appreciate it.  If you don't have time and wouldn't mind pointing me in the right direction, I'd be willing to code this.  Thanks. 

Reason for Karma (Optional)
Successfully updated karma reason!
May 30, 2011 8:17:10 AM from Demigod Forums Demigod Forums

Hook /lua/common/ArmorTypes.lua with this:

Code: c++
  1. ---Copy Structure armor type to Citadel
  2. ArmorTypes.Citadel = table.copy(ArmorTypes.Structure)
  3. --Reduce spirit damage to Citadel
  4. ArmorTypes.Citadel.Spirit = 0.25
  5. --Optionally reduce spirit damage vs non-Citadel structures
  6. ArmorTypes.Structure.Spirit = 0.5
..and then create a mod_units.bp in the mod's root folder that does something like this:
Code: c++
  1. --Switch citadels to new Citadel armortype
  2. UnitBlueprint {
  3.     BlueprintId = 'stronghold01',
  4.     Merge = true,
  5.     Defense = {
  6.         ArmorType = 'Citadel', --'Structure'
  7.     },
  8. }
  9. UnitBlueprint {
  10.     BlueprintId = 'stronghold02',
  11.     Merge = true,
  12.     Defense = {
  13.         ArmorType = 'Citadel', --'Structure'
  14.     },
  15. }
  16. UnitBlueprint {
  17.     BlueprintId = 'stronghold03',
  18.     Merge = true,
  19.     Defense = {
  20.         ArmorType = 'Citadel', --'Structure'
  21.     },
  22. }
  23. --Switch spirits to Spirit damagetype
  24. UnitBlueprint {
  25.     BlueprintId = 'hoakspirit',
  26.     Merge = true,
  27.     Weapon = {
  28.         [1] = {
  29.             DamageType = 'Spirit', --'Air'
  30.         },
  31.     },
  32. }
Reason for Karma (Optional)
Successfully updated karma reason!
May 30, 2011 8:40:02 PM from Demigod Forums Demigod Forums

Thanks, miri.  I'll compile this and give it a go sometime in the near future. 

Reason for Karma (Optional)
Successfully updated karma reason!
May 31, 2011 12:04:06 AM from Demigod Forums Demigod Forums

created the mod - just need to test it out.

Reason for Karma (Optional)
Successfully updated karma reason!
May 31, 2011 3:25:25 AM from Demigod Forums Demigod Forums

Hey, I see you have a mod in mind.... What if crawlers,spirits,shamblers had a damage respective to their DG's distance. When in close range damage is full. When ranged as far as a tower range from their DG, damage reduced  by 1/2, when completely out of range of controlling DG, damage is 1/4.  So the DG who controls them has like an aura that affects the damage their summoned crawlers inflict.

This way for a citadel kill with spirits, OAK would need to be right there attacking citadel too...

Reason for Karma (Optional)
Successfully updated karma reason!
May 31, 2011 3:25:59 AM from Demigod Forums Demigod Forums

notice I not mention Yetis.... give senda giants instead.

Reason for Karma (Optional)
Successfully updated karma reason!
May 31, 2011 9:41:48 AM from Stardock Forums Stardock Forums

I'm all for discussing this and that for changes, but I'm only looking to create a simple mod atm.  Once that's done, we can expand upon it.  The only goal just nerfing citadel spam by spirits.  That's about all I'm shooting for.  And to be completely reasonable, its not really a big deal.  Having the mod enabled would simply ensure that if you do get one of those fellows that wants to spam the cit won't be able to.  They can still make a nuisance of themselves by tearing up buildings, etc, but they wouldn't be able to destroy the cit single handed for their team even if their team is down by 20 kills.    The only goal I have to is remove the cheese option and enable folks to use it if they want to. 

Once I finish testing, I'll just add it to my combined installer and folks will have access to it if they want it easily. 

Reason for Karma (Optional)
Successfully updated karma reason!
May 31, 2011 1:23:54 PM from Demigod Forums Demigod Forums

Range-based damage on any reasonable timer (more than 0.5s between checks and it's useless) would add a lot of sim work, and significantly increase the game's CPU load.  It could certainly be done, but it would be complicated and would have notable performance consequences in general-heavy games.

Additionally, because minions have both blueprint-specified damage and damagerating damage (from items, Morale, etc), there's no clean way to vary their damage that would scale well with items and abilities in effect.  DamageBonus.Add might work, if no other items are giving that (and none are in stock Demigod), but there is definitely no way to do smooth, linear damage scaling based directly on range. 

 

With this in mind, you could use a simpler system that applies -15%, -30%, and -60% DamageBonus buffs to any minions outside certain ranges from their demigods, but there would still be a performance impact, and the player would have absolutely no feedback on when their minions are doing full or reduced damage (short of adding some kind of color-coded emitter to the affected minions).

Reason for Karma (Optional)
Successfully updated karma reason!
June 1, 2011 10:12:38 AM from Demigod Forums Demigod Forums

I don´t think that generals or minions in common need to be nerfed (Yetis and Shamblers are boosted in Crazytown for a reason). But to nerf oaks spirit against the citadel seems to be a reasonable thing (even I´ve never encountered an oak player like that. But have very little gaming experience yet).

 

Another problem is, that all online games I´ve seen don´t use any mods (once I spotted AI and another time Uberfix 1.03).

One great hope is, that they will be implemented somehow (as an automatic download for example that everybody has them).

But if not (which is maybe more realistic), what to do? Okay not the question for this thread, sorry.

Reason for Karma (Optional)
Successfully updated karma reason!
June 1, 2011 11:19:39 AM from Stardock Forums Stardock Forums

Quoting Plaguewraith,
Another problem is, that all online games I´ve seen don´t use any mods

Many of us chose not to use mods because it limits the folks that can join your game... for instance, if I'm sitting in a lobby for 20 minutes, it might just be because I have a mod on and the folks that want to join don't have it.  That's how it used to be.  The majority of players now get the combined mod package, so there are pretty good odds that you can host a game and folks would be able to join it.

 

Reason for Karma (Optional)
Successfully updated karma reason!
June 1, 2011 11:54:37 AM from Demigod Forums Demigod Forums

Out of curiosity, can Nightwalkers be used like this as well?  I realize that they don't have the same mobility, nor the persistent, non-present creation via totem that spirits have, but they're still really plentiful as long as Erebus is anywhere near a lane, and they have more hitpoints.  I suppose the towers snipe them before they can get to the citadel?

Also, what's this about only Nightwalkers being able to attack wards?  That's not intended, and is definitely UberFix material.

Edit: I see, their TargetRestrictDisallow is set to 'UNTARGETABLE + AIR', and that's not a valid syntax for non-extended category parsing (it should be 'UNTARGETABLE, AIR', although just 'UNTARGETABLE' is functionally the same given that they cannot attack the Air layer as it is).  This is definitely a bug, and probably affects more than just wards, because many units (e.g. walls) rely on the UNTARGETABLE category to prevent being attacked.

Reason for Karma (Optional)
Successfully updated karma reason!
June 1, 2011 1:18:35 PM from Stardock Forums Stardock Forums

Quoting miriyaka,
Out of curiosity, can Nightwalkers be used like this as well? I realize that they don't have the same mobility, nor the persistent, non-present creation via totem that spirits have, but they're still really plentiful as long as Erebus is anywhere near a lane, and they have more hitpoints. I suppose the towers snipe them before they can get to the citadel?

The old cheese with erb was to send the night crawlers to the citadel or towers and use the horn of battle for regen to keep them up and running.  And you could actually intentionally get your minions stuck in the citadel and do damage from there... where it was difficult to target them with melee aa. 

I'm sure you could still pull a little bit of this cheese with erb, but its not as effective post horn nerf.  Oak is better because its possible to work both lanes with wards, his level 15 spirit ability is quite strong, etc.  Anyway, I haven't seen anyone do an erb citadel stomp in > 1k games. 

With regards to being able to attack spirit wards, I only have some questions.  Do reg's mines have any HP associated with them?  They can't be attacked, right?  They just explode or are removed when you hit the limit.  So, they can't be targeted by dgs and they have no HP.  What is the point of having HP associated with spirit wards if they cannot be attacked?  Doesn't sound like a logical design decision. You'd think that if they were meant to be invincible, they wouldn't have scaling hp. 

 

 

Reason for Karma (Optional)
Successfully updated karma reason!
June 1, 2011 2:46:14 PM from Stardock Forums Stardock Forums

Anyway, you think its a bug and the actual intent is to make it so spirit wards can't be targeted.  That would mean that they must have made an earlier design decision where they wanted them to be targetable so they could be destroyed (hence the HP - otherwise having HP on the wards is silly).  Then, perhaps they changed their minds on that, tried to remove the ability to dmg them, but screwed up their code so that erb's rollies could still do the dmg.  That doesn't sound all that implausible and would logically be a fit for uberfix.  But then, I'd suggest fixing the code if possible so that the wards no longer have hp (and no reference would exist in the tooltip (if it does exist) indicating the HP of the ward).  I'm sure that's pie in the sky, but that would remove the redundancy (hp on items on things that can't be dmg'd).

With regards to the bug related to untargetable - I think I've seen this play out a few diff ways.  The occasional targeting of flags or mines when they aren't under your control (minons mostly if I remember right).  And then there's the extra strange thing I've seen with swap on the demon assassin ai.  I've seen him try to swap a tower on cataract many times.  Pretty sure that's with the vanilla ai.  It is not possible to do this as a player using da though... so something strange there.

Reason for Karma (Optional)
Successfully updated karma reason!
June 1, 2011 6:07:35 PM from Demigod Forums Demigod Forums

About the last thing you mentioned Pacov. Yeah I've seen that da tries such things also. AI somehow is able to target more targets with different abilities than the players (walls for examples, without any towers near it). They can actually teleport to those walls (somewhere got replay). So there's something strange there, because as a player, I was never able to do the same.

Reason for Karma (Optional)
Successfully updated karma reason!
June 1, 2011 6:33:09 PM from Demigod Forums Demigod Forums

Mines do have hitpoints.  All units have hitpoints, including many invincible units such as walls, trebuchets, portals, gold mines, etc.  Some of these cannot be hovered over at all because they have the BENIGN category (e.g. walls), but most of them can be hovered over for information purposes (e.g. to see what level a ward is at, or who owns a captureable structure).

However, as in all GPG games, units with UNTARGETABLE and NOSPLASHDAMAGE categories are intended to be absolutely 100% invincible, and anything that causes something to be able to hit them is a bug.  In this case, the extremely obvious bug is that the Nightwalker weapon isn't getting the UNTARGETABLE category parsed for its weapon restrictions, even though it's specified right in the string - there's just a syntax error keeping it from taking effect.

 

And yes, AI can issue all sorts of illegal orders that players can't, such as teleporting to untargetable walls.  This is because that object is technically a valid target for the ability itself (determined by category, or in most cases, lack of category exceptions) and the AI is getting a handle to the object via overly-broad category filters (in the case of wall teleportation, STRUCTURE instead of STRUCTURE and DEFENSE), but the UI's targeting mask prevents e.g. structures from being targeted by Swap for human players.  If you look at the blueprints of these abilities, they'll list both a TargetingMethod (the UI mask) and TargetCategory (what the sim-side ability code allows it to be used on).  The UI does not take categories into account, and allows you to actually click a mask-valid target before halting the cast based on category filters.

It's possible there's a bug in the AI somewhere that doesn't check categories before attempting to issue some ability casts, and the AI DA will attempt to start a Swap cast on an invalid target only to be stopped by the ability system itself (Swap has a TargetCategory of HERO, allowing only use on demigods regardless of what the AI tells it to cast on).

The latest version of the AI mod fixes most if not all of these illegal cast attempts, including wall teleportation.  As evidenced by the behavior of an AI DA trying to swap a tower, it's not good enough just to prevent the ability from being cast on invalid targets (e.g. adding DEFENSE to the TargetCategory of the teleport item abilities), as that just makes the AI get stuck in that cast loop until it's interrupted by something.

Reason for Karma (Optional)
Successfully updated karma reason!
June 1, 2011 8:49:42 PM from Demigod Forums Demigod Forums

Quoting miriyaka,
Mines do have hitpoints. All units have hitpoints, including many invincible units such as walls, trebuchets, portals, gold mines, etc. Some of these cannot be hovered over at all because they have the BENIGN category (e.g. walls), but most of them can be hovered over for information purposes (e.g. to see what level a ward is at, or who owns a captureable structure).

ah - interesting.  was not aware.  Thanks!

Reason for Karma (Optional)
Successfully updated karma reason!
June 3, 2011 12:48:20 PM from Stardock Forums Stardock Forums

Man - soo lazy this week.  I have the nerf mod coded - just need to get around to testing it, coming up with a silly arse name for it, and bundling it up.  Hopefully I'll knock that out this weekend. 

Reason for Karma (Optional)
Successfully updated karma reason!
June 3, 2011 5:50:04 PM from Demigod Forums Demigod Forums

doing some testing

Not going to have the mod impact any structures other than the cit. 

Results of a few quick tests.

Cataract

filthy rich, level 20 start for dgs, 1v1

bought identical items/build for each game

Game 1 -no reduction in place - 2 min 53 seconds to citadel destroyed

Game 2 - .25 cit reduction - 4 min 11 seconds to citadel destroyed

Game 3 - .1 cit reduction - 5 min 15 seconds to citadel destroyed

Game 4 - .05 cit reduction - 5 min 21 seconds to citadel destroyed

Game 5 - .05 cit reduction - enhanced ai bought and ai picked up tower regen - 6 min 18 seconds

 

So, I'm thinking of sticking with .05 for now.  Keeping in mind its still a level 20 oak here going at the citadel and the citadel only.  Obviously this would scale a little bit better.  Might not be enough of a nerf though (eg if an oak can just wait it up until level 15 and then can destroy the cit solo in about 6 min... that's still not so good.  Anyway, this is moving in the right direction imo. 

 

 

Reason for Karma (Optional)
Successfully updated karma reason!
Stardock Forums v1.0.0.0    #101114  walnut1   Server Load Time: 00:00:00.0001172   Page Render Time: