Big Smoker Posted January 30, 2019 Share Posted January 30, 2019 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
DNL291 Posted January 31, 2019 Share Posted January 31, 2019 Parece ser a função 'getWeaponDamage' retornando um valor não-numérico. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now