[go: up one dir, main page]

CN114425165B - Virtual attribute updating method and device, storage medium and electronic device - Google Patents

Virtual attribute updating method and device, storage medium and electronic device Download PDF

Info

Publication number
CN114425165B
CN114425165B CN202210109261.1A CN202210109261A CN114425165B CN 114425165 B CN114425165 B CN 114425165B CN 202210109261 A CN202210109261 A CN 202210109261A CN 114425165 B CN114425165 B CN 114425165B
Authority
CN
China
Prior art keywords
target
attribute value
attribute
resource quantity
resource
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210109261.1A
Other languages
Chinese (zh)
Other versions
CN114425165A (en
Inventor
邝野
桂芷欣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202210109261.1A priority Critical patent/CN114425165B/en
Publication of CN114425165A publication Critical patent/CN114425165A/en
Application granted granted Critical
Publication of CN114425165B publication Critical patent/CN114425165B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/70Game security or game management aspects
    • A63F13/79Game security or game management aspects involving player-related data, e.g. identities, accounts, preferences or play histories
    • A63F13/792Game security or game management aspects involving player-related data, e.g. identities, accounts, preferences or play histories for payment purposes, e.g. monthly subscriptions
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/53Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game
    • A63F13/533Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game for prompting the player, e.g. by displaying a game menu
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress
    • A63F13/58Controlling game characters or game objects based on the game progress by computing conditions of game characters, e.g. stamina, strength, motivation or energy level

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • General Business, Economics & Management (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请公开了一种虚拟属性的更新方法和装置、存储介质及电子设备。其中,该方法包括:在一局游戏的游戏画面中显示目标帐号当前持有的虚拟资源的第一资源数量、目标帐号的目标属性的当前属性值以及目标属性值,其中,每次将目标属性的属性值增加第一属性数量时所消耗的虚拟资源的数量为第二资源数量,在当前属性值与目标属性值之间的差值小于第一属性数量、第一资源数量小于第二资源数量、且第一资源数量大于或等于第一目标资源数量时,响应于获取到的目标触控操作,通过消耗第一目标资源数量的虚拟资源,将目标属性的属性值从当前属性值增加到目标属性值。本申请解决了相关技术中存在的虚拟属性的更新效率较低的技术问题。

The present application discloses a method and device for updating virtual attributes, a storage medium and an electronic device. The method includes: displaying the first resource quantity of the virtual resources currently held by the target account, the current attribute value of the target attribute of the target account and the target attribute value in the game screen of a game, wherein the amount of virtual resources consumed each time the attribute value of the target attribute is increased by the first attribute quantity is the second resource quantity, and when the difference between the current attribute value and the target attribute value is less than the first attribute quantity, the first resource quantity is less than the second resource quantity, and the first resource quantity is greater than or equal to the first target resource quantity, in response to the acquired target touch operation, the attribute value of the target attribute is increased from the current attribute value to the target attribute value by consuming the virtual resources of the first target resource quantity. The present application solves the technical problem of low updating efficiency of virtual attributes existing in the related art.

Description

Virtual attribute updating method and device, storage medium and electronic equipment
Technical Field
The present application relates to the field of computers, and in particular, to a method and apparatus for updating a virtual attribute, a storage medium, and an electronic device.
Background
Currently, in some game applications, the process of updating the virtual attribute of the account is generally implemented by consuming a fixed number of virtual resources each time to adjust the value of the virtual attribute of the account, and when the account used by the user does not have the fixed number of virtual resources required to be consumed each time, the value of the virtual attribute cannot be adjusted, so that the user can continue to update the value of the virtual attribute of the account when waiting to reacquire the virtual resources with the required fixed number.
For example, in self-propelled chess applications, in-game experience upgrades typically require the consumption of gold coins, and the manner in which gold coins are accumulated and used is one of the core strategies for such games. The time for purchasing experience in the office is very important, because one more chess piece can be put on each stage of improvement, and the total experience required for improving the stage of improvement increases with the improvement of the grade. However, the gold coins spent on each time of purchase experience are fixed, and the experience obtained each time is fixed, so under the mechanism, a player usually needs to click to purchase for multiple times to achieve the purpose of improving the first level, but when the number of gold coins currently held is smaller than the number of gold coins allowing the purchase experience, the user cannot purchase the experience, so that the player needs to wait for too long, the updating of the virtual attribute cannot be completed in time, and the updating efficiency of the virtual attribute is lower.
In view of the above problems, no effective solution has been proposed at present.
Disclosure of Invention
The embodiment of the application provides a virtual attribute updating method and device, a storage medium and electronic equipment, which are used for at least solving the technical problem of low virtual attribute updating efficiency in the related technology.
According to one aspect of the embodiment of the application, a virtual attribute updating method is provided, and the virtual attribute updating method comprises the steps of displaying a first resource number of virtual resources currently held by a target account, a current attribute value of a target attribute of the target account and a target attribute value in a game picture of a game, wherein the number of virtual resources consumed each time the attribute value of the target attribute is increased by the first attribute number is a second resource number, and when the difference between the current attribute value and the target attribute value is smaller than the first attribute number, the first resource number is smaller than the second resource number and the first resource number is larger than or equal to the first target resource number, the attribute value of the target attribute is increased from the current attribute value to the target attribute value through consuming the virtual resources of the first target resource number in response to the acquired target touch operation, wherein the first target resource number is the virtual resource required to be increased by the attribute value of the target attribute value from the current attribute value to the target attribute value.
According to another aspect of the embodiment of the application, there is also provided an updating device of a virtual attribute, which comprises a display module, a processing module and a processing module, wherein the display module is used for displaying a first resource number of virtual resources currently held by a target account, a current attribute value of a target attribute of the target account and a target attribute value in a game picture of a game, wherein the number of the virtual resources consumed each time the attribute value of the target attribute is increased by the first attribute number is a second resource number, and the processing module is used for increasing the attribute value of the target attribute from the current attribute value to the virtual resource required by the target attribute value by consuming the virtual resource of the first target resource number in response to an acquired target touch operation when the difference between the current attribute value and the target attribute value is smaller than the first attribute number, the first resource number is smaller than the second resource number, and the first resource number is larger than or equal to the first target resource number.
Optionally, the device is further used for displaying first prompt information when the difference value between the current attribute value and the target attribute value is smaller than the first attribute quantity, the first resource quantity is smaller than the second resource quantity, and the first resource quantity is larger than or equal to the first target resource quantity, wherein the first prompt information is used for prompting attribute values of the target attribute to be increased by consuming the virtual resources of the first target resource quantity, and displaying second prompt information when the difference value between the current attribute value and the target attribute value is larger than or equal to the first attribute quantity, or the first resource quantity is larger than or equal to the second resource quantity, or the first resource quantity is smaller than the first target resource quantity, and the second prompt information is used for prompting attribute values of the target attribute to be increased by consuming the virtual resources of the second resource quantity.
Optionally, the device is configured to display a target control in a state allowing touch when a difference between the current attribute value and the target attribute value is smaller than the first attribute number, the first resource number is smaller than the second resource number, and the first resource number is greater than or equal to the first target resource number, in response to an acquired target touch operation, increase an attribute value of the target attribute from the current attribute value to the target attribute value by consuming the virtual resource of the first target resource number when a difference between the current attribute value and the target attribute value is smaller than the first attribute number, the first resource number is smaller than the second resource number, and the first resource number is greater than or equal to the first target resource number, in response to the target touch operation performed on the target control, increase the attribute value of the target attribute from the current attribute value to the target attribute value by consuming the virtual resource of the first target resource number, pop up a target window value from the current attribute value to the first attribute value when the difference between the current attribute value and the target attribute value is smaller than the first attribute number, the first resource number is smaller than the second resource number, and the first resource number is greater than or equal to the first target resource number, and the target window value is smaller than or equal to the first attribute value is determined to be greater than the first attribute value, the first hint information is used to hint that the attribute value of the target attribute is allowed to be increased by consuming the virtual resource of the first target resource quantity, and in response to the target touch operation performed on the target determination button, the attribute value of the target attribute is increased from the current attribute value to the target attribute value by consuming the virtual resource of the first target resource quantity.
Optionally, the device is further used for displaying second prompt information when the difference between the current attribute value and the target attribute value is larger than or equal to the first attribute quantity and the first resource quantity is smaller than the second resource quantity, and displaying the target control in a state of not allowing touch control, wherein the second prompt information is used for prompting an attribute value allowing the target attribute to be increased by consuming the virtual resource of the second resource quantity, and when the attribute value of the target attribute is increased from the current attribute value to a first attribute value, the difference between the first attribute value and the target attribute value is smaller than the first attribute quantity, the first resource quantity is smaller than the second resource quantity and the first resource quantity is larger than or equal to the second target resource quantity, the second prompt information is switched from displaying the second prompt information to displaying the target control in a state of allowing touch control, and the third prompt information is used for prompting that the virtual resource is allowed to be increased by consuming the second resource quantity, and the target control is increased from the first attribute value to the target attribute value allowing the virtual resource to be increased by consuming the second resource of the second resource quantity.
Optionally, the device is further configured to display a second prompt message and display the target control in a state where touch is not allowed when a difference between the current attribute value and the target attribute value is greater than or equal to the first attribute value and the first resource amount is less than the second resource amount, wherein the second prompt message is used for prompting an attribute value that allows the target attribute to be increased by consuming the virtual resource of the second resource amount, when the attribute value of the target attribute is increased from the current attribute value to a first attribute value, the difference between the first attribute value and the target attribute value is less than the first attribute value, the first resource amount is less than the second resource amount and the first resource amount is less than the second target resource amount, switch from displaying the second prompt message to displaying a third prompt message and display the target control in a state where touch is not allowed, wherein the third prompt message is used for prompting an attribute value that allows the target attribute to be increased by consuming the virtual resource of the second resource amount, when the attribute value of the target attribute value is increased from the current attribute value to a first attribute value, the difference between the first attribute value and the target attribute value is less than the first attribute value and the first resource amount is less than the second resource amount, switch from displaying the second prompt message to displaying the target control in a state where the third prompt message is in a state where touch is allowed to be in a state where touch is allowed by the state where virtual resource is allowed, and displaying the target control in a state allowing touch.
Optionally, the device is further configured to display a second prompt message for prompting that the target property is allowed to be increased by consuming the virtual resource of the second resource quantity when a difference between the current property value and the target property value is greater than or equal to the first property value and the fourth property value is greater than or equal to the second property value, and display the target control in a state where touch is allowed, wherein the second prompt message is used for prompting that the target property is allowed to be increased by consuming the virtual resource of the second property value, when the number of the virtual resource currently held by the target account is increased from the first property value to a fourth property value and the fourth property value is greater than the second property value, and the target control is displayed in a state where touch is allowed, and when a ratio of the difference between the current property value and the target property value is between N and N+1 and a ratio of the fourth property value to the second property value is between N+1, the virtual resource is continuously operated by continuously increasing the target property value to the second property value by the second property value, and the target control is continuously operated to perform the second property value of the second property value when the second property value is greater than or equal to the fifth property value, and the second property value is continuously operated to the second property value is continuously increased by the second property value, and when the fifth number of resources is greater than or equal to the third number of target resources, and the increasing of the attribute value of the target attribute by consuming the virtual resource of the second number of resources is completed N consecutive times, switching from displaying the second prompt information to displaying a fourth prompt information for prompting that the attribute value of the target attribute is allowed to be increased by consuming the virtual resource of the third number of target resources, and displaying the target control in a state allowing touch, wherein the fourth prompt information is used for prompting that the attribute value of the target attribute is allowed to be increased by consuming the virtual resource of the third number of target resources, and the third number of target resources is the number of virtual resources required to be consumed to increase the attribute value of the target attribute from the second attribute value to the target attribute value.
Optionally, the device is further used for displaying a target control in a state of not allowing touch control under the condition that the target window is popped up, wherein the target control is used for consuming the virtual resources to increase the attribute value of the target attribute, or displaying the target control in a state of not allowing touch control under the condition that the target window is popped up, and displaying second prompt information on the target control, wherein the target control is used for consuming the virtual resources to increase the attribute value of the target attribute, and the second prompt information is used for prompting to allow the attribute value of the target attribute to be increased by consuming the virtual resources of the second resource quantity.
Optionally, the device is configured to respond to the obtained target touch operation by increasing the attribute value of the target attribute from the current attribute value to the target attribute value by consuming the virtual resource of the first target resource number, or by responding to the target touch operation by increasing the attribute value of the target attribute from the current attribute value to the target attribute value by consuming the virtual resource of the first target resource number if the first attribute number is the same as the second resource number, or by responding to the target touch operation by consuming the virtual resource of the first target resource number if the first attribute number is the same as the first resource number if the difference value is the same as the first target resource number, wherein the difference value is different from the first target resource number.
Optionally, the device is configured to respond to the obtained target touch operation by increasing the attribute value of the target attribute from the current attribute value to the target attribute value by consuming the virtual resource of the first target resource number, wherein M is a positive integer greater than or equal to 2, and increasing the attribute value of the target attribute from the current attribute value to the target attribute value by consuming the virtual resource of the first target resource number in response to the target touch operation with a ratio of the first attribute number to the second resource number of M being 1/M, and wherein M is a positive integer greater than or equal to 2, and a ratio of the difference to the first target resource number of M is M, or in response to the target touch operation with a ratio of the first attribute number to the second resource number of 1/M, and increasing the attribute value of the target attribute from the current attribute value to the target value by consuming the virtual resource of the first target resource number, wherein M is a positive integer greater than or equal to 2, and the ratio of M is a positive integer greater than or equal to 2.
Optionally, the device is further used for responding to the target touch operation to increase the number of the virtual characters allowed to be controlled by the target account in the game when the attribute value of the target attribute corresponds to the number of the virtual characters allowed to be controlled by the target account in the game.
Optionally, the device is used for increasing the number of the virtual characters allowed to be controlled in the one game by the target account number, wherein the number of the virtual characters allowed to be controlled in the one game by the target account number is increased by a preset first character number, or the number of the virtual characters allowed to be controlled in the one game by the target account number is increased by a second character number corresponding to the target attribute value.
Optionally, the device is further configured to display a current update attribute value and a target update attribute value of the target attribute after the attribute value of the target attribute is increased from the current attribute value to the target attribute value, where the target update attribute value is greater than the target update attribute value, wherein a difference between the current update attribute value and the target update attribute value is smaller than the first attribute value, the number of resources of the virtual resource currently held by the target account is smaller than the second attribute value, and the number of resources of the virtual resource currently held by the target account is greater than or equal to a fourth target resource value, and in response to an obtained target touch operation, the attribute value of the target attribute is increased from the current update attribute value to the target update attribute value by consuming the virtual resource of the fourth target resource value, wherein the fourth target resource value is a number of virtual resources required to be consumed by the current update attribute value, the difference between the first attribute value and the target update attribute value, the first target value is a difference between the first value and the second attribute value, and the second attribute value is the same as the first difference between the first value and the second attribute value, and the second value is a difference between the first value and the second attribute value.
According to a further aspect of embodiments of the present application, there is also provided a computer readable storage medium having a computer program stored therein, wherein the computer program is arranged to perform the above-described method of updating a virtual attribute at run-time.
According to yet another aspect of embodiments of the present application, there is provided a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions so that the computer device performs the method of updating the virtual attribute as above.
According to yet another aspect of the embodiments of the present application, there is also provided an electronic device including a memory in which a computer program is stored, and a processor configured to execute the above-described method of updating a virtual attribute by the computer program.
In the embodiment of the application, a first resource number of virtual resources currently held by a target account, a current attribute value of a target attribute of the target account and a target attribute value are displayed in a game picture of a game, wherein the number of virtual resources consumed each time the attribute value of the target attribute is increased by the first attribute number is a second resource number, when the difference between the current attribute value and the target attribute value is smaller than the first attribute number, the first resource number is smaller than the second resource number and the first resource number is larger than or equal to the first target resource number, in response to an acquired target touch operation, the attribute value of the target attribute is increased from the current attribute value to the target attribute value by consuming the virtual resources of the first target resource number, wherein the first target resource number is a mode of increasing the attribute value of the target attribute from the current attribute value to the number of the virtual resources required to be consumed by the target attribute value, when the number of virtual resources currently held by the target account is smaller than the number of virtual resources consumed when the attribute value of the target attribute is increased each time, the target account cannot update the virtual attribute, but when the difference between the current attribute value and the target attribute value is smaller than the attribute number when the attribute value of the target attribute is increased each time, the virtual resources of the first target resource number can be consumed through the acquired target touch operation, the attribute value of the target attribute is increased from the current attribute value to the target attribute value, an updating mechanism under the special condition of increasing is achieved, the aim of updating the virtual attribute can be realized by only consuming a small amount of virtual resources when the number of the virtual resources held by the target account is insufficient to be completely updated once but is sufficient to be increased from the current attribute value to the target attribute value, therefore, the updating efficiency of the virtual attribute is improved, the waiting time of the target account in updating the virtual attribute is shortened, the technical effect of timeliness of updating the virtual attribute is optimized, and the technical problem of low updating efficiency of the virtual attribute in the related technology is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
FIG. 1 is a schematic illustration of an application environment of an alternative method of updating virtual properties according to an embodiment of the application;
FIG. 2 is a flow diagram of an alternative method of updating virtual attributes according to an embodiment of the application;
FIG. 3 is a schematic diagram of an alternative method of updating virtual attributes according to an embodiment of the present application;
FIG. 4 is a schematic diagram of yet another alternative method of updating virtual attributes according to an embodiment of the present application;
FIG. 5 is a schematic diagram of yet another alternative method of updating virtual attributes according to an embodiment of the present application;
FIG. 6 is a schematic diagram of yet another alternative method of updating virtual attributes according to an embodiment of the present application;
FIG. 7 is a schematic diagram of yet another alternative method of updating virtual attributes according to an embodiment of the present application;
FIG. 8 is a schematic diagram of yet another alternative method of updating virtual attributes according to an embodiment of the present application;
FIG. 9 is a schematic diagram of yet another alternative method of updating virtual attributes according to an embodiment of the present application;
FIG. 10 is a schematic diagram of yet another alternative method of updating virtual attributes according to an embodiment of the present application;
FIG. 11 is a schematic diagram of yet another alternative method of updating virtual attributes according to an embodiment of the present application;
FIG. 12 is a schematic diagram of yet another alternative method of updating virtual attributes according to an embodiment of the present application;
FIG. 13 is a schematic diagram of yet another alternative method of updating virtual attributes according to an embodiment of the present application;
FIG. 14 is a schematic diagram of an alternative virtual attribute updating apparatus according to an embodiment of the present application;
FIG. 15 is a schematic diagram of the structure of an alternate virtual property update product according to an embodiment of the present application;
fig. 16 is a schematic structural view of an alternative electronic device according to an embodiment of the present application.
Detailed Description
In order that those skilled in the art will better understand the present application, a technical solution in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present application without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
First, partial terms or terminology appearing in the course of describing the embodiments of the application are applicable to the following explanation:
The game rules are that the players choose combinations among different kinds of chesses and then arrange on their own chessboard, finally the system automatically fights with other players until the survival of the chesses is achieved, the blood volume of the loser is deducted, and the process is repeated for many times until only one of the players survives.
The application is illustrated below with reference to examples:
According to an aspect of the embodiment of the present application, there is provided a method for updating a virtual attribute, and optionally, in this embodiment, the method for updating a virtual attribute may be applied to a hardware environment composed of a server 101 and a terminal device 103 as shown in fig. 1. As shown in fig. 1, a server 101 is connected to a terminal 103 through a network, and may be used to provide services to a terminal device or an application installed on the terminal device, which may be a video application, an instant messaging application, a browser application, an educational application, a game application, or the like. The database 105 may be provided on a server or independent of the server, and is used for providing a data storage service for the server 101, for example, a game data storage server, where the network may include, but is not limited to, a wired network, a wireless network, where the wired network includes a local area network, a metropolitan area network, and a wide area network, where the wireless network includes bluetooth, WIFI, and other networks for implementing wireless communication, the terminal device 103 may be a terminal configured with an application program, and may include, but is not limited to, at least one of a Mobile phone (such as an Android Mobile phone, an iOS Mobile phone, etc.), a notebook computer, a tablet computer, a palm computer, a MID (Mobile INTERNET DEVICES, a Mobile internet device), a PAD, a desktop computer, a smart tv, etc., and the server may be a single server, or a server cluster including multiple servers, or a cloud server, where the application program 107 using the update method of virtual attribute is displayed through the terminal device 103 or other connected display device.
As shown in fig. 1, the above-mentioned method for updating the virtual attribute may be implemented in the terminal device 103 by:
S1, displaying a first resource number of virtual resources currently held by a target account, a current attribute value of a target attribute of the target account and a target attribute value in a game picture of a game on terminal equipment 103, wherein the number of virtual resources consumed when the attribute value of the target attribute is increased by the first attribute number each time is a second resource number;
S2, when the difference between the current attribute value and the target attribute value is smaller than the first attribute number, the first resource number is smaller than the second resource number, and the first resource number is larger than or equal to the first target resource number, the attribute value of the target attribute is increased from the current attribute value to the target attribute value by consuming virtual resources of the first target resource number in response to the acquired target touch operation on the terminal device 103, wherein the first target resource number is the number of virtual resources required to be consumed to increase the attribute value of the target attribute from the current attribute value to the target attribute value.
Alternatively, in this embodiment, the method for updating the virtual attribute may be implemented by a server, for example, in the server 101 shown in fig. 1, or implemented by a user terminal and the server together.
The above is merely an example, and the present embodiment is not particularly limited.
Optionally, as an optional implementation manner, as shown in fig. 2, the method for updating the virtual attribute includes:
s202, displaying the first resource quantity of the virtual resources currently held by the target account, the current attribute value of the target attribute of the target account and the target attribute value in a game picture of a game, wherein the quantity of the virtual resources consumed when the attribute value of the target attribute is increased by the first attribute quantity is the second resource quantity each time;
S204, when the difference value between the current attribute value and the target attribute value is smaller than the first attribute number, the first resource number is smaller than the second resource number, and the first resource number is larger than or equal to the first target resource number, the attribute value of the target attribute is increased from the current attribute value to the target attribute value through consuming virtual resources of the first target resource number in response to the acquired target touch operation, wherein the first target resource number is the number of virtual resources required to be consumed for increasing the attribute value of the target attribute from the current attribute value to the target attribute value.
Alternatively, in the present embodiment, the one-play game may include, but is not limited to, a multiplayer online tactical game (Multiplayer Online Battle Arena abbreviated MOBA) or a Single player game (Single-PLAYER GAME abbreviated SPG). It should be noted that the types of the above game applications may include, but are not limited to, at least one of a Two-dimensional (2D) game application, a Three-dimensional (3D) game application, a Virtual Reality (VR) game application, an augmented Reality (Augmented Reality AR) game application, and a Mixed Reality (MR) game application. The above is merely an example, and the present embodiment is not limited in any way.
The target account can be a registered game account, a mobile phone number of a user, a game account corresponding to a third party application after the account of the third party application is logged in the game application, and the like.
Alternatively, in the present embodiment, the virtual resources may include, but are not limited to, virtual gold, virtual energy, virtual wood, virtual precious stone, virtual coupon, and the like.
Alternatively, in the present embodiment, the above-mentioned target attribute may include, but is not limited to, a virtual experience value of the target account, a virtual level, the number of virtual characters allowed to be controlled, a highest level of virtual characters allowed to be controlled, and the like.
Optionally, in this embodiment, the target touch operation may include, but is not limited to, a touch operation performed on the interactive object, such as clicking, long pressing, double clicking, dragging, and the like, and may also include, but is not limited to, a touch operation corresponding to an operation instruction generated by a gesture, a voice, and the like.
Optionally, in this embodiment, the first resource number of the virtual resource currently held by the target account may include, but is not limited to, a first resource number of the virtual resource currently held by the target account in a current round or a first resource number of the virtual resource allowed to be consumed by the target account in a current round, and the current attribute value and the target attribute value of the target attribute of the target account may include, but are not limited to, an attribute value of the target attribute at the current time and a target attribute value to be updated.
For example, fig. 3 is a schematic diagram of an alternative method for updating virtual attributes according to an embodiment of the present application, as shown in fig. 3 (it should be noted that, in fig. 3 to 10, the first attribute number=4, the second attribute number=4 may not be displayed in a game frame, but preset parameters, and of course, may also be displayed in a game frame through animation or other forms such as text to remind a user), where a game is a game of playing a game board, the virtual resource is a virtual gold coin, the target attribute is a virtual experience value, the game frame is a game frame displayed after the target account starts a game, a first resource number 302 corresponding to the virtual resource currently held by the target account is displayed in a right bottom corner of the game frame, a current attribute value 304 and a target attribute value 306 of the target attribute of the target account are displayed in a left bottom corner of the game frame, after the current attribute value is updated to the target attribute value, and may include, but not limited to increasing the number of virtual pieces 310 allowed to be placed in the game board 308, but may also include, but not limited to increasing the number of virtual pieces 310, which may also include but not limited to increasing the release force of the virtual pieces 310, the game board, the virtual playing force, the virtual model, the virtual appearance, or the virtual appearance of the virtual model 308 may not be changed, or the appearance may be changed, or the appearance of a number of various appearance or appearance skills, or the appearance of the appearance may not be changed.
The above is merely an example, and the present embodiment is not limited in any way.
Alternatively, in this embodiment, the foregoing method for increasing the attribute value of the target attribute by the first attribute number of virtual resources may include, but is not limited to, by presetting a touch operation, consuming virtual resources of the second resource number each time in response to the touch operation, for increasing the attribute value of the first attribute number for the target attribute, where the correspondence between the first attribute number and the second resource number may be flexibly set.
For example, fig. 4 is a schematic diagram of another alternative method for updating a virtual attribute according to an embodiment of the present application, as shown in fig. 4, taking an example that a game is a game of a game board game, a virtual resource is a virtual gold coin, and a target attribute is a virtual experience value, the game screen is a game screen displayed after a target account starts a game, a first resource number 402 corresponding to the virtual resource currently held by the target account is displayed in a lower right corner of the game screen, a current attribute value 404 of the target attribute of the target account is displayed in a lower left corner of the game screen, and after a preset touch operation is acquired, a second resource number of virtual gold coins is consumed from the virtual resource of the first resource number to increase the virtual experience value from the current attribute value to the target attribute value.
S1, performing touch operation on the touch button 406;
S2, deducting the second resource quantity from the first resource quantity in response to the touch operation, increasing the current attribute value of the target attribute by the first attribute quantity, and displaying the quantity of virtual resources currently held by the updated target account and the updated attribute value of the target attribute in a game picture, wherein the quantity of virtual gold coins consumed each time the virtual experience value is increased by 4 (corresponding to the first attribute quantity) is preconfigured to be 4 (corresponding to the second resource quantity), at the moment, the quantity of virtual resources held by the target account is displayed to be 4 (obtained by 8-4), and the current attribute value of the target account is updated to be 16 (obtained by 12+4).
The above is merely an example, and the present embodiment is not limited in any way.
Alternatively, in this embodiment, the difference between the current attribute value and the target attribute value may include, but is not limited to, a value of an attribute value that is required to be adjusted to update the target attribute, and the difference may include, but is not limited to, being directly displayed in the game screen, or by displaying the current attribute value and the target attribute value, and being calculated by the player according to the current attribute value and the target attribute value. Taking fig. 4 as an example, when the current attribute value is 12 and the target attribute value is 20, the difference between the current attribute value and the target attribute value is 20-12=8.
Alternatively, in this embodiment, the difference between the current attribute value and the target attribute value being smaller than the first attribute value may be understood as that the difference between the current attribute value and the target attribute value is smaller than the amount by which the attribute value of the target attribute is increased each time, the first resource amount being smaller than the second resource amount may be understood as that the virtual resource amount currently held by the target account is smaller than the amount of virtual resource consumed when the first attribute value is increased each time by updating, and the first resource amount being greater than or equal to the first target resource amount may be understood as that the virtual resource amount currently held by the target account is greater than or equal to the amount of virtual resource consumed to increase the attribute value of the target attribute from the current attribute value to the target attribute value.
For example, fig. 5 is a schematic diagram of an alternative method for updating a virtual attribute according to an embodiment of the present application, as shown in fig. 5, taking an example that a game is a game of a game, a virtual resource is a virtual gold, a target attribute is a virtual experience value, the game screen is a game screen displayed after a target account starts a game, a first resource number 502 (2 virtual gold) corresponding to a virtual resource currently held by the target account is displayed in a lower right corner of the game screen, a current attribute value 504 (18 point attribute value) of a target attribute of the target account is displayed in a lower left corner, a virtual gold of a second resource number (4) is consumed each time by the target account is preset, the virtual experience of the first attribute number (4) can be increased, and when it is determined that a difference (2) between the current attribute value (18) and the target attribute value (20) is smaller than the first attribute number (4), the first resource number (2) is smaller than the second resource number (4), and the first resource number (2) is equal to the first target resource number (2), a touch operation is performed to increase the target value from the first virtual resource number (2) to the virtual attribute value (18).
S1, performing target touch operation on a touch button 506;
S2, responding to the target touch operation, deducting the first target resource quantity (2) from the first resource quantity (2), adding the current attribute value (18) of the target attribute to the target attribute value (20), and displaying the quantity (0) of the virtual resources currently held by the updated target account and the updated attribute value (20/20) of the target attribute in the game picture.
The above is merely an example, and the present embodiment is not limited in any way.
By this embodiment, a first resource number of virtual resources currently held by a target account, a current attribute value of a target attribute of the target account, and a target attribute value are displayed in a game screen of a game, wherein the number of virtual resources consumed each time the attribute value of the target attribute is increased by the first attribute number is a second resource number, a difference between the current attribute value and the target attribute value is smaller than the first attribute number, the first resource number is smaller than the second resource number, and the first resource number is greater than or equal to the first target resource number, in response to an acquired target touch operation, the attribute value of the target attribute is increased from the current attribute value to the target attribute value by consuming the virtual resources of the first target resource number in a manner that the attribute value of the target attribute is increased from the current attribute value to the number of virtual resources required to be consumed by the target attribute value, when the number of virtual resources currently held by the target account is smaller than the number of virtual resources consumed when the attribute value of the target attribute is increased each time, the target account cannot update the virtual attribute, but when the difference between the current attribute value and the target attribute value is smaller than the attribute number when the attribute value of the target attribute is increased each time, the virtual resources of the first target resource number can be consumed through the acquired target touch operation, the attribute value of the target attribute is increased from the current attribute value to the target attribute value, an updating mechanism under the special condition of increasing is achieved, the aim of updating the virtual attribute can be realized by only consuming a small amount of virtual resources when the number of the virtual resources held by the target account is insufficient to be completely updated once but is sufficient to be increased from the current attribute value to the target attribute value, therefore, the updating efficiency of the virtual attribute is improved, the waiting time of the target account in updating the virtual attribute is shortened, the technical effect of timeliness of updating the virtual attribute is optimized, and the technical problem of low updating efficiency of the virtual attribute in the related technology is solved.
As an alternative, the method further comprises:
When the difference between the current attribute value and the target attribute value is smaller than the first attribute number, the first resource number is smaller than the second resource number, and the first resource number is larger than or equal to the first target resource number, displaying first prompt information, wherein the first prompt information is used for prompting the attribute value of the target attribute to be increased by consuming virtual resources of the first target resource number;
And when the difference value between the current attribute value and the target attribute value is greater than or equal to the first attribute number, or the first resource number is greater than or equal to the second resource number, or the first resource number is smaller than the first target resource number, displaying second prompt information, wherein the second prompt information is used for prompting that the attribute value of the target attribute is allowed to be increased by consuming the virtual resource of the second resource number.
Alternatively, in this embodiment, the difference between the current attribute value and the target attribute value being smaller than the first attribute value may be understood as that the difference between the current attribute value and the target attribute value is smaller than the amount by which the attribute value of the target attribute is increased each time, the first resource amount being smaller than the second resource amount may be understood as that the virtual resource amount currently held by the target account is smaller than the amount of virtual resource consumed when the first attribute value is increased each time by updating, and the first resource amount being greater than or equal to the first target resource amount may be understood as that the virtual resource amount currently held by the target account is greater than or equal to the amount of virtual resource consumed to increase the attribute value of the target attribute from the current attribute value to the target attribute value.
Alternatively, in this embodiment, the difference between the current attribute value and the target attribute value is greater than or equal to a first number of attributes, which is greater than or equal to a second number of resources, where the number of virtual resources currently held by the target account is greater than or equal to the number of virtual resources consumed when the first number of attributes is increased each time, and the first number of resources is less than the first number of target resources, where the number of virtual resources currently held by the target account is less than the number of virtual resources consumed when the attribute value of the target attribute is increased from the current attribute value to the target attribute value.
Alternatively, in this embodiment, the first hint information may include, but is not limited to, an attribute value indicating that the target attribute is allowed to be increased by consuming the virtual resource of the first target resource amount. The second hint information may include, but is not limited to, an attribute value indicating that the target attribute is allowed to be increased by consuming a second amount of virtual resources, and in particular, the first hint information and the second hint information may be displayed in different colors, words, logos, etc.
For example, fig. 6 is a schematic diagram of an alternative method for updating a virtual attribute according to an embodiment of the present application, as shown in fig. 6, taking an example that a game is a game of a game, a virtual resource is a virtual gold, a target attribute is a virtual experience value, the game screen is a game screen displayed after a target account starts a game, a first resource number 602 (2 virtual gold) corresponding to a virtual resource currently held by the target account is displayed in a lower right corner of the game screen, a current attribute value 604 (18 point attribute value) of a target attribute of the target account is displayed in a lower left corner, a virtual gold of a second resource number (4) is preset each time the target account consumes, the virtual experience of the first attribute number (4) can be increased, and when it is determined that a difference (2) between the current attribute value (18) and the target attribute value (20) is smaller than the first attribute number (4), the first resource number (2) is smaller than the second resource number (4), and the first resource number (2) is equal to the first target resource number (2), a first information indicating that the consumption of the virtual resource (2) is allowed to be increased from the first attribute value (18) to the virtual attribute value (2).
For example, fig. 7 is a schematic diagram of another alternative method for updating virtual attributes, as shown in fig. 7, where a game is a self-propelled chess game, a virtual resource is a virtual gold coin, and a target attribute is a virtual experience value as an example:
The game screen is a game screen displayed after the target account starts a game, a first resource number 702 (2 virtual gold coins) corresponding to a virtual resource currently held by the target account is displayed at the right lower corner of the game screen, a current attribute value 704 (12-point attribute value) of a target attribute of the target account is displayed at the left lower corner, virtual gold coins of a second resource number (4) are preset for each consumption of the target account, virtual experience of the first attribute number (4) can be increased, and when it is determined that a difference value (8) between the current attribute value (12) and the target attribute value (20) is larger than the first attribute number (4), second prompt information 706 is displayed, the second prompt information indicates virtual gold coins which are allowed to consume the second resource number (4), and the current attribute value of the virtual experience value is increased.
For example, fig. 8 is a schematic diagram of another alternative method for updating virtual attributes, as shown in fig. 8, where a game is a self-propelled chess game, a virtual resource is a virtual gold coin, and a target attribute is a virtual experience value as an example:
The game picture is a game picture displayed after the target account starts a game, a first resource number 802 (2 virtual gold coins) corresponding to a virtual resource currently held by the target account is displayed at the right lower corner of the game picture, a current attribute value 804 (12-point attribute value) of a target attribute of the target account is displayed at the left lower corner, virtual gold coins of a second resource number (4) are preset for each consumption of the target account, virtual experience of the first attribute number (4) can be increased, when the first resource number (8) is determined to be larger than the second resource number (4), second prompt information 806 is displayed, the second prompt information indicates that the virtual gold coins of the second resource number (4) are allowed to be consumed, and the current attribute value of the virtual experience value is increased.
For example, fig. 9 is a schematic diagram of another alternative method for updating virtual attributes, as shown in fig. 9, where a game is a self-propelled chess game, a virtual resource is a virtual gold coin, and a target attribute is a virtual experience value as an example:
The game picture is a game picture displayed after the target account starts a game, a first resource quantity 902 (2 virtual gold coins) corresponding to a virtual resource currently held by the target account is displayed at the right lower corner of the game picture, a current attribute value 904 (12-point attribute value) of a target attribute of the target account is displayed at the left lower corner, virtual gold coins of a second resource quantity (4) are preset for each consumption of the target account, virtual experience of the first attribute quantity (4) can be increased, when the first resource quantity (1) is determined to be smaller than the first target resource quantity (2), second prompt information 906 is displayed, the second prompt information indicates the virtual gold coins which are allowed to consume the second resource quantity (4), and the current attribute value of the virtual experience value is increased.
The above is merely an example, and the present embodiment is not limited in any way.
As an alternative, when the difference between the current attribute value and the target attribute value is smaller than the first attribute number, the first resource number is smaller than the second resource number, and the first resource number is greater than or equal to the first target resource number, in response to the obtained target touch operation, increasing the attribute value of the target attribute from the current attribute value to the target attribute value by consuming the virtual resource of the first target resource number, including:
When the difference between the current attribute value and the target attribute value is smaller than the first attribute number, the first resource number is smaller than the second resource number, and the first resource number is larger than or equal to the first target resource number, displaying the target control in a touch-enabled state, wherein the target control is used for consuming virtual resources to increase the attribute value of the target attribute, increasing the attribute value of the target attribute from the current attribute value to the target attribute value by consuming the virtual resources of the first target resource number in response to a target touch operation performed on the target control, or
When the difference between the current attribute value and the target attribute value is smaller than the first attribute number, the first resource number is smaller than the second resource number, and the first resource number is larger than or equal to the first target resource number, a target window is popped up, first prompt information and a target determination button are displayed in the target window, wherein the first prompt information is used for prompting an attribute value allowing the target attribute to be increased by consuming virtual resources of the first target resource number, and the attribute value of the target attribute is increased from the current attribute value to the target attribute value by consuming virtual resources of the first target resource number in response to a target touch operation performed on the target determination button.
Optionally, in this embodiment, the target control may include, but is not limited to, an interactive control that allows a touch operation such as clicking, long pressing, dragging or loosening, and the displaying the target control in a state that allows a touch may include, but is not limited to, displaying the target control in a state that allows a touch operation such as clicking, long pressing, dragging or loosening.
After performing the above-mentioned target touch operations such as clicking, long pressing, dragging or releasing on the target control, as shown in fig. 5, virtual resources of the first target resource number (2) may be consumed, and the attribute value of the target attribute may be increased from the current attribute value (18) to the target attribute value (20).
Optionally, in this embodiment, the above-mentioned target determination button may include, but is not limited to, an interactive control that allows a touch operation such as clicking, long pressing, dragging, or releasing, and is used to increase the attribute value of the target attribute from the current attribute value to the target attribute value by consuming a virtual resource of the first target resource amount, and the above-mentioned pop-up target window may include, but is not limited to, popping up at a predetermined time node, or popping up when the difference between the current attribute value and the target attribute value is smaller than the first attribute amount, the first resource amount is smaller than the second resource amount, and the first resource amount is greater than or equal to the first target resource amount. The displaying the first prompt information and the target determination button in the target window may include, but is not limited to, simultaneously displaying the first prompt information and the target determination button, and may also include, but is not limited to, displaying the first prompt information and the target determination button in a preset order, and specifically may include, but is not limited to, displaying the first prompt information and then displaying the target determination button.
For example, fig. 10 is a schematic diagram of another alternative method for updating virtual attributes, as shown in fig. 10, where a game is a self-propelled chess game, a virtual resource is a virtual gold coin, and a target attribute is a virtual experience value as an example:
The game screen is a game screen displayed after the target account starts a game, a first resource number 1002 (2 virtual gold coins) corresponding to a virtual resource currently held by the target account is displayed at the right bottom corner of the game screen, a current attribute value 1004 (12-point attribute value) of a target attribute of the target account is displayed at the left bottom corner, virtual gold coins of a second resource number (4) are preset for each consumption of the target account, virtual experience of the first attribute number (4) can be increased, when it is determined that a difference value between the current attribute value and the target attribute value is smaller than the first attribute number, the first resource number is smaller than the second resource number, and the first resource number is larger than or equal to the first target resource number, a target window 1006 is popped up, and first prompt information 1008 and a target determination button 1010 are displayed at the target window 1006, so that the attribute value of the target attribute is increased from the current attribute value to the target attribute value by consuming the virtual resource of the first target resource number in response to a target touch operation performed on the target determination button.
The above is merely an example, and the present embodiment is not limited in any way.
As an alternative, the method further comprises:
When the difference value between the current attribute value and the target attribute value is greater than or equal to the first attribute number and the first resource number is smaller than the second resource number, displaying second prompt information, and displaying the target control in a state of not allowing touch control, wherein the second prompt information is used for prompting that the attribute value of the target attribute is allowed to be increased by consuming virtual resources of the second resource number;
When the attribute value of the target attribute is increased from the current attribute value to the first attribute value, the difference between the first attribute value and the target attribute value is smaller than the first attribute number, the first resource number is smaller than the second resource number, and the first resource number is larger than or equal to the second target resource number, switching from displaying the second prompt information to displaying the third prompt information, and displaying the target control in a touch enabled state, wherein the third prompt information is used for prompting the attribute value of the target attribute to be increased by consuming the virtual resource of the second target resource number, and the second target resource number is the number of virtual resources required to be consumed for increasing the attribute value of the target attribute from the first attribute value to the target attribute value.
Alternatively, in this embodiment, the difference between the current attribute value and the target attribute value is greater than or equal to the first attribute value, and the first resource quantity is smaller than the second resource quantity, which may be understood that the difference between the current attribute value and the target attribute value is greater than or equal to the quantity of increasing the attribute value of the target attribute by consuming the second resource quantity each time, and the first resource quantity is smaller than the second resource quantity, which may be understood that the virtual resource quantity currently held by the target account is smaller than the virtual resource quantity consumed when the first attribute value is increased by each update, and at this time, although the second hint information for prompting that the attribute value of the target attribute is allowed to be increased by consuming the virtual resource of the second resource quantity is displayed, the target control is displayed in a state that touch is not allowed.
Alternatively, in this embodiment, the first attribute value is an attribute value having a difference from the target attribute value smaller than the first attribute number, for example, the target attribute value is 20, the first attribute number is 4, and the first attribute value is any one of 17, 18, and 19,
Alternatively, in this embodiment, the increase of the attribute value of the target attribute from the current attribute value to the first attribute value may be a first attribute value obtained by successively increasing the number of first attributes, for example, the current attribute value is 0, the number of first attributes is 4, each time the number of first attributes is increased by 4, the first time is 0 to 4, the second time is 4 to 8, and so on.
Optionally, in this embodiment, the third prompting information may include, but is not limited to, an attribute value for prompting that the target attribute is allowed to be increased by consuming the virtual resource of the second target resource amount, for example, the first attribute value is 18, the target attribute value is 20, then the second target resource amount is 2, by consuming the virtual resource of the second target resource amount, the attribute value of the target attribute is increased from 18 to 20, and the target control is displayed in a state that allows touch control.
For example, fig. 11 is a schematic diagram of another alternative method for updating virtual attributes, as shown in fig. 11, where a game is a game of self-propelled chess, a virtual resource is a virtual gold coin, and a target attribute is a virtual experience value as an example:
the game picture is a game picture displayed after a target account starts a game, a first resource number 1102 (6 virtual gold coins) corresponding to a virtual resource currently held by the target account is displayed at the right bottom corner of the game picture, a current attribute value 1104 (14-point attribute value) of a target attribute of the target account is displayed at the left bottom corner, virtual gold coins of a second resource number (4) are preset for each consumption of the target account, virtual experience of the first attribute number (4) can be increased, after the second resource number 4 is consumed, the current attribute value is increased by the first attribute number, a first attribute value 14+4=18 is obtained, when the target attribute value is 20, a difference value (2) between the first attribute value (18) and the target attribute value (20) is smaller than the first attribute number (4), the first resource number (2) is smaller than the second resource number (4), and when the first resource number (2) is equal to the second target resource number (2), second prompt information is switched from displaying second prompt information to displaying third prompt information for prompting permission to increase the target resources through the second target resource number to be consumed, and the target attribute value is in a permission state.
The above is merely an example, and the present embodiment is not limited in any way.
As an alternative, the method further comprises:
When the difference value between the current attribute value and the target attribute value is greater than or equal to the first attribute number and the first resource number is smaller than the second resource number, displaying second prompt information, and displaying the target control in a state of not allowing touch control, wherein the second prompt information is used for prompting that the attribute value of the target attribute is allowed to be increased by consuming virtual resources of the second resource number;
When the attribute value of the target attribute is increased from the current attribute value to the first attribute value, the difference between the first attribute value and the target attribute value is smaller than the first attribute number, the first resource number is smaller than the second resource number, and the first resource number is smaller than the second target resource number, switching from displaying the second prompt information to displaying the third prompt information, and displaying the target control in a state of not allowing touch, wherein the third prompt information is used for prompting the attribute value of the target attribute to be increased by consuming the virtual resource of the second target resource number, and the second target resource number is the number of virtual resources required to be consumed for increasing the attribute value of the target attribute from the first attribute value to the target attribute value;
and when the number of the virtual resources currently held by the target account increases from the first resource number to the third resource number, wherein the third resource number is smaller than the second resource number, and the third resource number is larger than or equal to the second target resource number, displaying third prompt information, and displaying the target control in a touch control enabled state.
Alternatively, in this embodiment, the increase in the attribute value of the target attribute from the current attribute value to the first attribute value may include, but is not limited to, other manners other than by consuming virtual resources held by the target account, such as, for example, obtaining a game prize, other account assistance, and the like.
For example, as shown in fig. 11, when the current attribute 1104 is increased to the first attribute value 1106, not by consuming the virtual resource of the second resource amount, but by other account assistance, the value of the first resource amount 1102 is increased to the third resource amount, so as to display third prompt information, and the target control is displayed in a state allowing touch.
As an alternative, the method further comprises:
When the difference value between the current attribute value and the target attribute value is greater than or equal to the first attribute number and the first resource number is smaller than the second resource number, displaying second prompt information, and displaying the target control in a state of not allowing touch control, wherein the second prompt information is used for prompting that the attribute value of the target attribute is allowed to be increased by consuming virtual resources of the second resource number;
When the number of the virtual resources currently held by the target account increases from the first resource number to the fourth resource number, and the fourth resource number is larger than the second resource number, displaying second prompt information, and displaying the target control in a touch-allowed state;
When the ratio of the difference value between the current attribute value and the target attribute value to the first attribute number is between N and N+1 and the ratio of the fourth resource number to the second resource number is between N and N+1, the attribute value of the target attribute is increased by consuming the virtual resource of the second resource number for N times in succession to increase the first attribute number by the attribute value of the target attribute, wherein N is a positive integer greater than or equal to 2, and when the attribute value of the target attribute is increased by consuming the virtual resource of the second resource number for N times in succession to complete the increase of the first attribute number, the attribute value of the target attribute is the second attribute value and the number of the virtual resource currently held by the target account is the fifth resource number;
When the fifth resource number is smaller than the second resource number and the fifth resource number is larger than or equal to the third target resource number, and when the increase of the attribute value of the target attribute by consuming the virtual resource of the second resource number is completed for N times in succession, the display of the second prompt information is switched to the display of the fourth prompt information, and the target control is displayed in a touch enabled state, wherein the fourth prompt information is used for prompting the attribute value of the target attribute to be increased by consuming the virtual resource of the third target resource number, and the third target resource number is the number of virtual resources required to be consumed for increasing the attribute value of the target attribute from the second attribute value to the target attribute value.
Optionally, in this embodiment, when the difference between the current attribute value and the target attribute value is greater than or equal to the first attribute number and the first resource number is smaller than the second resource number, the second prompt information is displayed, and the target control is displayed in a state where touch is not allowed, which is similar to the foregoing, and will not be described herein. The displaying of the second prompt information and the displaying of the target control in the touch enabled state when the number of virtual resources currently held by the target account increases from the first to the fourth resource and the fourth resource is greater than the second resource may be understood as displaying the target control in the touch disabled state when the first resource is less than the second resource, and displaying the target control in the touch enabled state when the first resource increases to the fourth resource and the fourth resource is greater than or equal to the second resource.
Optionally, in this embodiment, the ratio of the difference between the current attribute value and the target attribute value to the first attribute number is between N and n+1, which may be understood that the difference between the current attribute value and the target attribute value is between N times and n+1 times the first attribute number, and the ratio of the fourth resource number to the second resource number is between N times and n+1 times the second resource number, which may be understood that the attribute value of the target attribute is increased by the first attribute number by consuming the virtual resource of the second resource number N times in succession in response to N continuous touch operations performed on the target control, so that the attribute value of the target attribute is gradually increased by the first attribute number to the second attribute value.
For example, taking a game as a game of one game of self-propelled chess, the virtual resource is a virtual gold coin, the target attribute is a virtual experience value, the first resource quantity is equal to 2, the first attribute quantity is equal to 4, the second resource quantity is equal to 4 as an example, when the current attribute value is 2, the target attribute value is 20, the difference between the current attribute value and the target attribute value is 18, which is greater than the first attribute quantity 4, and the first resource quantity 2 is smaller than the second resource quantity 4, at this time, second prompt information allowing the attribute value of the target attribute to be increased by consuming the virtual resource of the second resource quantity is displayed, when the number of the virtual resource currently held by the target account is increased from the first resource quantity 2 to the fourth resource quantity 18, and the fourth resource quantity 18 is greater than the second resource quantity 4, the target control is displayed in a state allowing touch control, the ratio of the difference value 18 between the current attribute value 2 and the target attribute value 20 to the first attribute quantity 4 is between n=4 and n=5, and the ratio of the fourth resource quantity 18 to the second resource quantity 4 is located between n=4 and n=4, and when the ratio of the fourth resource quantity 18 to the second resource quantity 4 is located between the second attribute value and n=4 is equal to the second attribute value, continuously increasing the target attribute value by the second attribute value is continuously performed by increasing the target attribute value to the second attribute value by the second attribute value of 2, which is equal to the second attribute value 2, which is continuously increased by the second attribute value to the second attribute value is greater than the target value 4, which is continuously equal to the target attribute value to the second attribute value and is continuously increased by the second attribute value to 4;
In the case where the fifth resource amount 2 is smaller than the second resource amount 4 and the fifth resource amount 2 is equal to the third target resource amount 2, when the increase of the attribute value of the target attribute by the first attribute amount 4 is completed by consuming the virtual resource of the second resource amount 4 consecutive times, the display of the second hint information is switched to the display of the fourth hint information for hint the attribute value of the target attribute that is required to be consumed to increase the attribute value of the target attribute from the second attribute value 18 to the target attribute value 20, and the target control is displayed in a state where touch is permitted. ;
The above is merely an example, and the present embodiment is not limited in any way.
As an alternative, the method further comprises:
in the case of popup of the target window, the target control is displayed in a state where touch is not allowed, wherein the target control is used for consuming virtual resources to increase the attribute value of the target attribute, or
And under the condition of popup of the target window, displaying the target control in a state of not allowing touch control, and displaying second prompt information on the target control, wherein the target control is used for consuming virtual resources to increase the attribute value of the target attribute, and the second prompt information is used for prompting that the attribute value of the target attribute is allowed to be increased by consuming the virtual resources of the second resource quantity.
Alternatively, in the present embodiment, when the game screen pops up the above-described target window, the target control is displayed in a state in which touch is not allowed.
It should be noted that, even if the target control is displayed in a state where touch is not allowed, the second prompt information may be displayed on the target control to prompt that the attribute value of the target attribute is allowed to be increased by consuming the virtual resource of the second resource amount.
As an alternative, in response to the obtained target touch operation, increasing the attribute value of the target attribute from the current attribute value to the target attribute value by consuming the virtual resource of the first target resource amount, including:
In response to the target touch operation, increasing the attribute value of the target attribute from the current attribute value by a difference value to the target attribute value by consuming the virtual resource of the first target resource number, wherein the difference value is the same as the first target resource number, or
And under the condition that the first attribute quantity and the second resource quantity are the same, responding to the target touch operation, and increasing the attribute value of the target attribute from the current attribute value to the target attribute value by consuming the virtual resource of the first target resource quantity, wherein the difference value and the first target resource quantity are different.
Alternatively, in this embodiment, the value of the first attribute number and the value of the second resource number may be configured to be the same, and at this time, the attribute value of the target attribute is increased by a difference value from the current attribute value to the target attribute value, where the difference value and the first target resource number are the same or different, and it may be understood that the difference value between the current attribute value and the target attribute value is the same or different from the value of the first target resource number.
For example, taking the example that one game is a game of self-propelled chess, the virtual resource is a virtual gold coin, the target attribute is a virtual experience value, the first resource number is equal to 2, the first attribute number is equal to 4, the second resource number is equal to 4, and the first attribute number is the same as the second resource number, at this time, in response to the target touch operation, the target attribute value is increased from the current attribute value by 4 to the target attribute value by consuming the virtual resource of 4. Taking the difference value and the first target resource quantity as different examples, at this time, in response to the target touch operation, the target attribute value is increased from the current attribute value to the target attribute value by consuming the virtual resource of 4.
That is, in the case where the first attribute number and the second resource number are the same, the first target resource number may be configured to be the same as or different from the difference value, and both of which can be achieved to increase the attribute value of the target attribute from the current attribute value to the target attribute value.
As an alternative, in response to the obtained target touch operation, increasing the attribute value of the target attribute from the current attribute value to the target attribute value by consuming the virtual resource of the first target resource amount, including:
In the case that the ratio of the first attribute number to the second resource number is M, in response to the target touch operation, increasing the attribute value of the target attribute from the current attribute value to the target attribute value by a difference value by consuming the virtual resource of the first target resource number, wherein M is a positive integer greater than or equal to2, and the ratio of the difference value to the first target resource number is M, or
Under the condition that the ratio of the first attribute quantity to the second resource quantity is 1/M, responding to target touch operation, and increasing the attribute value of the target attribute from the current attribute value to the target attribute value by consuming virtual resources of the first target resource quantity, wherein M is a positive integer greater than or equal to 2, and the ratio of the difference to the first target resource quantity is 1/M.
Alternatively, in the present embodiment, the ratio of the first target resource amount to the difference value may be configured according to the ratio between the first attribute amount and the second resource amount in the same ratio (e.g., M or 1/M).
As an alternative, the method further comprises:
and under the condition that the attribute value of the target attribute corresponds to the number of the virtual characters allowed to be controlled by the target account in one game, responding to the target touch operation, and increasing the number of the virtual characters allowed to be controlled by the target account in one game.
Alternatively, in this embodiment, the above-described target attribute may be configured as the number of virtual characters that the target account allows to control in one game, and when the attribute value of the target attribute increases, the number of virtual characters that the target account allows to control in one game is increased.
For example, as shown in fig. 5, in response to a target touch operation, the number of virtual characters that the target account number is allowed to control in one game (within the board area) is increased (from 3 pieces to 4 pieces).
As an alternative, increasing the number of virtual characters allowed to be controlled by the target account in one game includes:
increasing the number of virtual characters allowed to be controlled by the target account in one game by a preset first character number, or
And increasing the number of virtual characters allowed to be controlled by the target account in one game by a second character number corresponding to the target attribute value.
Alternatively, in this embodiment, the preset first number of roles may include, but is not limited to, corresponding to the target attribute value of the target attribute, and each time the attribute value of the target attribute is increased to the target attribute value, the preset first number of roles is increased, and the second number of roles corresponding to the target attribute value may include, but is not limited to, configuring a corresponding virtual level for the target attribute, and when the target attribute value corresponds to a different virtual level, increasing a different number of virtual roles, that is, increasing a second number of roles corresponding to the target attribute value.
As an alternative, after increasing the attribute value of the target attribute from the current attribute value to the target attribute value, the method further comprises:
displaying a current updated attribute value and a target updated attribute value of the target attribute, wherein the target updated attribute value is greater than the target attribute value;
When the difference between the current update attribute value and the target update attribute value is smaller than the first attribute number, the resource number of the virtual resource currently held by the target account is smaller than the second resource number, and the resource number of the virtual resource currently held by the target account is larger than or equal to the fourth target resource number, responding to the acquired target touch operation, and increasing the attribute value of the target attribute from the current update attribute value to the target update attribute value by consuming the virtual resource of the fourth target resource number, wherein the fourth target resource number is the number of virtual resources required to be consumed for increasing the attribute value of the target attribute from the current update attribute value to the target update attribute value;
The first difference value is a difference value between the current attribute value and the target attribute value, the second difference value is a difference value between the current updated attribute value and the target updated attribute value, the first ratio is a ratio of the first difference value to the first target resource quantity, the second ratio is a ratio of the second difference value to the fourth target resource quantity, and the first ratio is the same as or different from the second ratio.
Alternatively, in this embodiment, the above-mentioned current update attribute value may be understood as a current attribute value corresponding to the next time the target attribute is allowed to be updated after the target attribute reaches the target attribute value. The above-mentioned target update attribute value may be understood as a target attribute value corresponding to the next time the target attribute is allowed to be updated after the target attribute reaches the target attribute value.
For example, when the game is a game of one game of self-propelled chess, the virtual resource is a virtual gold coin, the target attribute is a virtual experience value, the current attribute value is 18, the target attribute value is 20, the first target resource number is 2, the second resource number is 4, at this time, when the current update attribute value is 22, the target update attribute value is 23, the first difference value is 2, the second difference value is 1, the number of resources of the virtual resource currently held by the target account is 3, the second resource number is 4, the first ratio is 2/4=0.5, the fourth target resource number is 1, the second ratio is 1/3=0.3, the first ratio is different from the second ratio, the current update attribute value is 22, the target update attribute value is 24, the first difference value is 2, the second difference value is 2, the number of resources of the virtual resource currently held by the target is 3, the second resource number is 4, the first ratio is 2/4=0.5, the fourth target resource number is 2, the second ratio is 2/4=0.5, and the first ratio is the same as the second ratio.
That is, the user may have more ways to consume the fourth number of virtual resources to increase the attribute value of the target attribute from the current updated attribute value to the target updated attribute value as the attribute value of the target attribute increases.
The application is further illustrated by the following examples:
The application relates to an optimization design of a self-propelled chess in-office upgrading mechanism, which adopts a fixed consumption m gold coin (corresponding to the second resource quantity) to purchase an N experience value (m=n, usually 4) (corresponding to the first attribute quantity), and completes the upgrading by clicking for a plurality of times (N times). And, on this basis, an upgrade mechanism in the limit case is added, which allows a player to consume only a small amount of gold coin to purchase full experience when gold coin is insufficient to purchase once (corresponding to the first resource amount being smaller than the second resource amount) but sufficient to upgrade (the difference is smaller than the first attribute amount), thereby achieving the upgrade goal.
It should be noted that this mechanism exists only in the extreme case where the player currently has less than the amount of gold that is required to purchase one time, but greater than or equal to the current upgrade required experience value (provided that 1 gold is redeemed for 1 experience value).
The application relates to an optimization design of a self-propelled chess in-office upgrading mechanism, and fig. 12 is a schematic diagram of an alternative virtual attribute updating method according to an embodiment of the application, as shown in fig. 12, and the corresponding basic flow is as follows:
Step1, after the game starts, the number of gold coins currently owned by the player is set as M, the number of gold coins consumed by purchasing one experience is set as M (M is usually 4, or other positive integers can be taken), and the experience value obtained by purchasing one time is set as q (q=m). The game client logic layer (hereinafter referred to as logic layer) continuously detects real-time values of M and Q, and reads fixed values of M and Q in the game planning configuration table;
Step2, the logic layer judges whether M is greater than or equal to M (namely whether the current economy of the player is sufficient), if yes, the player is allowed to click an upgrade button once. In this process, the player does not hit the button at a break until M < M, and the upgrade button is grayed out. The logic layer continuously detects the current values of M and Q;
Step3, the logic layer judges whether the limit condition is reached, namely M > M is more than or equal to Q and Q is less than or equal to Q, if yes, a limit purchase mode is started, a player is allowed to purchase the gold coin once in insufficient mode, the upgrading target is reached, if no, the upgrading button is gray, and clicking is not allowed.
FIG. 13 is a schematic diagram of another alternative method for updating virtual attributes according to an embodiment of the present application, as shown in FIG. 13, a specific identification detection procedure for each round is as follows:
Step1, starting game play by the player, and transmitting a real-time operation signal of the fingers of the player to a logic layer by a game client performance layer (hereinafter referred to as a performance layer). The logic layer reads real-time values of M and Q and reads fixed values of M and Q in the game plan configuration table, whether M is more than or equal to M is continuously judged, if yes, the current economy is judged to be sufficient, the presentation layer controls the upgrading button to present a clickable state, and a player can not click the upgrading button to purchase experience;
Step2, with the purchase of experience, the M value is continuously reduced until M < M, and a new judgment is made. The real-time values of M and Q are read at the moment, whether M > M is more than or equal to Q and Q < Q is met or not is judged, if yes, the limit situation is judged, the performance layer starts a limit purchasing mode, a player is allowed to click an upgrade button once and only spends Q gold coins, the player is successfully upgraded, if no, the economy is judged to be insufficient, the performance layer controls the upgrade button to put ash, the player cannot click, and the upgrade is impossible.
Through the embodiment, when the gold coin is insufficient for purchasing once but is sufficient for upgrading, a player is allowed to consume a small amount of gold coin to purchase full-scale experience, so that the upgrading aim is fulfilled, the problem of interest loss possibly caused in the original mode is effectively solved, the degree of the pasting of the game design is improved, and the player experience is improved while the fun of the game operation is maintained.
In addition, in this embodiment, the design of the upgrade button may be not changed, and an additional popup window is used to remind the player.
It will be appreciated that in the specific embodiments of the present application, related data such as user information, game data, etc. are involved, and when the above embodiments of the present application are applied to specific products or technologies, user permissions or consents need to be obtained, and the collection, use and processing of related data need to comply with the relevant laws and regulations and standards of the relevant countries and regions.
It should be noted that, for simplicity of description, the foregoing method embodiments are all described as a series of acts, but it should be understood by those skilled in the art that the present application is not limited by the order of acts described, as some steps may be performed in other orders or concurrently in accordance with the present application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required for the present application.
According to another aspect of the embodiment of the present application, there is also provided a device for updating a virtual attribute for implementing the method for updating a virtual attribute. As shown in fig. 14, the apparatus includes:
A display module 1402, configured to display, in a game screen of a game, a first resource number of virtual resources currently held by a target account, a current attribute value of a target attribute of the target account, and a target attribute value, where the number of virtual resources consumed when increasing the attribute value of the target attribute by the first attribute number each time is a second resource number;
A processing module 1404, configured to increase, in response to the obtained target touch operation, the attribute value of the target attribute from the current attribute value to the target attribute value by consuming virtual resources of a first target resource amount when the difference between the current attribute value and the target attribute value is less than the first attribute amount, the first resource amount is less than the second resource amount, and the first resource amount is greater than or equal to the first target resource amount, wherein the first target resource amount is an amount of virtual resources required to be consumed to increase the attribute value of the target attribute from the current attribute value to the target attribute value.
As an alternative, the device is further configured to:
When the difference between the current attribute value and the target attribute value is smaller than the first attribute number, the first resource number is smaller than the second resource number, and the first resource number is larger than or equal to the first target resource number, displaying first prompt information, wherein the first prompt information is used for prompting the attribute value of the target attribute to be increased by consuming virtual resources of the first target resource number;
And when the difference value between the current attribute value and the target attribute value is greater than or equal to the first attribute number, or the first resource number is greater than or equal to the second resource number, or the first resource number is smaller than the first target resource number, displaying second prompt information, wherein the second prompt information is used for prompting that the attribute value of the target attribute is allowed to be increased by consuming the virtual resource of the second resource number.
As an alternative, the device is configured to increase, when the difference between the current attribute value and the target attribute value is smaller than the first attribute number, the first resource number is smaller than the second resource number, and the first resource number is greater than or equal to the first target resource number, in response to the obtained target touch operation, the attribute value of the target attribute from the current attribute value to the target attribute value by consuming the virtual resource of the first target resource number:
When the difference between the current attribute value and the target attribute value is smaller than the first attribute number, the first resource number is smaller than the second resource number, and the first resource number is larger than or equal to the first target resource number, displaying the target control in a touch-enabled state, wherein the target control is used for consuming virtual resources to increase the attribute value of the target attribute, increasing the attribute value of the target attribute from the current attribute value to the target attribute value by consuming the virtual resources of the first target resource number in response to a target touch operation performed on the target control, or
When the difference between the current attribute value and the target attribute value is smaller than the first attribute number, the first resource number is smaller than the second resource number, and the first resource number is larger than or equal to the first target resource number, a target window is popped up, first prompt information and a target determination button are displayed in the target window, wherein the first prompt information is used for prompting an attribute value allowing the target attribute to be increased by consuming virtual resources of the first target resource number, and the attribute value of the target attribute is increased from the current attribute value to the target attribute value by consuming virtual resources of the first target resource number in response to a target touch operation performed on the target determination button.
As an alternative, the device is further configured to:
When the difference value between the current attribute value and the target attribute value is greater than or equal to the first attribute number and the first resource number is smaller than the second resource number, displaying second prompt information, and displaying the target control in a state of not allowing touch control, wherein the second prompt information is used for prompting that the attribute value of the target attribute is allowed to be increased by consuming virtual resources of the second resource number;
When the attribute value of the target attribute is increased from the current attribute value to the first attribute value, the difference between the first attribute value and the target attribute value is smaller than the first attribute number, the first resource number is smaller than the second resource number, and the first resource number is larger than or equal to the second target resource number, switching from displaying the second prompt information to displaying the third prompt information, and displaying the target control in a touch enabled state, wherein the third prompt information is used for prompting the attribute value of the target attribute to be increased by consuming the virtual resource of the second target resource number, and the second target resource number is the number of virtual resources required to be consumed for increasing the attribute value of the target attribute from the first attribute value to the target attribute value.
As an alternative, the device is further configured to:
When the difference value between the current attribute value and the target attribute value is greater than or equal to the first attribute number and the first resource number is smaller than the second resource number, displaying second prompt information, and displaying the target control in a state of not allowing touch control, wherein the second prompt information is used for prompting that the attribute value of the target attribute is allowed to be increased by consuming virtual resources of the second resource number;
When the attribute value of the target attribute is increased from the current attribute value to the first attribute value, the difference between the first attribute value and the target attribute value is smaller than the first attribute number, the first resource number is smaller than the second resource number, and the first resource number is smaller than the second target resource number, switching from displaying the second prompt information to displaying the third prompt information, and displaying the target control in a state of not allowing touch, wherein the third prompt information is used for prompting the attribute value of the target attribute to be increased by consuming the virtual resource of the second target resource number, and the second target resource number is the number of virtual resources required to be consumed for increasing the attribute value of the target attribute from the first attribute value to the target attribute value;
and when the number of the virtual resources currently held by the target account increases from the first resource number to the third resource number, wherein the third resource number is smaller than the second resource number, and the third resource number is larger than or equal to the second target resource number, displaying third prompt information, and displaying the target control in a touch control enabled state.
As an alternative, the device is further configured to:
When the difference value between the current attribute value and the target attribute value is greater than or equal to the first attribute number and the first resource number is smaller than the second resource number, displaying second prompt information, and displaying the target control in a state of not allowing touch control, wherein the second prompt information is used for prompting that the attribute value of the target attribute is allowed to be increased by consuming virtual resources of the second resource number;
When the number of the virtual resources currently held by the target account increases from the first resource number to the fourth resource number, and the fourth resource number is larger than the second resource number, displaying second prompt information, and displaying the target control in a touch-allowed state;
When the ratio of the difference value between the current attribute value and the target attribute value to the first attribute number is between N and N+1 and the ratio of the fourth resource number to the second resource number is between N and N+1, the attribute value of the target attribute is increased by consuming the virtual resource of the second resource number for N times in succession to increase the first attribute number by the attribute value of the target attribute, wherein N is a positive integer greater than or equal to 2, and when the attribute value of the target attribute is increased by consuming the virtual resource of the second resource number for N times in succession to complete the increase of the first attribute number, the attribute value of the target attribute is the second attribute value and the number of the virtual resource currently held by the target account is the fifth resource number;
When the fifth resource number is smaller than the second resource number and the fifth resource number is larger than or equal to the third target resource number, and when the increase of the attribute value of the target attribute by consuming the virtual resource of the second resource number is completed for N times in succession, the display of the second prompt information is switched to the display of the fourth prompt information, and the target control is displayed in a touch enabled state, wherein the fourth prompt information is used for prompting the attribute value of the target attribute to be increased by consuming the virtual resource of the third target resource number, and the third target resource number is the number of virtual resources required to be consumed for increasing the attribute value of the target attribute from the second attribute value to the target attribute value.
As an alternative, the device is further configured to:
in the case of popup of the target window, the target control is displayed in a state where touch is not allowed, wherein the target control is used for consuming virtual resources to increase the attribute value of the target attribute, or
And under the condition of popup of the target window, displaying the target control in a state of not allowing touch control, and displaying second prompt information on the target control, wherein the target control is used for consuming virtual resources to increase the attribute value of the target attribute, and the second prompt information is used for prompting that the attribute value of the target attribute is allowed to be increased by consuming the virtual resources of the second resource quantity.
As an alternative, the apparatus is configured to increase the attribute value of the target attribute from the current attribute value to the target attribute value by consuming the virtual resource of the first target resource amount in response to the acquired target touch operation by:
In response to the target touch operation, increasing the attribute value of the target attribute from the current attribute value by a difference value to the target attribute value by consuming the virtual resource of the first target resource number, wherein the difference value is the same as the first target resource number, or
And under the condition that the first attribute quantity and the second resource quantity are the same, responding to the target touch operation, and increasing the attribute value of the target attribute from the current attribute value to the target attribute value by consuming the virtual resource of the first target resource quantity, wherein the difference value and the first target resource quantity are different.
As an alternative, the apparatus is configured to increase the attribute value of the target attribute from the current attribute value to the target attribute value by consuming the virtual resource of the first target resource amount in response to the acquired target touch operation by:
In the case that the ratio of the first attribute number to the second resource number is M, in response to the target touch operation, increasing the attribute value of the target attribute from the current attribute value to the target attribute value by a difference value by consuming the virtual resource of the first target resource number, wherein M is a positive integer greater than or equal to2, and the ratio of the difference value to the first target resource number is M, or
Under the condition that the ratio of the first attribute quantity to the second resource quantity is 1/M, responding to target touch operation, and increasing the attribute value of the target attribute from the current attribute value to the target attribute value by consuming virtual resources of the first target resource quantity, wherein M is a positive integer greater than or equal to 2, and the ratio of the difference to the first target resource quantity is 1/M.
As an alternative, the device is further configured to:
and under the condition that the attribute value of the target attribute corresponds to the number of the virtual characters allowed to be controlled by the target account in one game, responding to the target touch operation, and increasing the number of the virtual characters allowed to be controlled by the target account in one game.
As an alternative, the device is configured to increase the number of virtual characters that the target account allows to control in a game by:
increasing the number of virtual characters allowed to be controlled by the target account in one game by a preset first character number, or
And increasing the number of virtual characters allowed to be controlled by the target account in one game by a second character number corresponding to the target attribute value.
As an alternative, the device is further configured to:
after increasing the attribute value of the target attribute from the current attribute value to the target attribute value, displaying the current updated attribute value and the target updated attribute value of the target attribute, wherein the target updated attribute value is greater than the target attribute value;
When the difference between the current update attribute value and the target update attribute value is smaller than the first attribute number, the resource number of the virtual resource currently held by the target account is smaller than the second resource number, and the resource number of the virtual resource currently held by the target account is larger than or equal to the fourth target resource number, responding to the acquired target touch operation, and increasing the attribute value of the target attribute from the current update attribute value to the target update attribute value by consuming the virtual resource of the fourth target resource number, wherein the fourth target resource number is the number of virtual resources required to be consumed for increasing the attribute value of the target attribute from the current update attribute value to the target update attribute value;
The first difference value is a difference value between the current attribute value and the target attribute value, the second difference value is a difference value between the current updated attribute value and the target updated attribute value, the first ratio is a ratio of the first difference value to the first target resource quantity, the second ratio is a ratio of the second difference value to the fourth target resource quantity, and the first ratio is the same as or different from the second ratio.
According to one aspect of the present application, there is provided a computer program product comprising a computer program/instruction containing program code for executing the method shown in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network via the communication portion 1509, and/or installed from the removable medium 1511. When executed by the central processor 1501, performs various functions provided by embodiments of the present application.
The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
Fig. 15 schematically shows a block diagram of a computer system of an electronic device for implementing an embodiment of the application.
It should be noted that, the computer system 1500 of the electronic device shown in fig. 15 is only an example, and should not impose any limitation on the functions and the application scope of the embodiments of the present application.
As shown in fig. 15, the computer system 1500 includes a central processing unit 1501 (Central Processing Unit, CPU) which can execute various appropriate actions and processes according to a program stored in a Read-Only Memory 1502 (ROM) or a program loaded from a storage section 1508 into a random access Memory 1503 (Random Access Memory, RAM). In the random access memory 1503, various programs and data necessary for the operation of the system are also stored. The cpu 1501, the rom 1502 and the ram 1503 are connected to each other via a bus 1504. An Input/Output interface 1505 (i.e., an I/O interface) is also connected to bus 1504.
Connected to the input/output interface 1505 are an input section 1506 including a keyboard, a mouse, and the like, an output section 1507 including a Cathode Ray Tube (CRT), a Liquid crystal display (Liquid CRYSTAL DISPLAY, LCD), and the like, and a speaker, and the like, a storage section 1508 including a hard disk, and the like, and a communication section 1509 including a network interface card such as a local area network card, a modem, and the like. The communication section 1509 performs communication processing via a network such as the internet. The drive 1150 is also connected to the input/output interface 1505 as needed. A removable medium 1511 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is installed on the drive 1150 as needed, so that a computer program read out therefrom is installed into the storage section 1508 as needed.
In particular, the processes described in the various method flowcharts may be implemented as computer software programs according to embodiments of the application. For example, embodiments of the present application include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flowcharts. In such an embodiment, the computer program can be downloaded and installed from a network via the communication portion 1509, and/or installed from the removable medium 1511. The computer programs, when executed by the central processor 1501, perform the various functions defined in the system of the present application.
According to still another aspect of the embodiment of the present application, there is also provided an electronic device for implementing the above-mentioned method for updating a virtual attribute, where the electronic device may be a terminal device or a server as shown in fig. 1. The present embodiment is described taking the electronic device as a terminal device as an example. As shown in fig. 16, the electronic device comprises a memory 1602 and a processor 1604, the memory 1602 having stored therein a computer program, the processor 1604 being arranged to perform the steps of any of the method embodiments described above by means of the computer program.
Alternatively, in this embodiment, the electronic device may be located in at least one network device of a plurality of network devices of the computer network.
Alternatively, in the present embodiment, the above-described processor may be configured to execute the following steps by a computer program:
S1, displaying the first resource quantity of virtual resources currently held by a target account, the current attribute value of a target attribute of the target account and the target attribute value in a game picture of a game, wherein the quantity of the virtual resources consumed when the attribute value of the target attribute is increased by the first attribute quantity each time is the second resource quantity;
S2, when the difference value between the current attribute value and the target attribute value is smaller than the first attribute number, the first resource number is smaller than the second resource number, and the first resource number is larger than or equal to the first target resource number, the attribute value of the target attribute is increased from the current attribute value to the target attribute value through consuming virtual resources of the first target resource number in response to the acquired target touch operation, wherein the first target resource number is the number of virtual resources required to be consumed for increasing the attribute value of the target attribute from the current attribute value to the target attribute value.
Alternatively, it will be understood by those skilled in the art that the structure shown in fig. 16 is only schematic, and the electronic device may be a smart phone (such as an Android Mobile phone, an iOS Mobile phone, etc.), a tablet computer, a palm computer, a Mobile internet device (Mobile INTERNET DEVICES, MID), a PAD, etc. Fig. 16 is not limited to the structure of the electronic device and the electronic apparatus described above. For example, the electronics can also include more or fewer components (e.g., network interfaces, etc.) than shown in fig. 16, or have a different configuration than shown in fig. 16.
The memory 1602 may be used to store software programs and modules, such as program instructions/modules corresponding to the method and apparatus for updating virtual attributes in the embodiments of the present application, and the processor 1604 executes the software programs and modules stored in the memory 1602 to perform various functional applications and data processing, i.e., to implement the method for updating virtual attributes. Memory 1602 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 1602 may further include memory located remotely from the processor 1604, which may be connected to the terminal by a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. The memory 1602 may be used for storing information such as target attributes, virtual resources, and the like. As an example, as shown in fig. 16, the memory 1602 may include, but is not limited to, a display module 1402 and a processing module 1404 in the update apparatus including the virtual attribute. In addition, other module units in the above-mentioned updating device of the virtual attribute may be further included, which is not described in detail in this example.
Optionally, the transmission device 1606 is used to receive or transmit data via a network. Specific examples of the network described above may include wired networks and wireless networks. In one example, the transmission means 1606 includes a network adapter (Network Interface Controller, NIC) that can connect to other network devices and routers via a network cable to communicate with the internet or a local area network. In one example, the transmission device 1606 is a Radio Frequency (RF) module, which is used to communicate with the internet wirelessly.
The electronic device further includes a display 1608 for displaying the game screen, and a connection bus 1610 for connecting respective module components of the electronic device.
In other embodiments, the terminal device or the server may be a node in a distributed system, where the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting the plurality of nodes through a network communication. Among them, the nodes may form a Peer-To-Peer (P2P) network, and any type of computing device, such as a server, a terminal, etc., may become a node in the blockchain system by joining the Peer-To-Peer network.
According to one aspect of the present application, there is provided a computer-readable storage medium, from which a processor of a computer device reads the computer instructions, the processor executing the computer instructions, causing the computer device to perform a method of updating a virtual attribute provided in various alternative implementations of the above-described updating aspect of a virtual attribute.
Alternatively, in the present embodiment, the above-described computer-readable storage medium may be configured to store a computer program for performing the steps of:
S1, displaying the first resource quantity of virtual resources currently held by a target account, the current attribute value of a target attribute of the target account and the target attribute value in a game picture of a game, wherein the quantity of the virtual resources consumed when the attribute value of the target attribute is increased by the first attribute quantity each time is the second resource quantity;
S2, when the difference value between the current attribute value and the target attribute value is smaller than the first attribute number, the first resource number is smaller than the second resource number, and the first resource number is larger than or equal to the first target resource number, the attribute value of the target attribute is increased from the current attribute value to the target attribute value through consuming virtual resources of the first target resource number in response to the acquired target touch operation, wherein the first target resource number is the number of virtual resources required to be consumed for increasing the attribute value of the target attribute from the current attribute value to the target attribute value.
Alternatively, in this embodiment, all or part of the steps in the various methods of the above embodiments may be implemented by a program for instructing the terminal device related hardware, and the program may be stored in a computer readable storage medium, where the storage medium may include a flash disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk.
The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
The integrated units in the above embodiments may be stored in the above-described computer-readable storage medium if implemented in the form of software functional units and sold or used as separate products. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, comprising several instructions for causing one or more computer devices (which may be personal computers, servers or network devices, etc.) to perform all or part of the steps of the method described in the embodiments of the present application.
In the foregoing embodiments of the present application, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In several embodiments provided by the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, such as the division of the units, is merely a logical function division, and may be implemented in another manner, for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The foregoing is merely a preferred embodiment of the present application and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present application, which are intended to be comprehended within the scope of the present application.

Claims (25)

1.一种虚拟属性的更新方法,其特征在于,包括:1. A method for updating a virtual attribute, characterized by comprising: 在一局游戏的游戏画面中显示目标帐号当前持有的虚拟资源的第一资源数量、所述目标帐号的目标属性的当前属性值以及目标属性值,其中,每次将所述目标属性的属性值增加第一属性数量时所消耗的所述虚拟资源的数量为第二资源数量;Displaying a first resource quantity of virtual resources currently held by a target account, a current attribute value of a target attribute of the target account, and a target attribute value on a game screen of a game, wherein the amount of the virtual resources consumed each time the attribute value of the target attribute is increased by the first attribute quantity is a second resource quantity; 在所述当前属性值与所述目标属性值之间的差值小于所述第一属性数量、所述第一资源数量小于所述第二资源数量、且所述第一资源数量大于或等于第一目标资源数量时,响应于获取到的目标触控操作,通过消耗所述第一目标资源数量的所述虚拟资源,将所述目标属性的属性值从所述当前属性值增加到所述目标属性值,其中,所述第一目标资源数量是将所述目标属性的属性值从所述当前属性值增加到所述目标属性值所需消耗的虚拟资源的数量;When the difference between the current attribute value and the target attribute value is less than the first attribute quantity, the first resource quantity is less than the second resource quantity, and the first resource quantity is greater than or equal to the first target resource quantity, in response to the acquired target touch operation, the attribute value of the target attribute is increased from the current attribute value to the target attribute value by consuming the virtual resources of the first target resource quantity, wherein the first target resource quantity is the quantity of virtual resources required to increase the attribute value of the target attribute from the current attribute value to the target attribute value; 所述方法还包括:在所述目标属性的属性值与所述目标帐号在所述一局游戏中允许控制的虚拟角色的数量对应的情况下,响应于所述目标触控操作,增加所述目标帐号在所述一局游戏中允许控制的虚拟角色的数量。The method further includes: when the attribute value of the target attribute corresponds to the number of virtual characters that the target account is allowed to control in the game, in response to the target touch operation, increasing the number of virtual characters that the target account is allowed to control in the game. 2.根据权利要求1所述的方法,其特征在于,所述方法还包括:2. The method according to claim 1, characterized in that the method further comprises: 在所述当前属性值与所述目标属性值之间的差值小于所述第一属性数量、所述第一资源数量小于所述第二资源数量、且所述第一资源数量大于或等于所述第一目标资源数量时,显示第一提示信息,其中,所述第一提示信息用于提示允许通过消耗所述第一目标资源数量的所述虚拟资源来增加所述目标属性的属性值;When the difference between the current attribute value and the target attribute value is less than the first attribute quantity, the first resource quantity is less than the second resource quantity, and the first resource quantity is greater than or equal to the first target resource quantity, displaying first prompt information, wherein the first prompt information is used to prompt that the attribute value of the target attribute is allowed to be increased by consuming the virtual resources of the first target resource quantity; 在所述当前属性值与所述目标属性值之间的差值大于或等于所述第一属性数量、或者、所述第一资源数量大于或等于所述第二资源数量、或者、所述第一资源数量小于所述第一目标资源数量时,显示第二提示信息,其中,所述第二提示信息用于提示允许通过消耗所述第二资源数量的所述虚拟资源来增加所述目标属性的属性值。When the difference between the current attribute value and the target attribute value is greater than or equal to the first attribute quantity, or the first resource quantity is greater than or equal to the second resource quantity, or the first resource quantity is less than the first target resource quantity, a second prompt message is displayed, wherein the second prompt message is used to prompt that the attribute value of the target attribute is allowed to be increased by consuming the virtual resources of the second resource quantity. 3. 根据权利要求1所述的方法,其特征在于,所述在所述当前属性值与所述目标属性值之间的差值小于所述第一属性数量、所述第一资源数量小于所述第二资源数量、且所述第一资源数量大于或等于第一目标资源数量时,响应于获取到的目标触控操作,通过消耗所述第一目标资源数量的所述虚拟资源,将所述目标属性的属性值从所述当前属性值增加到所述目标属性值,包括:3. The method according to claim 1, characterized in that when the difference between the current attribute value and the target attribute value is less than the first attribute quantity, the first resource quantity is less than the second resource quantity, and the first resource quantity is greater than or equal to a first target resource quantity, in response to the acquired target touch operation, the attribute value of the target attribute is increased from the current attribute value to the target attribute value by consuming the virtual resources of the first target resource quantity, comprising: 在所述当前属性值与所述目标属性值之间的差值小于所述第一属性数量、所述第一资源数量小于所述第二资源数量、且所述第一资源数量大于或等于所述第一目标资源数量时,将目标控件显示为处于允许触控的状态,其中,所述目标控件用于消耗所述虚拟资源来增加所述目标属性的属性值;响应于对所述目标控件执行的所述目标触控操作,通过消耗所述第一目标资源数量的所述虚拟资源,将所述目标属性的属性值从所述当前属性值增加到所述目标属性值;或者When the difference between the current property value and the target property value is less than the first property quantity, the first resource quantity is less than the second resource quantity, and the first resource quantity is greater than or equal to the first target resource quantity, displaying the target control as being in a touch-allowed state, wherein the target control is used to consume the virtual resources to increase the property value of the target property; in response to the target touch operation performed on the target control, increasing the property value of the target property from the current property value to the target property value by consuming the virtual resources of the first target resource quantity; or 在所述当前属性值与所述目标属性值之间的差值小于所述第一属性数量、所述第一资源数量小于所述第二资源数量、且所述第一资源数量大于或等于所述第一目标资源数量时,弹出目标窗口,并在所述目标窗口中显示第一提示信息和目标确定按钮,其中,所述第一提示信息用于提示允许通过消耗所述第一目标资源数量的所述虚拟资源来增加所述目标属性的属性值;响应于对所述目标确定按钮执行的所述目标触控操作,通过消耗所述第一目标资源数量的所述虚拟资源,将所述目标属性的属性值从所述当前属性值增加到所述目标属性值。When the difference between the current attribute value and the target attribute value is less than the first attribute quantity, the first resource quantity is less than the second resource quantity, and the first resource quantity is greater than or equal to the first target resource quantity, a target window pops up, and a first prompt message and a target determination button are displayed in the target window, wherein the first prompt message is used to prompt that the attribute value of the target attribute is allowed to be increased by consuming the virtual resources of the first target resource quantity; in response to the target touch operation performed on the target determination button, the attribute value of the target attribute is increased from the current attribute value to the target attribute value by consuming the virtual resources of the first target resource quantity. 4.根据权利要求3所述的方法,其特征在于,所述方法还包括:4. The method according to claim 3, characterized in that the method further comprises: 在所述当前属性值与所述目标属性值之间的差值大于或等于所述第一属性数量、且所述第一资源数量小于所述第二资源数量时,显示第二提示信息,并将所述目标控件显示为处于不允许触控的状态,其中,所述第二提示信息用于提示允许通过消耗所述第二资源数量的所述虚拟资源来增加所述目标属性的属性值;When the difference between the current attribute value and the target attribute value is greater than or equal to the first attribute quantity, and the first resource quantity is less than the second resource quantity, displaying a second prompt message, and displaying the target control as being in a touch-disallowed state, wherein the second prompt message is used to prompt that the attribute value of the target attribute is allowed to be increased by consuming the virtual resources of the second resource quantity; 在所述目标属性的属性值从所述当前属性值增加到第一属性值、所述第一属性值与所述目标属性值之间的差值小于所述第一属性数量、所述第一资源数量小于所述第二资源数量、且所述第一资源数量大于或等于第二目标资源数量时,从显示所述第二提示信息切换成显示第三提示信息,并将所述目标控件显示为处于允许触控的状态,其中,所述第三提示信息用于提示允许通过消耗所述第二目标资源数量的所述虚拟资源来增加所述目标属性的属性值,所述第二目标资源数量是将所述目标属性的属性值从所述第一属性值增加到所述目标属性值所需消耗的虚拟资源的数量。When the attribute value of the target attribute increases from the current attribute value to the first attribute value, the difference between the first attribute value and the target attribute value is less than the first attribute quantity, the first resource quantity is less than the second resource quantity, and the first resource quantity is greater than or equal to the second target resource quantity, the display of the second prompt information is switched to the display of the third prompt information, and the target control is displayed as being in a touch-allowed state, wherein the third prompt information is used to prompt that the attribute value of the target attribute is allowed to be increased by consuming the virtual resources of the second target resource quantity, and the second target resource quantity is the quantity of virtual resources required to increase the attribute value of the target attribute from the first attribute value to the target attribute value. 5.根据权利要求3所述的方法,其特征在于,所述方法还包括:5. The method according to claim 3, characterized in that the method further comprises: 在所述当前属性值与所述目标属性值之间的差值大于或等于所述第一属性数量、且所述第一资源数量小于所述第二资源数量时,显示第二提示信息,并将所述目标控件显示为处于不允许触控的状态,其中,所述第二提示信息用于提示允许通过消耗所述第二资源数量的所述虚拟资源来增加所述目标属性的属性值;When the difference between the current attribute value and the target attribute value is greater than or equal to the first attribute quantity, and the first resource quantity is less than the second resource quantity, displaying a second prompt message, and displaying the target control as being in a touch-disallowed state, wherein the second prompt message is used to prompt that the attribute value of the target attribute is allowed to be increased by consuming the virtual resources of the second resource quantity; 在所述目标属性的属性值从所述当前属性值增加到第一属性值、所述第一属性值与所述目标属性值之间的差值小于所述第一属性数量、所述第一资源数量小于所述第二资源数量、且所述第一资源数量小于第二目标资源数量时,从显示所述第二提示信息切换成显示第三提示信息,并将所述目标控件显示为处于不允许触控的状态,其中,所述第三提示信息用于提示允许通过消耗所述第二目标资源数量的所述虚拟资源来增加所述目标属性的属性值,所述第二目标资源数量是将所述目标属性的属性值从所述第一属性值增加到所述目标属性值所需消耗的虚拟资源的数量;When the attribute value of the target attribute increases from the current attribute value to the first attribute value, the difference between the first attribute value and the target attribute value is less than the first attribute quantity, the first resource quantity is less than the second resource quantity, and the first resource quantity is less than the second target resource quantity, the display of the second prompt information is switched to the display of the third prompt information, and the target control is displayed as being in a state where touch is not allowed, wherein the third prompt information is used to prompt that the attribute value of the target attribute is allowed to be increased by consuming the virtual resources of the second target resource quantity, and the second target resource quantity is the quantity of virtual resources required to increase the attribute value of the target attribute from the first attribute value to the target attribute value; 在所述目标帐号当前持有的所述虚拟资源的数量从所述第一资源数量增加到第三资源数量、且所述第三资源数量小于所述第二资源数量、所述第三资源数量大于或等于所述第二目标资源数量时,显示所述第三提示信息,并将所述目标控件显示为处于允许触控的状态。When the number of virtual resources currently held by the target account increases from the first resource number to the third resource number, and the third resource number is less than the second resource number, and the third resource number is greater than or equal to the second target resource number, the third prompt information is displayed, and the target control is displayed as being in a touch-allowed state. 6.根据权利要求3所述的方法,其特征在于,所述方法还包括:6. The method according to claim 3, characterized in that the method further comprises: 在所述当前属性值与所述目标属性值之间的差值大于或等于所述第一属性数量、且所述第一资源数量小于所述第二资源数量时,显示第二提示信息,并将所述目标控件显示为处于不允许触控的状态,其中,所述第二提示信息用于提示允许通过消耗所述第二资源数量的所述虚拟资源来增加所述目标属性的属性值;When the difference between the current attribute value and the target attribute value is greater than or equal to the first attribute quantity, and the first resource quantity is less than the second resource quantity, displaying a second prompt message, and displaying the target control as being in a touch-disallowed state, wherein the second prompt message is used to prompt that the attribute value of the target attribute is allowed to be increased by consuming the virtual resources of the second resource quantity; 在所述目标帐号当前持有的所述虚拟资源的数量从所述第一资源数量增加到第四资源数量、且所述第四资源数量大于所述第二资源数量时,显示所述第二提示信息,并将所述目标控件显示为处于允许触控的状态;When the number of the virtual resources currently held by the target account increases from the first resource number to a fourth resource number, and the fourth resource number is greater than the second resource number, displaying the second prompt information, and displaying the target control as being in a touch-allowed state; 在所述当前属性值与所述目标属性值之间的差值与所述第一属性数量的比值位于N与N+1之间、且所述第四资源数量与所述第二资源数量的比值位于N与N+1之间时,响应于对所述目标控件执行的N次连续触控操作,连续N次通过消耗所述第二资源数量的所述虚拟资源来将所述目标属性的属性值增加所述第一属性数量,其中,N为大于或等于2的正整数,在连续N次通过消耗所述第二资源数量的所述虚拟资源来将所述目标属性的属性值增加所述第一属性数量完成时,所述目标属性的属性值为第二属性值,所述目标帐号当前持有的所述虚拟资源的数量为第五资源数量;When the ratio of the difference between the current attribute value and the target attribute value to the first attribute quantity is between N and N+1, and the ratio of the fourth resource quantity to the second resource quantity is between N and N+1, in response to N consecutive touch operations performed on the target control, the attribute value of the target attribute is increased by the first attribute quantity by consuming the virtual resources of the second resource quantity N times in succession, wherein N is a positive integer greater than or equal to 2, and when the attribute value of the target attribute is increased by the first attribute quantity by consuming the virtual resources of the second resource quantity N times in succession, the attribute value of the target attribute is the second attribute value, and the quantity of the virtual resources currently held by the target account is the fifth resource quantity; 在所述第五资源数量小于所述第二资源数量、且所述第五资源数量大于或等于第三目标资源数量的情况下,在连续N次通过消耗所述第二资源数量的所述虚拟资源来将所述目标属性的属性值增加所述第一属性数量完成时,从显示所述第二提示信息切换成显示第四提示信息,并将所述目标控件显示为处于允许触控的状态,其中,所述第四提示信息用于提示允许通过消耗所述第三目标资源数量的所述虚拟资源来增加所述目标属性的属性值,所述第三目标资源数量是将所述目标属性的属性值从所述第二属性值增加到所述目标属性值所需消耗的虚拟资源的数量。In the case that the fifth resource quantity is less than the second resource quantity, and the fifth resource quantity is greater than or equal to the third target resource quantity, when the attribute value of the target attribute is increased by the first attribute quantity by consuming the virtual resources of the second resource quantity for N consecutive times, the display of the second prompt information is switched to the display of the fourth prompt information, and the target control is displayed as being in a touch-allowed state, wherein the fourth prompt information is used to prompt that it is allowed to increase the attribute value of the target attribute by consuming the virtual resources of the third target resource quantity, and the third target resource quantity is the quantity of virtual resources required to increase the attribute value of the target attribute from the second attribute value to the target attribute value. 7. 根据权利要求3所述的方法,其特征在于,所述方法还包括:7. The method according to claim 3, characterized in that the method further comprises: 在弹出所述目标窗口的情况下,将目标控件显示为处于不允许触控的状态,其中,所述目标控件用于消耗所述虚拟资源来增加所述目标属性的属性值;或者In the case where the target window pops up, displaying the target control as being in a touch-disabled state, wherein the target control is used to consume the virtual resource to increase the attribute value of the target attribute; or 在弹出所述目标窗口的情况下,将目标控件显示为处于不允许触控的状态,并在所述目标控件上显示第二提示信息,其中,所述目标控件用于消耗所述虚拟资源来增加所述目标属性的属性值,所述第二提示信息用于提示允许通过消耗所述第二资源数量的所述虚拟资源来增加所述目标属性的属性值。When the target window pops up, the target control is displayed as being in a state where touch is not allowed, and a second prompt message is displayed on the target control, wherein the target control is used to consume the virtual resources to increase the attribute value of the target attribute, and the second prompt message is used to prompt that the attribute value of the target attribute is allowed to be increased by consuming the second amount of virtual resources. 8. 根据权利要求1至7中任一项所述的方法,其特征在于,所述响应于获取到的目标触控操作,通过消耗所述第一目标资源数量的所述虚拟资源,将所述目标属性的属性值从所述当前属性值增加到所述目标属性值,包括:8. The method according to any one of claims 1 to 7, characterized in that, in response to the acquired target touch operation, increasing the attribute value of the target attribute from the current attribute value to the target attribute value by consuming the first target resource quantity of the virtual resources, comprises: 在所述第一属性数量和所述第二资源数量相同的情况下,响应于所述目标触控操作,通过消耗所述第一目标资源数量的所述虚拟资源,将所述目标属性的属性值从所述当前属性值增加所述差值至所述目标属性值,其中,所述差值和所述第一目标资源数量相同;或者In a case where the first attribute quantity and the second resource quantity are the same, in response to the target touch operation, increasing the attribute value of the target attribute from the current attribute value to the target attribute value by the difference value by consuming the virtual resources of the first target resource quantity, wherein the difference value is the same as the first target resource quantity; or 在所述第一属性数量和所述第二资源数量相同的情况下,响应于所述目标触控操作,通过消耗所述第一目标资源数量的所述虚拟资源,将所述目标属性的属性值从所述当前属性值增加所述差值至所述目标属性值,其中,所述差值和所述第一目标资源数量不同。When the first attribute quantity and the second resource quantity are the same, in response to the target touch operation, the attribute value of the target attribute is increased from the current attribute value to the target attribute value by consuming the virtual resources of the first target resource quantity, wherein the difference is different from the first target resource quantity. 9. 根据权利要求1至7中任一项所述的方法,其特征在于,所述响应于获取到的目标触控操作,通过消耗所述第一目标资源数量的所述虚拟资源,将所述目标属性的属性值从所述当前属性值增加到所述目标属性值,包括:9. The method according to any one of claims 1 to 7, characterized in that, in response to the acquired target touch operation, increasing the attribute value of the target attribute from the current attribute value to the target attribute value by consuming the first target resource quantity of the virtual resources, comprises: 在所述第一属性数量与所述第二资源数量的比值为M的情况下,响应于所述目标触控操作,通过消耗所述第一目标资源数量的所述虚拟资源,将所述目标属性的属性值从所述当前属性值增加所述差值至所述目标属性值,其中,M为大于或等于2的正整数,所述差值与所述第一目标资源数量的比值为M;或者In a case where the ratio of the first attribute quantity to the second resource quantity is M, in response to the target touch operation, the attribute value of the target attribute is increased from the current attribute value to the target attribute value by consuming the virtual resources of the first target resource quantity, wherein M is a positive integer greater than or equal to 2, and the ratio of the difference to the first target resource quantity is M; or 在所述第一属性数量与所述第二资源数量的比值为1/M的情况下,响应于所述目标触控操作,通过消耗所述第一目标资源数量的所述虚拟资源,将所述目标属性的属性值从所述当前属性值增加所述差值至所述目标属性值,其中,M为大于或等于2的正整数,所述差值与所述第一目标资源数量的比值为1/M。When the ratio of the first attribute quantity to the second resource quantity is 1/M, in response to the target touch operation, the attribute value of the target attribute is increased from the current attribute value to the target attribute value by consuming the virtual resources of the first target resource quantity, wherein M is a positive integer greater than or equal to 2, and the ratio of the difference to the first target resource quantity is 1/M. 10.根据权利要求1至7中任一项所述的方法,其特征在于,在将所述目标属性的属性值从所述当前属性值增加到所述目标属性值之后,所述方法还包括:10. The method according to any one of claims 1 to 7, characterized in that after increasing the attribute value of the target attribute from the current attribute value to the target attribute value, the method further comprises: 显示所述目标属性的当前更新属性值和目标更新属性值,其中,所述目标更新属性值大于所述目标属性值;displaying a current updated attribute value and a target updated attribute value of the target attribute, wherein the target updated attribute value is greater than the target attribute value; 在所述当前更新属性值与所述目标更新属性值之间的差值小于所述第一属性数量、所述目标帐号当前持有的所述虚拟资源的资源数量小于所述第二资源数量、且所述目标帐号当前持有的所述虚拟资源的资源数量大于或等于第四目标资源数量时,响应于获取到的目标触控操作,通过消耗所述第四目标资源数量的所述虚拟资源,将所述目标属性的属性值从所述当前更新属性值增加到所述目标更新属性值,其中,所述第四目标资源数量是将所述目标属性的属性值从所述当前更新属性值增加到所述目标更新属性值所需消耗的虚拟资源的数量;When the difference between the current update attribute value and the target update attribute value is less than the first attribute quantity, the resource quantity of the virtual resources currently held by the target account is less than the second resource quantity, and the resource quantity of the virtual resources currently held by the target account is greater than or equal to a fourth target resource quantity, in response to the acquired target touch operation, the attribute value of the target attribute is increased from the current update attribute value to the target update attribute value by consuming the virtual resources of the fourth target resource quantity, wherein the fourth target resource quantity is the quantity of virtual resources required to be consumed to increase the attribute value of the target attribute from the current update attribute value to the target update attribute value; 其中,第一差值为所述当前属性值与所述目标属性值之间的差值,第二差值为所述当前更新属性值与所述目标更新属性值之间的差值,第一比值为所述第一差值与所述第一目标资源数量的比值,第二比值为所述第二差值与所述第四目标资源数量的比值,所述第一比值与所述第二比值相同或不同。Among them, the first difference is the difference between the current attribute value and the target attribute value, the second difference is the difference between the current updated attribute value and the target updated attribute value, the first ratio is the ratio of the first difference to the first target resource quantity, the second ratio is the ratio of the second difference to the fourth target resource quantity, and the first ratio is the same or different from the second ratio. 11. 根据权利要求1所述的方法,其特征在于,所述增加所述目标帐号在所述一局游戏中允许控制的虚拟角色的数量,包括:11. The method according to claim 1, wherein increasing the number of virtual characters that the target account is allowed to control in the game comprises: 将所述目标帐号在所述一局游戏中允许控制的虚拟角色的数量增加预设的第一角色数量;或者increasing the number of virtual characters that the target account is allowed to control in the game by a preset first character number; or 将所述目标帐号在所述一局游戏中允许控制的虚拟角色的数量增加与所述目标属性值对应的第二角色数量。The number of virtual characters that the target account is allowed to control in the game is increased by a second number of characters corresponding to the target attribute value. 12.一种虚拟属性的更新装置,其特征在于,包括:12. A device for updating virtual attributes, comprising: 在一局游戏的游戏画面中显示目标帐号当前持有的虚拟资源的第一资源数量、所述目标帐号的目标属性的当前属性值以及目标属性值,其中,每次将所述目标属性的属性值增加第一属性数量时所消耗的所述虚拟资源的数量为第二资源数量;Displaying a first resource quantity of virtual resources currently held by a target account, a current attribute value of a target attribute of the target account, and a target attribute value on a game screen of a game, wherein the amount of the virtual resources consumed each time the attribute value of the target attribute is increased by the first attribute quantity is a second resource quantity; 在所述当前属性值与所述目标属性值之间的差值小于所述第一属性数量、所述第一资源数量小于所述第二资源数量、且所述第一资源数量大于或等于第一目标资源数量时,响应于获取到的目标触控操作,通过消耗所述第一目标资源数量的所述虚拟资源,将所述目标属性的属性值从所述当前属性值增加到所述目标属性值,其中,所述第一目标资源数量是将所述目标属性的属性值从所述当前属性值增加到所述目标属性值所需消耗的虚拟资源的数量;When the difference between the current attribute value and the target attribute value is less than the first attribute quantity, the first resource quantity is less than the second resource quantity, and the first resource quantity is greater than or equal to the first target resource quantity, in response to the acquired target touch operation, the attribute value of the target attribute is increased from the current attribute value to the target attribute value by consuming the virtual resources of the first target resource quantity, wherein the first target resource quantity is the quantity of virtual resources required to increase the attribute value of the target attribute from the current attribute value to the target attribute value; 所述装置还用于:在所述目标属性的属性值与所述目标帐号在所述一局游戏中允许控制的虚拟角色的数量对应的情况下,响应于所述目标触控操作,增加所述目标帐号在所述一局游戏中允许控制的虚拟角色的数量。The device is also used to: when the attribute value of the target attribute corresponds to the number of virtual characters that the target account is allowed to control in the game, in response to the target touch operation, increase the number of virtual characters that the target account is allowed to control in the game. 13.根据权利要求12所述的装置,其特征在于,所述装置还用于:13. The device according to claim 12, characterized in that the device is also used for: 在所述当前属性值与所述目标属性值之间的差值小于所述第一属性数量、所述第一资源数量小于所述第二资源数量、且所述第一资源数量大于或等于所述第一目标资源数量时,显示第一提示信息,其中,所述第一提示信息用于提示允许通过消耗所述第一目标资源数量的所述虚拟资源来增加所述目标属性的属性值;When the difference between the current attribute value and the target attribute value is less than the first attribute quantity, the first resource quantity is less than the second resource quantity, and the first resource quantity is greater than or equal to the first target resource quantity, displaying first prompt information, wherein the first prompt information is used to prompt that the attribute value of the target attribute is allowed to be increased by consuming the virtual resources of the first target resource quantity; 在所述当前属性值与所述目标属性值之间的差值大于或等于所述第一属性数量、或者、所述第一资源数量大于或等于所述第二资源数量、或者、所述第一资源数量小于所述第一目标资源数量时,显示第二提示信息,其中,所述第二提示信息用于提示允许通过消耗所述第二资源数量的所述虚拟资源来增加所述目标属性的属性值。When the difference between the current attribute value and the target attribute value is greater than or equal to the first attribute quantity, or the first resource quantity is greater than or equal to the second resource quantity, or the first resource quantity is less than the first target resource quantity, a second prompt message is displayed, wherein the second prompt message is used to prompt that the attribute value of the target attribute is allowed to be increased by consuming the virtual resources of the second resource quantity. 14. 根据权利要求12所述的装置,其特征在于,所述装置用于通过如下方式在所述当前属性值与所述目标属性值之间的差值小于所述第一属性数量、所述第一资源数量小于所述第二资源数量、且所述第一资源数量大于或等于第一目标资源数量时,响应于获取到的目标触控操作,通过消耗所述第一目标资源数量的所述虚拟资源,将所述目标属性的属性值从所述当前属性值增加到所述目标属性值:14. The device according to claim 12, characterized in that the device is configured to increase the attribute value of the target attribute from the current attribute value to the target attribute value by consuming the virtual resources of the first target resource quantity in response to the acquired target touch operation when the difference between the current attribute value and the target attribute value is less than the first attribute quantity, the first resource quantity is less than the second resource quantity, and the first resource quantity is greater than or equal to the first target resource quantity in the following manner: 在所述当前属性值与所述目标属性值之间的差值小于所述第一属性数量、所述第一资源数量小于所述第二资源数量、且所述第一资源数量大于或等于所述第一目标资源数量时,将目标控件显示为处于允许触控的状态,其中,所述目标控件用于消耗所述虚拟资源来增加所述目标属性的属性值;响应于对所述目标控件执行的所述目标触控操作,通过消耗所述第一目标资源数量的所述虚拟资源,将所述目标属性的属性值从所述当前属性值增加到所述目标属性值;或者When the difference between the current property value and the target property value is less than the first property quantity, the first resource quantity is less than the second resource quantity, and the first resource quantity is greater than or equal to the first target resource quantity, displaying the target control as being in a touch-allowed state, wherein the target control is used to consume the virtual resources to increase the property value of the target property; in response to the target touch operation performed on the target control, increasing the property value of the target property from the current property value to the target property value by consuming the virtual resources of the first target resource quantity; or 在所述当前属性值与所述目标属性值之间的差值小于所述第一属性数量、所述第一资源数量小于所述第二资源数量、且所述第一资源数量大于或等于所述第一目标资源数量时,弹出目标窗口,并在所述目标窗口中显示第一提示信息和目标确定按钮,其中,所述第一提示信息用于提示允许通过消耗所述第一目标资源数量的所述虚拟资源来增加所述目标属性的属性值;响应于对所述目标确定按钮执行的所述目标触控操作,通过消耗所述第一目标资源数量的所述虚拟资源,将所述目标属性的属性值从所述当前属性值增加到所述目标属性值。When the difference between the current attribute value and the target attribute value is less than the first attribute quantity, the first resource quantity is less than the second resource quantity, and the first resource quantity is greater than or equal to the first target resource quantity, a target window pops up, and a first prompt message and a target determination button are displayed in the target window, wherein the first prompt message is used to prompt that the attribute value of the target attribute is allowed to be increased by consuming the virtual resources of the first target resource quantity; in response to the target touch operation performed on the target determination button, the attribute value of the target attribute is increased from the current attribute value to the target attribute value by consuming the virtual resources of the first target resource quantity. 15.根据权利要求14所述的装置,其特征在于,所述装置还用于:15. The device according to claim 14, characterized in that the device is also used for: 在所述当前属性值与所述目标属性值之间的差值大于或等于所述第一属性数量、且所述第一资源数量小于所述第二资源数量时,显示第二提示信息,并将所述目标控件显示为处于不允许触控的状态,其中,所述第二提示信息用于提示允许通过消耗所述第二资源数量的所述虚拟资源来增加所述目标属性的属性值;When the difference between the current attribute value and the target attribute value is greater than or equal to the first attribute quantity, and the first resource quantity is less than the second resource quantity, displaying a second prompt message, and displaying the target control as being in a touch-disallowed state, wherein the second prompt message is used to prompt that the attribute value of the target attribute is allowed to be increased by consuming the virtual resources of the second resource quantity; 在所述目标属性的属性值从所述当前属性值增加到第一属性值、所述第一属性值与所述目标属性值之间的差值小于所述第一属性数量、所述第一资源数量小于所述第二资源数量、且所述第一资源数量大于或等于第二目标资源数量时,从显示所述第二提示信息切换成显示第三提示信息,并将所述目标控件显示为处于允许触控的状态,其中,所述第三提示信息用于提示允许通过消耗所述第二目标资源数量的所述虚拟资源来增加所述目标属性的属性值,所述第二目标资源数量是将所述目标属性的属性值从所述第一属性值增加到所述目标属性值所需消耗的虚拟资源的数量。When the attribute value of the target attribute increases from the current attribute value to the first attribute value, the difference between the first attribute value and the target attribute value is less than the first attribute quantity, the first resource quantity is less than the second resource quantity, and the first resource quantity is greater than or equal to the second target resource quantity, the display of the second prompt information is switched to the display of the third prompt information, and the target control is displayed as being in a touch-allowed state, wherein the third prompt information is used to prompt that the attribute value of the target attribute is allowed to be increased by consuming the virtual resources of the second target resource quantity, and the second target resource quantity is the quantity of virtual resources required to increase the attribute value of the target attribute from the first attribute value to the target attribute value. 16.根据权利要求14所述的装置,其特征在于,所述装置还用于:16. The device according to claim 14, characterized in that the device is also used for: 在所述当前属性值与所述目标属性值之间的差值大于或等于所述第一属性数量、且所述第一资源数量小于所述第二资源数量时,显示第二提示信息,并将所述目标控件显示为处于不允许触控的状态,其中,所述第二提示信息用于提示允许通过消耗所述第二资源数量的所述虚拟资源来增加所述目标属性的属性值;When the difference between the current attribute value and the target attribute value is greater than or equal to the first attribute quantity, and the first resource quantity is less than the second resource quantity, displaying a second prompt message, and displaying the target control as being in a touch-disallowed state, wherein the second prompt message is used to prompt that the attribute value of the target attribute is allowed to be increased by consuming the virtual resources of the second resource quantity; 在所述目标属性的属性值从所述当前属性值增加到第一属性值、所述第一属性值与所述目标属性值之间的差值小于所述第一属性数量、所述第一资源数量小于所述第二资源数量、且所述第一资源数量小于第二目标资源数量时,从显示所述第二提示信息切换成显示第三提示信息,并将所述目标控件显示为处于不允许触控的状态,其中,所述第三提示信息用于提示允许通过消耗所述第二目标资源数量的所述虚拟资源来增加所述目标属性的属性值,所述第二目标资源数量是将所述目标属性的属性值从所述第一属性值增加到所述目标属性值所需消耗的虚拟资源的数量;When the attribute value of the target attribute increases from the current attribute value to the first attribute value, the difference between the first attribute value and the target attribute value is less than the first attribute quantity, the first resource quantity is less than the second resource quantity, and the first resource quantity is less than the second target resource quantity, the display of the second prompt information is switched to the display of the third prompt information, and the target control is displayed as being in a state where touch is not allowed, wherein the third prompt information is used to prompt that the attribute value of the target attribute is allowed to be increased by consuming the virtual resources of the second target resource quantity, and the second target resource quantity is the quantity of virtual resources required to increase the attribute value of the target attribute from the first attribute value to the target attribute value; 在所述目标帐号当前持有的所述虚拟资源的数量从所述第一资源数量增加到第三资源数量、且所述第三资源数量小于所述第二资源数量、所述第三资源数量大于或等于所述第二目标资源数量时,显示所述第三提示信息,并将所述目标控件显示为处于允许触控的状态。When the number of virtual resources currently held by the target account increases from the first resource number to the third resource number, and the third resource number is less than the second resource number, and the third resource number is greater than or equal to the second target resource number, the third prompt information is displayed, and the target control is displayed as being in a touch-allowed state. 17.根据权利要求14所述的装置,其特征在于,所述装置还用于:17. The device according to claim 14, characterized in that the device is also used for: 在所述当前属性值与所述目标属性值之间的差值大于或等于所述第一属性数量、且所述第一资源数量小于所述第二资源数量时,显示第二提示信息,并将所述目标控件显示为处于不允许触控的状态,其中,所述第二提示信息用于提示允许通过消耗所述第二资源数量的所述虚拟资源来增加所述目标属性的属性值;When the difference between the current attribute value and the target attribute value is greater than or equal to the first attribute quantity, and the first resource quantity is less than the second resource quantity, displaying a second prompt message, and displaying the target control as being in a touch-disallowed state, wherein the second prompt message is used to prompt that the attribute value of the target attribute is allowed to be increased by consuming the virtual resources of the second resource quantity; 在所述目标帐号当前持有的所述虚拟资源的数量从所述第一资源数量增加到第四资源数量、且所述第四资源数量大于所述第二资源数量时,显示所述第二提示信息,并将所述目标控件显示为处于允许触控的状态;When the number of the virtual resources currently held by the target account increases from the first resource number to a fourth resource number, and the fourth resource number is greater than the second resource number, displaying the second prompt information, and displaying the target control as being in a touch-allowed state; 在所述当前属性值与所述目标属性值之间的差值与所述第一属性数量的比值位于N与N+1之间、且所述第四资源数量与所述第二资源数量的比值位于N与N+1之间时,响应于对所述目标控件执行的N次连续触控操作,连续N次通过消耗所述第二资源数量的所述虚拟资源来将所述目标属性的属性值增加所述第一属性数量,其中,N为大于或等于2的正整数,在连续N次通过消耗所述第二资源数量的所述虚拟资源来将所述目标属性的属性值增加所述第一属性数量完成时,所述目标属性的属性值为第二属性值,所述目标帐号当前持有的所述虚拟资源的数量为第五资源数量;When the ratio of the difference between the current attribute value and the target attribute value to the first attribute quantity is between N and N+1, and the ratio of the fourth resource quantity to the second resource quantity is between N and N+1, in response to N consecutive touch operations performed on the target control, the attribute value of the target attribute is increased by the first attribute quantity by consuming the virtual resources of the second resource quantity N times in succession, wherein N is a positive integer greater than or equal to 2, and when the attribute value of the target attribute is increased by the first attribute quantity by consuming the virtual resources of the second resource quantity N times in succession, the attribute value of the target attribute is the second attribute value, and the quantity of the virtual resources currently held by the target account is the fifth resource quantity; 在所述第五资源数量小于所述第二资源数量、且所述第五资源数量大于或等于第三目标资源数量的情况下,在连续N次通过消耗所述第二资源数量的所述虚拟资源来将所述目标属性的属性值增加所述第一属性数量完成时,从显示所述第二提示信息切换成显示第四提示信息,并将所述目标控件显示为处于允许触控的状态,其中,所述第四提示信息用于提示允许通过消耗所述第三目标资源数量的所述虚拟资源来增加所述目标属性的属性值,所述第三目标资源数量是将所述目标属性的属性值从所述第二属性值增加到所述目标属性值所需消耗的虚拟资源的数量。In the case that the fifth resource quantity is less than the second resource quantity, and the fifth resource quantity is greater than or equal to the third target resource quantity, when the attribute value of the target attribute is increased by the first attribute quantity by consuming the virtual resources of the second resource quantity for N consecutive times, the display of the second prompt information is switched to the display of the fourth prompt information, and the target control is displayed as being in a touch-allowed state, wherein the fourth prompt information is used to prompt that it is allowed to increase the attribute value of the target attribute by consuming the virtual resources of the third target resource quantity, and the third target resource quantity is the quantity of virtual resources required to increase the attribute value of the target attribute from the second attribute value to the target attribute value. 18. 根据权利要求14所述的装置,其特征在于,所述装置还用于:18. The device according to claim 14, characterized in that the device is also used for: 在弹出所述目标窗口的情况下,将目标控件显示为处于不允许触控的状态,其中,所述目标控件用于消耗所述虚拟资源来增加所述目标属性的属性值;或者In the case where the target window pops up, displaying the target control as being in a touch-disabled state, wherein the target control is used to consume the virtual resource to increase the attribute value of the target attribute; or 在弹出所述目标窗口的情况下,将目标控件显示为处于不允许触控的状态,并在所述目标控件上显示第二提示信息,其中,所述目标控件用于消耗所述虚拟资源来增加所述目标属性的属性值,所述第二提示信息用于提示允许通过消耗所述第二资源数量的所述虚拟资源来增加所述目标属性的属性值。When the target window pops up, the target control is displayed as being in a state where touch is not allowed, and a second prompt message is displayed on the target control, wherein the target control is used to consume the virtual resources to increase the attribute value of the target attribute, and the second prompt message is used to prompt that the attribute value of the target attribute is allowed to be increased by consuming the second amount of virtual resources. 19. 根据权利要求12至18中任一项所述的装置,其特征在于,所述装置用于通过如下方式响应于获取到的目标触控操作,通过消耗所述第一目标资源数量的所述虚拟资源,将所述目标属性的属性值从所述当前属性值增加到所述目标属性值:19. The device according to any one of claims 12 to 18, characterized in that the device is used to respond to the acquired target touch operation in the following manner, by consuming the first target resource quantity of the virtual resources, to increase the attribute value of the target attribute from the current attribute value to the target attribute value: 在所述第一属性数量和所述第二资源数量相同的情况下,响应于所述目标触控操作,通过消耗所述第一目标资源数量的所述虚拟资源,将所述目标属性的属性值从所述当前属性值增加所述差值至所述目标属性值,其中,所述差值和所述第一目标资源数量相同;或者In a case where the first attribute quantity and the second resource quantity are the same, in response to the target touch operation, increasing the attribute value of the target attribute from the current attribute value to the target attribute value by the difference value by consuming the virtual resources of the first target resource quantity, wherein the difference value is the same as the first target resource quantity; or 在所述第一属性数量和所述第二资源数量相同的情况下,响应于所述目标触控操作,通过消耗所述第一目标资源数量的所述虚拟资源,将所述目标属性的属性值从所述当前属性值增加所述差值至所述目标属性值,其中,所述差值和所述第一目标资源数量不同。When the first attribute quantity and the second resource quantity are the same, in response to the target touch operation, the attribute value of the target attribute is increased from the current attribute value to the target attribute value by consuming the virtual resources of the first target resource quantity, wherein the difference is different from the first target resource quantity. 20. 根据权利要求12至18中任一项所述的装置,其特征在于,所述装置用于通过如下方式响应于获取到的目标触控操作,通过消耗所述第一目标资源数量的所述虚拟资源,将所述目标属性的属性值从所述当前属性值增加到所述目标属性值:20. The device according to any one of claims 12 to 18, characterized in that the device is used to respond to the acquired target touch operation in the following manner, by consuming the first target resource quantity of the virtual resources, to increase the attribute value of the target attribute from the current attribute value to the target attribute value: 在所述第一属性数量与所述第二资源数量的比值为M的情况下,响应于所述目标触控操作,通过消耗所述第一目标资源数量的所述虚拟资源,将所述目标属性的属性值从所述当前属性值增加所述差值至所述目标属性值,其中,M为大于或等于2的正整数,所述差值与所述第一目标资源数量的比值为M;或者In a case where the ratio of the first attribute quantity to the second resource quantity is M, in response to the target touch operation, the attribute value of the target attribute is increased from the current attribute value to the target attribute value by consuming the virtual resources of the first target resource quantity, wherein M is a positive integer greater than or equal to 2, and the ratio of the difference to the first target resource quantity is M; or 在所述第一属性数量与所述第二资源数量的比值为1/M的情况下,响应于所述目标触控操作,通过消耗所述第一目标资源数量的所述虚拟资源,将所述目标属性的属性值从所述当前属性值增加所述差值至所述目标属性值,其中,M为大于或等于2的正整数,所述差值与所述第一目标资源数量的比值为1/M。When the ratio of the first attribute quantity to the second resource quantity is 1/M, in response to the target touch operation, the attribute value of the target attribute is increased from the current attribute value to the target attribute value by consuming the virtual resources of the first target resource quantity, wherein M is a positive integer greater than or equal to 2, and the ratio of the difference to the first target resource quantity is 1/M. 21.根据权利要求12至18中任一项所述的装置,其特征在于,所述装置还用于:21. The device according to any one of claims 12 to 18, characterized in that the device is also used for: 在将所述目标属性的属性值从所述当前属性值增加到所述目标属性值之后,显示所述目标属性的当前更新属性值和目标更新属性值,其中,所述目标更新属性值大于所述目标属性值;After increasing the attribute value of the target attribute from the current attribute value to the target attribute value, displaying the current updated attribute value and the target updated attribute value of the target attribute, wherein the target updated attribute value is greater than the target attribute value; 在所述当前更新属性值与所述目标更新属性值之间的差值小于所述第一属性数量、所述目标帐号当前持有的所述虚拟资源的资源数量小于所述第二资源数量、且所述目标帐号当前持有的所述虚拟资源的资源数量大于或等于第四目标资源数量时,响应于获取到的目标触控操作,通过消耗所述第四目标资源数量的所述虚拟资源,将所述目标属性的属性值从所述当前更新属性值增加到所述目标更新属性值,其中,所述第四目标资源数量是将所述目标属性的属性值从所述当前更新属性值增加到所述目标更新属性值所需消耗的虚拟资源的数量;When the difference between the current update attribute value and the target update attribute value is less than the first attribute quantity, the resource quantity of the virtual resources currently held by the target account is less than the second resource quantity, and the resource quantity of the virtual resources currently held by the target account is greater than or equal to a fourth target resource quantity, in response to the acquired target touch operation, the attribute value of the target attribute is increased from the current update attribute value to the target update attribute value by consuming the virtual resources of the fourth target resource quantity, wherein the fourth target resource quantity is the quantity of virtual resources required to be consumed to increase the attribute value of the target attribute from the current update attribute value to the target update attribute value; 其中,第一差值为所述当前属性值与所述目标属性值之间的差值,第二差值为所述当前更新属性值与所述目标更新属性值之间的差值,第一比值为所述第一差值与所述第一目标资源数量的比值,第二比值为所述第二差值与所述第四目标资源数量的比值,所述第一比值与所述第二比值相同或不同。Among them, the first difference is the difference between the current attribute value and the target attribute value, the second difference is the difference between the current updated attribute value and the target updated attribute value, the first ratio is the ratio of the first difference to the first target resource quantity, the second ratio is the ratio of the second difference to the fourth target resource quantity, and the first ratio is the same or different from the second ratio. 22. 根据权利要求12所述的装置,其特征在于,所述装置用于通过如下方式增加所述目标帐号在所述一局游戏中允许控制的虚拟角色的数量:22. The device according to claim 12, characterized in that the device is used to increase the number of virtual characters that the target account is allowed to control in the game by: 将所述目标帐号在所述一局游戏中允许控制的虚拟角色的数量增加预设的第一角色数量;或者increasing the number of virtual characters that the target account is allowed to control in the game by a preset first character number; or 将所述目标帐号在所述一局游戏中允许控制的虚拟角色的数量增加与所述目标属性值对应的第二角色数量。The number of virtual characters that the target account is allowed to control in the game is increased by a second number of characters corresponding to the target attribute value. 23.一种计算机可读的存储介质,其特征在于,所述计算机可读的存储介质包括存储的程序,其中,所述程序可被终端设备或计算机运行时执行所述权利要求1至11任一项中所述的方法。23. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a stored program, wherein the program can be executed by a terminal device or a computer to execute the method described in any one of claims 1 to 11. 24.一种计算机程序产品,包括计算机程序/指令,其特征在于,该计算机程序/指令被处理器执行时实现权利要求1至11任一项中所述方法的步骤。24. A computer program product, comprising a computer program/instruction, characterized in that when the computer program/instruction is executed by a processor, the steps of the method described in any one of claims 1 to 11 are implemented. 25.一种电子设备,包括存储器和处理器,其特征在于,所述存储器中存储有计算机程序,所述处理器被设置为通过所述计算机程序执行所述权利要求1至11任一项中所述的方法。25. An electronic device comprising a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to execute the method described in any one of claims 1 to 11 through the computer program.
CN202210109261.1A 2022-01-28 2022-01-28 Virtual attribute updating method and device, storage medium and electronic device Active CN114425165B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210109261.1A CN114425165B (en) 2022-01-28 2022-01-28 Virtual attribute updating method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210109261.1A CN114425165B (en) 2022-01-28 2022-01-28 Virtual attribute updating method and device, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN114425165A CN114425165A (en) 2022-05-03
CN114425165B true CN114425165B (en) 2025-02-14

Family

ID=81312566

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210109261.1A Active CN114425165B (en) 2022-01-28 2022-01-28 Virtual attribute updating method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN114425165B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113521739A (en) * 2021-08-13 2021-10-22 网易(杭州)网络有限公司 Object attribute adjusting method and device, computer equipment and storage medium

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140155156A1 (en) * 2012-09-15 2014-06-05 Qonqr, Llc System and method for location-based gaming with real world locations and population centers
CN103259817B (en) * 2012-02-17 2018-04-10 华为技术有限公司 Method for releasing resource and device
WO2013187472A1 (en) * 2012-06-15 2013-12-19 株式会社コナミデジタルエンタテインメント Game system and method for controlling award assignment thereof
CN104468758B (en) * 2014-11-27 2018-01-26 中国联合网络通信集团有限公司 Method and device for realizing data transmission service quality assurance
US11995451B2 (en) * 2018-03-27 2024-05-28 Huawei Technologies Co., Ltd. Resource permission processing method and apparatus, storage medium, and chip
CN109731343A (en) * 2019-01-11 2019-05-10 广州要玩娱乐网络技术股份有限公司 Arm of the services unit manufactures method, apparatus, storage medium and the terminal of ammunition automatically
CN111221508B (en) * 2019-11-14 2024-04-23 腾讯科技(深圳)有限公司 Service path design method, design device, electronic equipment and storage medium
CN111522799B (en) * 2020-07-01 2020-10-20 浙江口碑网络技术有限公司 User data upgrade method and device, electronic device, and storage medium
CN112156470A (en) * 2020-10-21 2021-01-01 腾讯科技(深圳)有限公司 Resource processing method and device based on virtual scene and computer equipment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113521739A (en) * 2021-08-13 2021-10-22 网易(杭州)网络有限公司 Object attribute adjusting method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN114425165A (en) 2022-05-03

Similar Documents

Publication Publication Date Title
JP7064145B2 (en) Computer programs and computer equipment
JP6854843B2 (en) Game system and game program
JP2022082269A (en) Game programs, game devices, game systems
CN114344913B (en) Game data processing method, device, equipment and readable storage medium
JP6296495B2 (en) Information processing apparatus, program, information processing system
CN114425165B (en) Virtual attribute updating method and device, storage medium and electronic device
JP6599661B2 (en) Program, game device, and server system
JP2020000393A (en) Computer program and computer device
IL275933B2 (en) System and method for playing online game
JP2021142208A (en) Game program, game device and game system
JP2021094151A (en) Game program, game processing method, information processing device
WO2024060914A1 (en) Virtual object generation method and apparatus, device, medium, and program product
JP2020130462A (en) Computer program and computer device
JP2020054584A (en) Computer program and computer device
JP6888067B2 (en) Computer programs and computer equipment
JP2022010424A (en) Game program, game device, and game system
JP2022022356A (en) Computer program, and computer device
JP6946588B1 (en) Game server, game program, information processing method
JP7085048B1 (en) Game server, game program, information processing method
HK40070819A (en) Method and apparatus for updating virtual attribute, storage medium, and electronic device
CN114797099B (en) Method, device, storage medium and electronic device for generating game activities
KR101285743B1 (en) Method and server for controlling game simulation
JP2020054781A (en) Computer program and computer device
JP2020054780A (en) Computer program and computer device
JP2020089463A (en) Computer program and server device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40070819

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant