What's new

[2.1] New Feature: Immunity Tables

After Reading: What do you think of this new feature?

  • It's amazing / very useful!

    Votes: 9 56.3%
  • It's alright, somewhat useful

    Votes: 6 37.5%
  • It's terrible / I won't use it

    Votes: 0 0.0%
  • Don't care about it at all

    Votes: 0 0.0%
  • I still don't understand it...

    Votes: 1 6.3%

  • Total voters
    16

MythicCraft

Administrator
Administrator
Developer
Community Manager
Quality Assurance
Joined
Jul 18, 2015
Messages
693
Hello server admins!

Today I'd like to introduce a new feature that will be in the 2.1 release: immunity tables. You're probably wondering right away what that even means, and it might sound a little complicated, but this feature is anything but complicated! In fact, it only has 2 options and does not have any kind of API, so this will be a relatively short post.

The Problem!

So before I go over what Immunity Tables are I'd like to present a problem I'm 200% certain the very savvy mob creators out there have noticed: when you damage a mob in Minecraft, it is immune to damage that is equal to or less than the last hit taken for the next 10 ticks. This is represented by the mob turning red and being immune to most damage for half a second.

These are called the NoDamageTicks. They exist to prevent mobs from being obliterated by spammy players, poisons, lava, fire, etc and funny things happen when you take them away completely.

The problem with NoDamageTicks is that, if you have a massive raid boss with 20k health and 10 players hitting it, in reality it is taking the same damage it would if 1 player were hitting it - the mob can only take damage once every half second, which one player can easily do, so 1 vs 10 vs 100 players doesn't really even make a difference unless you have tons of extra mobs in the fight for other players to spread out and kill.

Some server admins don't think about it, but it can be a huge problem when designing one big bad-ass boss - until now.

So what are Immunity Tables?

Immunity Tables are a new feature for MythicMobs 2.1 that fix the problem outlined above. Enabling ImmunityTables makes the mob track each player's damage and assigns NoDamageTicks individually, so that the mob can only take damage every half second PER PLAYER instead of TOTAL. This means that 1 vs 10 players is a huge difference.

2.1 also includes its own NoDamageTicks option, so you can set how long the mob is immune. ImmunityTables take this value into account.

How do you turn it on?

Enabling ImmunityTables on your mob is easy. Here is an example:

Code:
BigHealthBoss:
  Type: pig_zombie
  Display: '&6Hungry Hungry Pig Zombie'
  Health: 20000
  Modules:
    ImmunityTable: true
    ThreatTable: true
  Options:
    NoDamageTicks: 10

That's it!

And you might notice I included ThreatTables in that example also. ThreatTables have also been moved to be under the "Modules" block, and any new special chunky features MythicMobs adds in the future will go under there. The old method under Options will continue working for ThreatTables though.

Conclusion

Hopefully you find this new feature useful. It solves what I see as a pretty big issue with large raid bosses in Minecraft.

Please let me know what you think! Thanks everyone!
 

zDrakon

MythicMobs Expert
Supporter
Quality Assurance
Joined
Jul 31, 2015
Messages
1,044
I still don't really understand this... So if I have 10 players gaining on a really powerful 8000 health boss, and they have prot IV sharp V etc, and the boss has powerful skills such as Damage, and Lightning, and Fireball, Missiles etc. with the ImmunityTable are you saying that the boss will last longer? and if without using it, 10 players could easily overwhelm the boss?
 

linghun91

Well-Known Member
Premium Supporter
Supporter
Joined
Aug 15, 2015
Messages
80
This is a great feature,I need this feature!!!!!!!!!!!! :)
 

Rickyling

Community Manager
Community Manager
Supporter
Moderator
Quality Assurance
Joined
Jul 24, 2015
Messages
672
DrakonDawn said:
I still don't really understand this... So if I have 10 players gaining on a really powerful 8000 health boss, and they have prot IV sharp V etc, and the boss has powerful skills such as Damage, and Lightning, and Fireball, Missiles etc. with the ImmunityTable are you saying that the boss will last longer? and if without using it, 10 players could easily overwhelm the boss?

Actually, I'm fairly certain it's the other way around.
Right now, a mob has a 10 tick invincibility frame. As such, it can't be hurt in that time pretty much, and anymore than one person attacking it won't make a difference.
With ImmunityTables, the invincibility is PER PLAYER. So different players can all hit it at once and it'll take the damage.
 

zDrakon

MythicMobs Expert
Supporter
Quality Assurance
Joined
Jul 31, 2015
Messages
1,044
So... It actually reduces the OPness of a mob boss.... Hmm. Seems pretty cool, except 10 players can kill any boss I think XD.
 

MythicCraft

Administrator
Administrator
Developer
Community Manager
Quality Assurance
Joined
Jul 18, 2015
Messages
693
DrakonDawn said:
So... It actually reduces the OPness of a mob boss.... Hmm. Seems pretty cool, except 10 players can kill any boss I think XD.

You will definitely have to balance boss health around the number of players the boss is intended for if you use this feature!
 

Tankdest22

MythicMobs Expert
Supporter
Moderator
Quality Assurance
Joined
Jul 20, 2015
Messages
217
Hooray for doubling all the health of my toughest bosses!
 

Xerxes

Member
Joined
Aug 9, 2015
Messages
8
Do immunity tables work in Mob vs Mob fights or does it only apply to players?
 

MythicCraft

Administrator
Administrator
Developer
Community Manager
Quality Assurance
Joined
Jul 18, 2015
Messages
693
Xerxes said:
Do immunity tables work in Mob vs Mob fights or does it only apply to players?

Yes it does work mob vs. mob and will even work on non-entity sources such as fire and lava.
 
Top