首页>
外国专利>
METHOD AND APPARATUS FOR OBTAINING DAMAGE VALUE OF ATTACK ITEM IN VIRTUAL ENVIRONMENT, METHOD AND APPARATUS FOR DISPLAYING DAMAGE VALUE OF ATTACK ITEM IN VIRTUAL ENVIRONMENT, AND COMPUTER DEVICE
METHOD AND APPARATUS FOR OBTAINING DAMAGE VALUE OF ATTACK ITEM IN VIRTUAL ENVIRONMENT, METHOD AND APPARATUS FOR DISPLAYING DAMAGE VALUE OF ATTACK ITEM IN VIRTUAL ENVIRONMENT, AND COMPUTER DEVICE
This application discloses a method for obtaining a damage value of an attack item in a virtual environment performed at a computer device, and this application belongs to the computer field. The method includes: determining that an attack item shot by a virtual object hits a target object in the virtual environment; obtaining attenuation parameters of at least two media through which the attack item passes in a flight process before hitting the target object; calculating a damage value of the attack item to the target object according to the attenuation parameters of the at least two media after the attack item passes through the at least two media; and deducting a hit point value or an endurance value of the target object according to the damage value.
展开▼