Aller au contenu

Photo

How to set immunity to devastation critical?


  • Veuillez vous connecter pour répondre
10 réponses à ce sujet

#1
WhiteTiger

WhiteTiger
  • Members
  • 479 messages

Is possible to set immunity to devastation critical to a creature hostile and not for other critical types?



#2
MagicalMaster

MagicalMaster
  • Members
  • 2 003 messages

It depends on what else you're fine with making the creature immune to.

 

The simplest way is to make the creature Immortal and remove the Immortal flag at low HP.  However, being Immortal makes you immune to Mind Spells and *all* instant death effects.  So if you want creatures to still be vulnerable to those you'll need to remove the Immortality flag in those scripts, apply the effect, and then reapply Immortality if necessary (such as for a stun effect -- if you leave Immortality off they can be Dev Crit).


  • WhiteTiger aime ceci

#3
Shadooow

Shadooow
  • Members
  • 4 471 messages

The first method that MM talks and which I invented (you could give a link MM :/ ) is here.

 

Other than that, CPP 1.72 brings a new method using NWNX that softcodes it so you can do more things with it such as replace effect. In 1.72 you can make specific monster immune by setting variable IMMUNITY_DEVAST int 1 on creature. Also you can set a module switch to enforce one devast per creature behavior.

 

Third option is one of the Terra777's new plugins, but I don't remember which one allows that. And there was lately problems with link all down but maybe fixed check nwnx.org.


  • WhiteTiger aime ceci

#4
MagicalMaster

MagicalMaster
  • Members
  • 2 003 messages

The first method that MM talks and which I invented (you could give a link MM :/ )

 

I didn't give a link, Shadooow, because you're not the only person to come up with the idea (hell, I didn't even remember you had done anything with it while writing that post and I certainly didn't know it existed on any vault).  At a minimum, I also invented the idea completely independently and I wouldn't be surprised if some others thought of it as well.  I'm not trying to be rude here but please don't think you hold the sole intellectual copyright or something.  I could have very easily linked to some of my work which uses the idea or just copy/pasted my code without referencing anything you've done.



#5
zero-feeling

zero-feeling
  • Members
  • 144 messages

if you didn't want to be rude you could have just said you made a script for that too, linked your stuff, and left it at that. shadooow is a good guy but puts his foot in his own mouth a lot due to language and culture barriers. i do the same, but it's because i'm an ******* and not afraid to tell it how it is.

 

just saying... 



#6
Shadooow

Shadooow
  • Members
  • 4 471 messages

 I'm not trying to be rude here but please don't think you hold the sole intellectual copyright or something.  I could have very easily linked to some of my work which uses the idea or just copy/pasted my code without referencing anything you've done.

Yea I could do that in my patch project as well, instead I gave credits even to peoples whose work I did not used only their idea/knowhow (they simply found sout omething is bugged).

 

Its called professional curtesy, if you didn't know about my work (as you came later into this community) FINE. But if you know someone did something that OP asks for you should mention that even if you don't like that project or the person who did that. But I guess I cannot expect a bit of common decendy from everyone.

 

(now speaking in general)

Yea you all made things that I did years before I even thought of that, I know that and its sometimes clearly obvious from the posts you write, but did you shared it with others? No you did not. That speaks for everything.



#7
Baaleos

Baaleos
  • Members
  • 1 330 messages
Being devils advocate here, but there is a difference between inventing it, and releasing it.

Knowing who invented it at this late stage in the game is likely impossible - turns into a he says she says issue, and let's face it - it's not like there is prize money involved.

I acknowledge you probably are the first person to release that methodology to the public, but I do know that I personally have used that method for my PW to make Boss fights last longer and prevent bosses from being Vorpally or Critically killed before their health reaches X or some precondition is met- for years.
It is possible for complete strangers to arrive at the same solution independently, in this case- this is one of the only vanilla nwn methods of achieving immunity to criticals. So it's not surprising that more people have arrived at it as a solution out of necessity, opposed to coincidence.

#8
MagicalMaster

MagicalMaster
  • Members
  • 2 003 messages
Its called professional curtesy, if you didn't know about my work (as you came later into this community) FINE. But if you know someone did something that OP asks for you should mention that even if you don't like that project or the person who did that. But I guess I cannot expect a bit of common decendy from everyone.

 

Like I said in my first sentence: "hell, I didn't even remember you had done anything with it while writing that post and I certainly didn't know it existed on any vault."

 

My thought process was: "Oh, hey, I created a solution to this problem he might like, I'll post a few notes and depending on his needs help him with the code."  Neither you nor your work even crossed my mind, I certainly wasn't thinking: "Ha!  Shadooow also created this method and also has code involving it made public but I'll ignore him because I hate him!"

 

Which is particularly true given that I don't dislike you in the first place, despite what you evidently think.

 

It is possible for complete strangers to arrive at the same solution independently, in this case- this is one of the only vanilla nwn methods of achieving immunity to criticals. So it's not surprising that more people have arrived at it as a solution out of necessity, opposed to coincidence.

 

Precisely.



#9
WhiteTiger

WhiteTiger
  • Members
  • 479 messages

In 1.72 you can make specific monster immune by setting variable IMMUNITY_DEVAST int 1 on creature. Also you can set a module switch to enforce one devast per creature behavior.

 

That's pretty nice! Just updating my community patch 171 to 172 I'll be able to use IMMUNITY_DEVAST int 1 variable?



#10
Shadooow

Shadooow
  • Members
  • 4 471 messages

That's pretty nice! Just updating my community patch 171 to 172 I'll be able to use IMMUNITY_DEVAST int 1 variable?

Yes but note this is dependant on the new nwnx_patch plugin which hasn't been fully tested in PW environment...


  • WhiteTiger aime ceci

#11
WhiteTiger

WhiteTiger
  • Members
  • 479 messages

I downloaded Shadooows D. Immunity code, it works well. I just understand how it works. haha.