В общем зашел в race_orc.inl
В самом низу этот код.
Какие значения нужно заменить
Code
// Critical Grenade
iSkillLevel = SM_GetSkillLevel( iAttacker, SKILL_CRITICALGRENADE );
if ( iSkillLevel > 0 )
{
// Can only do this if the user has a grenade
if ( SHARED_IsGrenade( iWeapon ) )
{
// Then we're clear!!
if ( OR_CriticalGrenadeAllowed( iAttacker ) )
{
//static iMaxHealth,iHealth, iBonusDamage;
//iMaxHealth = get_user_maxhealth( iVictim );
// iHealth = get_user_health( iVictim );
static iBonusDamage;
iBonusDamage = floatround( float(iDamage) * p_grenade[iSkillLevel-1] );
//client_print(0, print_chat,"MH: %d | BD: %d | D/MH: %f )",iHealth,iBonusDamage,float( iDamage / iMaxHealth ));
//client_print(0, print_chat,"H: %d |BD: %d |D: %d |D/H: %f )",iHealth,iBonusDamage,iDamage,float( iDamage / iHealth ));
// We don't want to do more damage than the user's maximum health
//if ( iBonusDamage + iDamage >= iMaxHealth )
// iBonusDamage = iMaxHealth - ( iDamage + 1 );
// Damage the user!
WC3_Damage( iVictim, iAttacker, iBonusDamage, iWeapon, iHitPlace );
// Make the user glow
SHARED_Glow( iVictim, iBonusDamage, 10, 108, 23 );
// Lets make a screenfade
Create_ScreenFade( iVictim, (1<<10), (1<<10), (1<<12), 10, 108, 23, g_GlowLevel[iVictim][0] );
}
}
}
}
Как вы видите он уже изменен
/Code
/ Make the user glow
SHARED_Glow( iVictim, iBonusDamage, 10, 108, 23 );
// Lets make a screenfade
Create_ScreenFade( iVictim, (1<<10), (1<<10), (1<<12), 10, 108, 23, g_GlowLevel[iVictim][0] );
На синий(10.108.23)
Как нужно изменить линию за гранатой орка