This onLevelUp Script (to be put on the module onLevelUp) de- and then re-levels players who choose the dev. critical feat, thereby stopping it being chosen. It also sends a message the player if he has chosen it as an explanation for what has happened. It is efficient and uses few lines of code. Some credit goes to PreacherMan for pointing a small bug in a previous version.
You can always turn off the switch for autofail, so you are incorrect in saying it has to go for that reason. Unless you want to keep autofail on. The reason DC has to go is because it is ridiculous.
Posted by Kit_Fennec ( 81.218.xxx.xxx ) at 2005-04-10 08:12:00
Correction, the prerequisites for devastating crit are the following; Epic Character (21st level), cleave, greater cleave, improved crit with specified weapon, overwhelming crit with specified weapon, weapon focus with the specified weapon, power attack, and a base strength of 25 or higher.
So infact, you must be above level 21 to get devestating crit, unless you are playing in some server that does not enforce legal characters. Personally I would think the person would need weapon specialization and epic weapon focus before getting the feat but I think it's good to restrict all together because of the 1 = autofail.
Hail! The point of this script is to make sure players who either don't know or don't care that they are not supposed to take these feats cannot take them. In my experience, just telling players not to choose an option that the game allows them to take is not enough to keep some people from doing it.
Your Humble Serpent,
Snake
Posted by Miss Ryku Karasei ( 69.14.xxx.xxx ) at 2005-03-18 23:07:00
Atem...
And what, exactly... is the point of this script, may I ask? It should just be a simple enough matter to tell everyone NOT to pick the Devastating Critical feat. Unless, of course, you're a bad DM.
P.S.: I don't really intend on returning here so there's no real need for you to reply to this.
Posted by Anonymous ( 24.60.xxx.xxx ) at 2004-12-04 10:53:00
How do i put this on my server? i dont know how to script, do i need to learn?
Devestating Critical, and its Prerequisite Overwhelmign critical both Have 21st lvl, listed as Prerequisites accorindg to teh HoTU manual.
I might agree they didn't actually need to be over lvl 20 had I not leto'd a character just to try and get it before lvl 20. considering He had base STR of 50, cleave, great cleave, improved crit, weapon focus, and Power Attack.
Hate to say it but Taza is right.
Taza: You should be able to just use the existing code and add something like this at the begining of it
if (GetHitDice(oPC) > 20)
I didn't test this throughly, but assuming toolset behaves next time I open it *Muttered oath*, I will to be sure I have the right info for you.
Posted by CelestialRyan at 2004-08-16 10:34:00 Voted 10.00 on 02/29/04
AFAIK, there is no level requirement for Dev. Crit. Anyway, the lag is minimal, especially as this only fires when a player levels up. I've now included blocking of Epic Warding, Pickpocket and UMD due to popular request.
If you do not wish to block Epic Warding just add // before each of the following lines.
if (GetHasFeat(990,oPC)) //Epic Warding
return 1;
If you don't want to block Pickpocket / UMD, then just delete between the sections marked in the script.
Posted by CelestialRyan at 2004-08-16 10:34:00 Voted 10.00 on 02/29/04
AFAIK, there is no level requirement for Dev. Crit. Anyway, the lag is minimal, especially as this only fires when a player levels up. I've now included blocking of Epic Warding, Pickpocket and UMD due to popular request.
If you do not wish to block Epic Warding just add // before each of the following lines.
if (GetHasFeat(990,oPC)) //Epic Warding
return 1;
If you don't want to block Pickpocket / UMD, then just delete between the sections marked in the script.
Posted by Taza ( 62.197.xxx.xxx ) at 2004-08-09 06:03:00
Hmm... to reduce lag, could this script first check if the PC is over level 20?
Posted by CelestialRyan at 2004-02-29 01:43:33 Voted 10.00 on 02/29/04
This script is now a foolproof way to 'ban' devastating critical on your server.