Conc 75% Chance/Reverted Radius

Makes more sense to reward accuracy
This commit is contained in:
ChocoTaco 2021-09-24 15:09:31 -04:00
parent 2c696c5197
commit b0fc8327cf
2 changed files with 3 additions and 213 deletions

8
Classic/scripts/player.cs Normal file → Executable file
View file

@ -2891,17 +2891,15 @@ function Armor::applyConcussion( %this, %dist, %radius, %sourceObject, %targetOb
}
else
{
%flagChance = 0.7;
%itemChance = 0.7;
%flagChance = 0.75;
%itemChance = 0.75;
}
%probabilityFlag = %flagChance * %percentage;
%probabilityItem = %itemChance * %percentage;
if( %random <= %probabilityFlag )
{
Game.applyConcussion( %targetObject );
}
Game.applyConcussion( %targetObject );
if( %random <= %probabilityItem )
{