Jump to content

DANO COLETE E HELEMT


Recommended Posts

Boa Noite, 

 

Pessoal preciso de uma ajuda que um tempo eu to com esse aviso, quando eu to na agua e começo a levar dano "afogado" ele perde dano mas a função do damage do colete e helmet fica dando esse aviso

 

AVISO ===  attemp to perform aritmedic on a nil value 

OBS: damageRoupa é o dano que vai ate o colete e helmet

 

 

                 if weapon == 0 then
            damage = 2000
			damageRoupa = 2000 / 100
        else
            damage = getWeaponDamage(weapon,attacker)
			damageRoupa = getWeaponDamage(weapon,attacker) / 100
        end

 

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...