
Posts
47
Respect
16Add +1
Forum Rank
Legless Crawler
Primary Group
Member
Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
if ( self == attacker )
{
damage = int( self.maxhealth * .25 );
if ( damage < 25 )
{
damage = 25;
}
if ( self.health - damage < 1 )
{
self.health = 1;
}
else
{
self.health -= damage;
}
}
/*if ( self == attacker )
{
damage = int( self.maxhealth * .25 );
if ( damage < 25 )
{
damage = 25;
}
if ( self.health - damage < 1 )
{
self.health = 1;
}
else
{
self.health -= damage;
}
}
*/
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
Open up _zombiemode_tesla.gsc
Find a function 'tesla_pvp_thread()'
You should see something like this there: Code SnippetPlaintextif ( self == attacker )
{
damage = int( self.maxhealth * .25 );
if ( damage < 25 )
{
damage = 25;
}
if ( self.health - damage < 1 )
{
self.health = 1;
}
else
{
self.health -= damage;
}
}
Change it to this:And that should be it! Hope it helps Code SnippetPlaintext/*if ( self == attacker )
{
damage = int( self.maxhealth * .25 );
if ( damage < 25 )
{
damage = 25;
}
if ( self.health - damage < 1 )
{
self.health = 1;
}
else
{
self.health -= damage;
}
}
*/