Script Name: Damage Rate
Script Description: Basically, in an attempt to even out the score in games, this script makes it so that the more kills you accumulate, the less damage each of your bullets does. Or you can make it do the opposite.
Original Author(s): Me
Core Version: The latest one.
Code:
NOT the whole thing (DL it for pete's sake)
const
INVERSE = true; // When INVERSE is true, the rate of damage dealt goes down as a person kills more.
RATE = 8; // The speed at which their power changes.
var
PlayerRates: array[1..32] of Integer;
function OnPlayerDamage(Victim,Shooter: Byte;Damage: Integer) : integer;
begin
if INVERSE then begin
result := Damage - PlayerRates[Shooter];
end else begin
result := Damage + PlayerRates[Shooter];
end;
end;