Jump to content
GIGN Forum

Help...


Recommended Posts

Palidziet, luudzu. Es nevareju izdomat kaa to izdarit..

Man uz zombie plague, stav Humanam, 1000hp sakuma.

bet Undead, gad sauj.. visus hp neregeno. nu saujot hp, tikai regenirejas, tikai tad kad ir piem: 60 unn liidz 100. :(

Bet gribetu uztaisit, lai ir piemeram 200 liidz 1000, vismaz. :/

    // Vampiric Aura
    iSkillLevel = SM_GetSkillLevel( iAttacker, SKILL_VAMPIRICAURA );
    if ( iSkillLevel > 0 && p_data_b[iAttacker][PB_ISCONNECTED])
    {
        static iHealth, iMaxHealth, iBonusHealth;

        iHealth        = get_user_health( iAttacker );
        iMaxHealth    = get_user_maxhealth( iAttacker );
        iBonusHealth = floatround( float( iDamage ) * p_vampiric[iSkillLevel-1] );
        
        // Give the user health!
        if ( iHealth < iMaxHealth )
        {

            // Then give the user his maximum health
            if ( iHealth + iBonusHealth > iMaxHealth )
            {
                set_user_health( iAttacker, iMaxHealth );
            }

            // Otherwise just give iMaxHealth
            else
            {
                set_user_health( iAttacker, iHealth + iBonusHealth );
            }
        }
        
        // Make the attacker glow
        SHARED_Glow( iAttacker, 0, ( 2 * iBonusHealth ), 0, 0 );
        
        // Give the attacker a nice screen fade
        Create_ScreenFade( iAttacker, (1<<10), (1<<10), (1<<12), 0, 255, 0, iBonusHealth );
    }
}

Link to comment
Share on other sites

Rakstiju, te pat... negribu temu jaunu taisit.

Man veel ir uz Zomibe Plague moda, problema!

Vairak par 10 speletajiem nevar ieiet, kapec ta??

Moda neatradu neka, par sito.

Varbut kaut kada komanda ir lai var uzlikt vairak?

Itka bija, bet neatceros kada :(

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...