MaNGOSR2
Would you like to react to this message? Create an account in a few clicks or log in to continue.
MaNGOSR2

MangosR2 is a free, open source MMORPG framework, derived from MaNGOS project


You are not connected. Please login or register

Immunity for knockback

3 posters

Go down  Message [Page 1 of 1]

1Immunity for knockback Empty Immunity for knockback Wed Jul 04 2012, 22:18

michalpolko

michalpolko

When we tried to implement immunity for knockback for all bosses and vehicles, rsa reverted it saying that it is wrong. Maybe we should add a flag for this immunity?
This is a big problem in game, knocking bosses may lead to exploiting, knocking vehicles in bg leads to unfair winning etc.

I don't know if there are any bits left in mechanic_immunity_mask, if not then maybe in flags_extra?

2Immunity for knockback Empty Re: Immunity for knockback Thu Jul 05 2012, 04:01

rsa

rsa
Admin

Full knockback immunity impossible (some units with "boss" parameters, also some vehicles be knockbacked, it's fact), need research for this. possible some flags? if no one flag - need make custom flag.

3Immunity for knockback Empty Re: Immunity for knockback Thu Jul 05 2012, 09:40

tst12



We already have MECHANIC_KNOCKOUT = 14, // 0x00002000
may be just need rewrite Creature::IsImmuneToSpell like Unit::IsImmuneToSpell (check for effect mechanic immunity)

4Immunity for knockback Empty Re: Immunity for knockback Thu Jul 05 2012, 10:59

rsa

rsa
Admin

mmm... may be Creature::IsImmuneToSpellEffect? flag NOT_TAUNTABLE checked in same place...

5Immunity for knockback Empty Re: Immunity for knockback Thu Jul 05 2012, 11:30

michalpolko

michalpolko

MECHANIC_KNOCKOUT is some kind of "breakable stun" - Gouge, Repetence etc. spells have this mechanic, but no Typhoon or Column of Frost (they have no mechanic).

NOT_TAUNTABLE was added as flag_extra, maybe NOT_KNOCKBACKABLE should also be added ;P

6Immunity for knockback Empty Re: Immunity for knockback Thu Jul 05 2012, 11:43

rsa

rsa
Admin

as an variant - may be mechanic_knockout immunity must be checked at knockout effect apply, not only on spell mechanic check?

7Immunity for knockback Empty Re: Immunity for knockback Thu Jul 05 2012, 12:42

michalpolko

michalpolko

I think this is just an enum named in a wrong way. It isn't related anyhow to spell effect knockup/knockback/etc. so using this flag would lead to unwanted immunities/vulnerabilities. Must add new flag.

8Immunity for knockback Empty Re: Immunity for knockback Thu Jul 05 2012, 14:43

tst12



maybe no need new flag, look this patch: http://pastebin.com/e3UYxfRg

9Immunity for knockback Empty Re: Immunity for knockback Thu Jul 05 2012, 16:11

michalpolko

michalpolko

I explained why this wouldnt work in previous post ;)

Sponsored content



Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum