Virtual object damage processing method, device, equipment, medium and program product

By displaying the damage and multiple healing props of virtual objects in the damage treatment interface of virtual scenes, and automatically screening out appropriate treatment plans, the problem of users spending a lot of learning costs to determine the healing props is solved, and the treatment efficiency of damage is improved .

CN114159790BActive Publication Date: 2025-02-14TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111626999.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2021-06-30
Filing Date
2021-12-28
Publication Date
2025-02-14
Estimated Expiration
2041-12-28

AI Technical Summary

Technical Problem

In virtual scenes, users need to spend a lot of learning costs to learn which damage each healing prop can treat, resulting in low treatment efficiency of the damage.

Method used

Provide a damage treatment method for virtual objects, presenting the damage treatment interface, displaying the damage of virtual objects and a variety of healing props, and automatically filtering out the healing props that can treat the damage according to the user's choice or automatically filtering out the healing props. Healing damage.

Benefits of technology

By automatically screening out suitable healing props or damages, users can quickly determine the healing props for healing damages, thereby improving the efficiency of damage treatment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114159790B_ABST
    Figure CN114159790B_ABST
Patent Text Reader

Abstract

The present application provides a method, apparatus, device, computer-readable storage medium and computer program product for processing damage to a virtual object; the method comprises: presenting a damage treatment interface of a virtual scene, displaying at least one damage caused by the interaction of a virtual object in the virtual scene in a damage display area of ​​the damage treatment interface, and displaying a plurality of treatment props for treating the damage to the virtual object in the damage treatment area; when a damage selection instruction is received, screening treatment props that can treat the selected damage from a plurality of treatment props, and highlighting the screened treatment props; or, when a prop selection instruction is received, screening damage that can be treated by the selected treatment props from the damage of the virtual object, and highlighting the screened damage; based on the screened treatment props or damage, when a treatment instruction for a target treatment prop for a target damage is received, controlling the use of the target treatment prop to treat the target damage.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Priority statement

[0002] This application claims priority to application number 202110739394.2, filing date June 30, 2021, and title: Virtual object injury management method, device, equipment and storage medium. Technical Field

[0003] The present application relates to human-computer interaction technology, and in particular to a method, device, equipment, computer-readable storage medium, and computer program product for handling damage to a virtual object. Background Art

[0004] In virtual scene applications, when a user is injured while controlling a virtual object in a virtual scene to perform interactive operations, the user can use the healing items they own to treat the injury. Since different treatments can treat different injuries, when the virtual object suffers many types of injuries and there are not many healing items, the relevant technology requires the user to spend a lot of learning costs to learn what kind of injury each healing item can treat, and to select the appropriate healing item to treat the injury, resulting in low efficiency in treating the injury. Summary of the invention

[0005] The embodiments of the present application provide a virtual object injury treatment method, device, equipment, computer-readable storage medium and computer program product, which can improve the treatment efficiency of injuries.

[0006] The technical solution of the embodiment of the present application is implemented as follows:

[0007] The present application embodiment provides a method for handling damage to a virtual object, including:

[0008] Presenting an injury treatment interface of a virtual scene, wherein the injury treatment interface includes an injury display area and an injury treatment area;

[0009] In the injury display area, at least one injury caused by the interaction of the virtual object in the virtual scene is displayed, and in the injury treatment area, a plurality of treatment props for treating the injury of the virtual object are displayed;

[0010] When receiving the damage selection instruction, selecting a treatment item that can treat the selected damage from the plurality of treatment items, and highlighting the selected treatment item; or,

[0011] When receiving a prop selection instruction, screening the injuries of the virtual object that can be treated by the selected healing prop, and highlighting the screened injuries;

[0012] According to the screened treatment items or injuries, when a treatment instruction for a target treatment item for a target injury is received, control is performed to treat the target injury using the target treatment item.

[0013] In the above scheme, the method further comprises:

[0014] In the injury treatment interface, the overall attribute value of the virtual object is presented, and the overall attribute value is used to indicate the health status of the virtual object.

[0015] The embodiment of the present application provides a virtual object damage treatment device, comprising:

[0016] A first presentation module, used to present an injury treatment interface of a virtual scene, wherein the injury treatment interface includes an injury display area and an injury treatment area;

[0017] A second presentation module is used to display at least one injury caused by the interaction of the virtual object in the virtual scene in the injury display area, and to display a plurality of treatment props for treating the injury of the virtual object in the injury treatment area;

[0018] a target determination module, for, when receiving a damage selection instruction, screening a treatment item that can treat the selected damage from the plurality of treatment items, and highlighting the screened treatment item; or,

[0019] When receiving a prop selection instruction, screening the injuries of the virtual object that can be treated by the selected healing prop, and highlighting the screened injuries;

[0020] The treatment control module is used to control the use of the target treatment props to treat the target injury based on the screened treatment props or injuries, when receiving a treatment instruction for the target treatment prop for the target injury.

[0021] In the above solution, the damage selection instruction is used to select the damage of the target type, and the device further includes:

[0022] An instruction receiving module, configured to display, in the damage display area, a damage icon corresponding to the damage of the virtual object, wherein the damage icon is in a one-to-one correspondence with the type of damage;

[0023] In response to a trigger operation on a target damage icon, a damage selection instruction for selecting damage of a target type corresponding to the target damage icon is received.

[0024] In the above solution, the injury treatment interface also includes an information description area, and the device also includes:

[0025] An explanation display module, for displaying, in response to the damage selection instruction, a damage explanation corresponding to the selected target type of damage in the information description area;

[0026] The damage description is used to describe the property changes of the virtual object caused by the damage of the target type.

[0027] In the above solution, the device further comprises:

[0028] A highlighting module, configured to display a body part diagram including various body parts of the virtual object in the injury display area;

[0029] In response to the injury selection instruction, based on the body part map, the part of the virtual object corresponding to the target type of injury is highlighted.

[0030] In the above solution, the device further comprises:

[0031] The quantity display module is used to present the corresponding number of injury parts in the associated area of ​​each injury icon, and the number of injury parts is the number of parts of the virtual object that have the type of injury corresponding to the injury icon.

[0032] In the above scheme, the target determination module is also used to display the screened therapeutic props in a target style, so that the screened therapeutic props can be distinguished from other therapeutic props in the multiple therapeutic props.

[0033] In the above scheme, the target determination module is also used to obtain the number of therapeutic props screened;

[0034] According to the number of props, determining a target display position corresponding to the number of props, wherein the target display position is located before the display positions of the other treatment props;

[0035] At the target display position, the screened therapeutic props are displayed in a target style.

[0036] In the above scheme, when the types of damage selected by the damage selection instruction are at least two, the target determination module is further used to obtain the damage priority corresponding to each type of damage;

[0037] According to the damage priority, the healing items corresponding to the types of damage among the screened healing items are sorted;

[0038] According to the sorting, the selected therapeutic items are displayed in a target style.

[0039] In the above scheme, the injury selection instruction is used to select the injury corresponding to the injured part of the virtual object, and the instruction receiving module is further used to display a body part diagram including various parts of the body of the virtual object in the injury display area;

[0040] Based on the body part map, in response to a selection operation on a target part of the virtual object, when the target part is an injured part, an injury selection instruction for selecting an injury to the target part is received.

[0041] In the above scheme, the device also includes:

[0042] The attribute display module is used to display the attribute values ​​corresponding to each part of the virtual object based on the body part map, and when the part is an injured part, the injury mark of the corresponding injury is displayed in the associated area of ​​the attribute value.

[0043] In the above scheme, the injury treatment interface further includes an information description area, and the description display module is further used to respond to the injury selection instruction and display the part description corresponding to the selected target part in the information description area;

[0044] The part description is used to explain the property change of the virtual object caused by the damage to the target part.

[0045] In the above solution, the second presentation module is further used to present at least two type icons corresponding to the types and an overview icon corresponding to all the treatment props in the injury treatment area when there are at least two types of the treatment props;

[0046] When a trigger operation for a target type icon is received, multiple treatment items of the type corresponding to the target type icon are displayed;

[0047] When a trigger operation is received for the overview icon, all treatment props for the virtual object used for damage treatment are displayed.

[0048] In the above scheme, the damage treatment interface also includes an information description area, and the description display module is further used to respond to the item selection instruction and display the item description corresponding to the selected treatment item in the information description area;

[0049] The item description is used to describe the attribute information of the selected treatment item.

[0050] In the above scheme, the device also includes:

[0051] An injury display module, used for displaying a body part diagram including various body parts of the virtual object and the injuries suffered by various body parts in the injury display area;

[0052] The target determination module is also used to display the parts corresponding to the screened injuries in a target style based on the body part map, so that the parts corresponding to the screened injuries are distinguished from the parts corresponding to other injuries.

[0053] In the above scheme, when a damage selection instruction is received, the selected damage is used as the target damage. After the selected treatment items are highlighted, the instruction receiving module is further used to respond to a trigger operation on a target treatment item among the selected treatment items, and receive a treatment instruction for the target damage from the target treatment item;

[0054] Alternatively, when an item selection instruction is received, the selected treatment item is used as the target treatment item. After the screened damage is highlighted, the instruction receiving module is further used to respond to a trigger operation on the target damage among the screened damages, and receive a treatment instruction for the target damage from the target treatment item.

[0055] In the above scheme, the attribute display module is also used to present the overall attribute value of the virtual object in the injury treatment interface, and the overall attribute value is used to indicate the health status of the virtual object.

[0056] In the above scheme, the device also includes:

[0057] A body part display module, used for displaying a body part diagram including various body parts of the virtual object in the injury display area;

[0058] The treatment control module is further used to present a prop model corresponding to the target treatment prop;

[0059] The prop model is controlled to act on the part of the body part map corresponding to the target damage to repair the attribute value reduced due to the target damage.

[0060] In the above solution, the target determination module is further used to determine the repair capacity corresponding to each of the treatment props when there are multiple treatment props that can treat the selected injury;

[0061] The plurality of treatment items are sorted according to the repair capabilities, and the plurality of treatment items screened are highlighted according to the sorting results.

[0062] An embodiment of the present application provides an electronic device, including:

[0063] A memory for storing executable instructions;

[0064] The processor is used to implement the damage processing method for the virtual object provided in the embodiment of the present application when executing the executable instructions stored in the memory.

[0065] An embodiment of the present application provides a computer-readable storage medium storing executable instructions for causing a processor to execute instructions to implement a virtual object damage processing method provided by an embodiment of the present application.

[0066] An embodiment of the present application provides a computer program product, including a computer program or instructions, characterized in that when the computer program or instructions are executed by a processor, the virtual object damage processing method provided by the embodiment of the present application is implemented.

[0067] The embodiments of the present application have the following beneficial effects:

[0068] By displaying at least one injury caused by the interaction of virtual objects in a virtual scene in the injury display area of ​​the injury treatment interface, and displaying a variety of treatment props for treating the injury of the virtual object in the injury treatment area; when a damage selection instruction is received, the treatment props that can treat the selected injury are screened from a variety of treatment props, and the screened treatment props are highlighted; or, when a prop selection instruction is received, the injury that can be treated by the selected treatment prop is screened from the injury of the virtual object, and the screened injury is highlighted; according to the screened treatment props or injuries, when a treatment instruction for the target injury by the target treatment prop is received, the use of the target treatment prop to treat the target injury is controlled; in this way, the treatment props that can treat the injury are automatically screened out according to the selected injury, and the injury that can be treated by the treatment prop is automatically screened out according to the selected treatment prop, so that the user can quickly determine the treatment prop for treating the injury, thereby improving the injury treatment efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0069] Figure 1 A schematic diagram of the architecture of a virtual object damage management system 100 provided in an embodiment of the present application;

[0070] Figure 2 A schematic diagram of the structure of an electronic device 500 provided in an embodiment of the present application;

[0071] Figure 3 A schematic diagram of a flow chart of a method for handling damage to a virtual object provided in an embodiment of the present application;

[0072] Figure 4 A schematic diagram of an injury treatment interface of a virtual scene provided in an embodiment of the present application;

[0073] Figure 5A schematic diagram of a flow chart of a method for handling damage to a virtual object provided in an embodiment of the present application;

[0074] Figure 6 A schematic diagram of a display interface provided in an embodiment of the present application;

[0075] Figure 7 A schematic diagram of a flow chart of a method for handling damage to a virtual object provided in an embodiment of the present application;

[0076] Figure 8 A schematic diagram of a display interface provided in an embodiment of the present application;

[0077] Fig. 9 A schematic diagram of a flow chart of a method for handling damage to a virtual object provided in an embodiment of the present application;

[0078] Fig.10 A schematic diagram of a display interface provided in an embodiment of the present application. DETAILED DESCRIPTION

[0079] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.

[0080] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it can be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0081] In the following description, the terms "first\second\third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.

[0082] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0083] Before further describing the embodiments of the present application in detail, the nouns and terms involved in the embodiments of the present application are explained. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations.

[0084] 1) Client: an application running in the terminal to provide various services, such as a video player client, a game client, etc.

[0085] 2) In response, it is used to indicate the conditions or states on which the executed operations depend. When the dependent conditions or states are met, one or more operations executed may be in real time or have a set delay. Unless otherwise specified, there is no restriction on the order of execution of the multiple operations executed.

[0086] 3) A virtual scene is a virtual scene displayed (or provided) when an application is running on a terminal. The virtual scene can be a simulation of the real world, a semi-simulation and semi-fictional virtual environment, or a purely fictional virtual environment. The virtual scene can be any of a two-dimensional virtual scene, a 2.5-dimensional virtual scene, or a three-dimensional virtual scene. The embodiment of the present application does not limit the dimension of the virtual scene.

[0087] For example, when the virtual scene is a three-dimensional virtual space, the three-dimensional virtual space can be an open space, and the virtual scene can be used to simulate the real environment in reality, for example, the virtual scene can include the sky, land, ocean, etc. Of course, the virtual scene can also include virtual items, such as buildings, vehicles, virtual props such as weapons used by virtual objects in the virtual scene to arm themselves or fight with other virtual objects, food used to replenish the energy required by virtual objects or medicines for treating injuries suffered by virtual objects, etc. The virtual scene can also be used to simulate the real environment under different weather conditions, such as sunny days, rainy days, foggy days or night weather. Users can control virtual objects to move in the virtual scene.

[0088] 4) Virtual objects, images of various people and objects that can interact in a virtual scene, or movable objects in a virtual scene. The movable objects can be virtual characters, virtual animals, cartoon characters, etc., such as people, animals, plants, oil drums, walls, stones, etc. displayed in a virtual scene. The virtual object can be a virtual image in the virtual scene that represents the user. A virtual scene can include multiple virtual objects, each of which has its own shape and volume in the virtual scene and occupies a part of the space in the virtual scene.

[0089] Optionally, the virtual object may be a user character controlled by an operation on the client, or an artificial intelligence (AI) set in a virtual scene battle through training, or a non-player character (NPC) set in a virtual scene interaction. Optionally, the virtual object may be a virtual person performing adversarial interaction in the virtual scene. Optionally, the number of virtual objects participating in the interaction in the virtual scene may be preset, or may be dynamically determined according to the number of clients joining the interaction.

[0090] 5) Damage: During the interaction of virtual scenes, virtual objects are subjected to negative states due to interactive operations. For example, other objects release magic with negative effects on virtual objects, which reduces the attribute values ​​of virtual objects (such as health points, magic points, etc.), affects the health status of virtual objects, and thus reduces the interactive ability of virtual objects.

[0091] In order to improve the interactive ability of virtual objects, damage treatment can be performed on virtual objects, such as using a healing item that can heal the damage suffered by the virtual objects to heal the damage, so as to repair the attribute value of the virtual objects reduced due to the damage.

[0092] 6) Scene data, which indicates the various characteristics of objects in the virtual scene during the interaction process, for example, it may include the position of the object in the virtual scene. Of course, different types of characteristics may be included according to the type of virtual scene; for example, in a virtual scene of a game, scene data may include the waiting time required for various functions configured in the virtual scene (depending on the number of times the same function can be used within a specific time), and may also indicate the attribute values ​​of various states of the game character, such as health value (energy value, also called red volume) and magic value (also called blue volume).

[0093] See also Figure 1 , Figure 1 The schematic diagram of the architecture of the damage handling system 100 for virtual objects provided in the embodiment of the present application is to support an exemplary application. Terminals (exemplarily, terminal 400-1 and terminal 400-2) are connected to the server 200 via a network 300. The network 300 can be a wide area network or a local area network, or a combination of the two, and wireless or wired links are used to realize data transmission.

[0094] The terminal can be various types of user terminals such as smart phones, tablet computers, laptops, etc., and can also be desktop computers, game consoles, televisions, or a combination of any two or more of these data processing devices; the server 200 can be a separately configured server that supports various services, or it can be configured as a server cluster, or it can be a cloud server, etc.

[0095] In actual applications, the terminal is installed and runs an application that supports virtual scenes. The application can be any one of a first-person shooter (FPS) game, a third-person shooter game, a multiplayer online tactical competitive game (MOBA), a two-dimensional (2D) game application, a three-dimensional (3D) game application, a virtual reality application, a three-dimensional map program, or a multiplayer gunfight survival game. The application can also be a stand-alone application, such as a stand-alone 3D game program.

[0096] Taking the electronic game scene as an exemplary scene, the user (also known as the player) can perform operations on the terminal in advance. After the terminal detects the user's operation, it can download the game configuration file of the electronic game. The game configuration file can include the application program, interface display data or virtual scene data of the electronic game, so that when the user logs in to the electronic game on the terminal, the game configuration file can be called to render and display the electronic game interface. The user can perform touch operations on the terminal. After the terminal detects the touch operation, it can send a request to obtain the game data corresponding to the touch operation to the server. The server determines the game data corresponding to the touch operation based on the acquisition request and returns it to the terminal. The terminal renders and displays the game data. The game data may include virtual scene data, behavior data of virtual objects in the virtual scene, etc.

[0097] In actual application, the terminal presents a damage treatment interface of a virtual scene, wherein the damage treatment interface includes a damage display area and a damage treatment area; in the damage display area, at least one damage caused by the interaction of virtual objects in the virtual scene is displayed, and in the damage treatment area, a variety of treatment props for treating the damage to the virtual object are displayed; when a damage selection instruction is received, treatment props that can treat the selected damage are screened from a variety of treatment props, and the screened treatment props are highlighted; or, when a prop selection instruction is received, the damage that can be treated by the selected treatment props is screened from the damage of the virtual object, and the screened damage is highlighted; based on the screened treatment props or damage, when a treatment instruction for the target treatment prop for the target damage is received, the target treatment prop is controlled to be used to treat the target damage.

[0098] See also Figure 2 , Figure 2 The electronic device 500 is a schematic diagram of the structure of the electronic device 500 provided in the embodiment of the present application. In practical applications, the electronic device 500 may be Figure 1The terminal 400-1, the terminal 400-2 or the server 200 in the embodiment of the present invention is an electronic device. Figure 1 Taking the terminal 400 - 1 or the terminal 400 - 2 shown as an example, an electronic device for implementing the virtual object damage handling method of the embodiment of the present application is described. Figure 2 The electronic device 500 shown includes: at least one processor 510, a memory 550, at least one network interface 520 and a user interface 530. The various components in the electronic device 500 are coupled together via a bus system 540. It is understood that the bus system 540 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 540 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 540 is not described in detail. Figure 2 Various buses are labeled as bus system 540 .

[0099] The processor 510 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., where the general-purpose processor can be a microprocessor or any conventional processor, etc.

[0100] The user interface 530 includes one or more output devices 531 that enable presentation of media content, including one or more speakers and / or one or more visual display screens. The user interface 530 also includes one or more input devices 532, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.

[0101] The memory 550 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard disk drives, optical disk drives, etc. The memory 550 may optionally include one or more storage devices that are physically remote from the processor 510.

[0102] The memory 550 includes a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memories. The non-volatile memory may be a read-only memory (ROM), and the volatile memory may be a random access memory (RAM). The memory 550 described in the embodiments of the present application is intended to include any suitable type of memory.

[0103] In some embodiments, the memory 550 can store data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as exemplarily described below.

[0104] Operating system 551, including system programs for processing various basic system services and performing hardware-related tasks, such as framework layer, core library layer, driver layer, etc., for implementing various basic services and processing hardware-based tasks;

[0105] A network communication module 552, for reaching other computing devices via one or more (wired or wireless) network interfaces 520, exemplary network interfaces 520 include: Bluetooth, Wireless Compatibility Certification (WiFi), and Universal Serial Bus (USB);

[0106] a presentation module 553 for enabling presentation of information via one or more output devices 531 (e.g., display screen, speaker, etc.) associated with the user interface 530 (e.g., a user interface for operating peripherals and displaying content and information);

[0107] The input processing module 554 is used to detect one or more user inputs or interactions from one of the one or more input devices 532 and translate the detected inputs or interactions.

[0108] In some embodiments, the virtual object damage processing device provided in the embodiments of the present application can be implemented in a software manner. Figure 2 An injury treatment device 555 for a virtual object stored in a memory 550 is shown, which may be software in the form of a program and a plug-in, etc., and includes the following software modules: a first presentation module 5551, a second presentation module 5552, a target determination module 5553 and a treatment control module 5554. These modules are logical, and therefore may be arbitrarily combined or further split according to the functions implemented. The functions of each module will be described below.

[0109] Next, the damage handling method for a virtual object provided in the embodiment of the present application is described. In actual implementation, the method can be implemented by a server or a terminal alone, or by a server and a terminal in collaboration. Figure 3 , Figure 3 A flowchart of a method for handling damage to a virtual object provided in an embodiment of the present application, taking a terminal alone as an example, combined with Figure 3 The steps shown are explained.

[0110] Step 101: The terminal presents an injury treatment interface of a virtual scene, wherein the injury treatment interface includes an injury display area and an injury treatment area.

[0111] Here, a client supporting virtual scenes is installed on the terminal. When the user opens the client on the terminal and the terminal runs the client, the terminal presents an interface of a virtual scene observed from the perspective of the virtual object corresponding to the current login account. In the virtual scene, the user can control the virtual object to interact with other objects based on the interface of the virtual scene. The virtual object may be damaged due to the interactive operation during the interaction, such as damage caused by attacking other virtual objects or damage caused by being attacked by other virtual objects, etc. The user can view the health status of the virtual object and the corresponding treatment methods based on the damage treatment interface of the virtual scene.

[0112] Step 102: In the injury display area, at least one injury caused by the interaction of the virtual object in the virtual scene is displayed, and in the injury treatment area, a variety of treatment props for treating the injury of the virtual object are displayed.

[0113] In actual application, the user can view the damage suffered by the virtual object through the damage display area in the damage treatment interface of the virtual scene, or view the treatment props needed to treat the damage in the damage treatment area. In addition, the overall attribute value of the virtual object can also be presented in the damage treatment interface, where the overall attribute value is used to indicate the health status of the virtual object.

[0114] There are many types of injuries suffered by virtual objects, such as blood loss, pain, fractures, etc. There are also many types of treatment props, and different treatment props are required to treat different types of injuries.

[0115] See also Figure 4 , Figure 4 A schematic diagram of an injury treatment interface for a virtual scene provided in an embodiment of the present application, wherein the injury treatment interface includes an injury display area 1 and an injury treatment area 7, wherein the injury display area 1 summarizes and displays the injuries of the virtual object; and the injury treatment area 7 summarizes and displays multiple treatment props that can treat the injuries of the virtual object.

[0116] In some embodiments, the terminal may display a variety of treatment props for treating the damage to the virtual object in the following manner, including: when there are at least two types of treatment props, in the damage treatment area, presenting at least two type icons corresponding to the types one by one, and an overview icon of the corresponding treatment props; when a trigger operation for a target type icon is received, displaying a variety of treatment props of the type corresponding to the target type icon; when a trigger operation for the overview icon is received, displaying all treatment props for the virtual object used for injury treatment.

[0117] For example, Figure 4In the example, the types of treatment items in the injury treatment area 7 include medicine and food, and the type icons corresponding to the types of treatment items are presented at the corresponding positions of the injury treatment area 7 (such as the type bar at the top of the area): medicine, food, and an overview icon: all. When the user triggers the "medicine" type icon, the terminal will display a variety of treatment items of the medicine type; when the user triggers the "food" type icon, the terminal will display a variety of treatment items of the food type; when the user triggers the "all" type icon, the terminal will display all treatment items including a variety of treatment items of the medicine type and a variety of treatment items of the food type.

[0118] In some embodiments, the injury treatment interface also includes an information description area. The terminal can respond to the item selection instruction to display the item description corresponding to the selected treatment item in the information description area, wherein the item description is used to describe the attribute information of the selected treatment item, and the attribute information includes at least one of the following: usage information, specification information, and performance information (advantages and disadvantages).

[0119] For example, Figure 4 In the information description area, the area indicated by number 6 is the information description area, in which the item description corresponding to the selected treatment item is displayed. For example, when the user selects the treatment item "926 Advanced Medical Package", the terminal responds to the item selection instruction and displays the attribute information such as the purpose, specification or performance of the treatment item "926 Advanced Medical Package" in the information description area 6. For details, see Figure 6 .

[0120] Step 103: When a damage selection instruction is received, a treatment item that can treat the selected damage is screened from a plurality of treatment items, and the screened treatment items are highlighted; or, when an item selection instruction is received, damage that can be treated by the selected treatment item is screened from the damage of the virtual object, and the screened damage is highlighted.

[0121] Among them, the damage selection instruction is used to select the target damage required for treatment, and the prop selection instruction is used to select the required target treatment prop.

[0122] In some embodiments, when the damage selection instruction is used to select a target type of damage, the terminal may also receive the damage selection instruction in the following manner: in the damage display area, a damage icon corresponding to the damage of the virtual object is displayed, and the damage icon and the type of damage are in a one-to-one correspondence; in response to a trigger operation on the target damage icon, a damage selection instruction for selecting the target type of damage corresponding to the target damage icon is received.

[0123] For example, Figure 4In the embodiment, the damage display area 1 summarizes and displays the damage icons corresponding to the damage of the virtual object, wherein different damage icons correspond to different damages, and each damage icon is an interactive control. The user can perform interactive operations on the corresponding damage by triggering the damage icon. When the user triggers the target damage icon, the terminal responds to the trigger operation, receives a damage selection instruction for selecting the damage of the target type corresponding to the target damage icon, and responds to the damage selection instruction to screen the treatment props that can treat the selected damage from a variety of treatment props, and highlights the screened treatment props.

[0124] In some embodiments, when a damage selection instruction is used to select a target type of damage, the damage treatment interface also includes an information description area, and the terminal may respond to the damage selection instruction to display a damage description corresponding to the selected target type of damage in the information description area; wherein the damage description is used to explain the attribute changes of the virtual object caused by the target type of damage.

[0125] For example, Figure 4 When the damage selection instruction is used to select a target type of damage, the damage description corresponding to the selected target type of damage can also be displayed in the information description area 6. For example, when the user selects "fracture" as the type of damage, the change in the life value of the virtual object caused by the "fracture" type of damage will be displayed in the information description area.

[0126] In some embodiments, when an injury selection instruction is used to select a target type of injury, a body part map including various parts of the virtual object's body is displayed in the injury display area; in response to the injury selection instruction, the part of the virtual object corresponding to the target type of injury is highlighted based on the body part map.

[0127] The body part map may be a two-dimensional map or a three-dimensional map, and is used to display various parts of the virtual object, such as the head, chest, stomach, right arm, left arm, left leg, right leg, etc. The purpose of highlighting the part of the injury corresponding to the target type is to give the user a striking reminder, and to distinguish it from other parts except the part of the injury corresponding to the target type, such as highlighting the part of the injury corresponding to the target type, gray-scale displaying other parts except the part of the injury corresponding to the target type, or, in the associated area of ​​the part of the injury corresponding to the target type, presenting indication information for indicating that the part has the target type of injury, so as to highlight the part.

[0128] When the terminal receives an injury selection instruction for selecting a target type of injury, the part corresponding to the selected target type of injury can be highlighted. For example, when the terminal receives an injury selection instruction for the target type of injury "fracture", if the fractured parts are the right arm and the left leg, the right arm and the left leg will be highlighted in the body part map, while other parts without fractures will be displayed in grayscale.

[0129] In some embodiments, when the injury selection instruction is used to select a target type of injury, the terminal may also present the corresponding number of injury parts in the associated area of ​​each injury icon, where the number of injury parts is the number of parts of the virtual object that have the type of injury corresponding to the injury icon.

[0130] Here, when the damage selection instruction is used to select a target type of damage, such as when the damage selection instruction is used to select a target type of damage of "fracture", the corresponding number of injury parts is presented in the associated area of ​​the damage icon of the target type of "fracture". For example, if the virtual object has a fracture in the right arm and left leg, the number of injury parts is 2, and is presented in the corresponding associated area.

[0131] In some embodiments, when an injury selection instruction is used to select the injury corresponding to an injured part of a virtual object, the terminal may receive the injury selection instruction in the following manner: in an injury display area, a body part map including various parts of the virtual object's body is displayed; based on the body part map, in response to a selection operation on a target part of the virtual object, when the target part is an injured part, an injury selection instruction for selecting the injury of the target part is received.

[0132] Here, when the user selects a target part in the body part map, the terminal performs an injury detection on the target part to determine whether the target part has an injury. When the target part has an injury, the terminal can receive an injury selection instruction for the injury of the target part. For example, when the user selects the head in the body part map, the terminal performs an injury detection on the head. When the detection result indicates that the head has an injury of "pain", the terminal can receive an injury selection instruction for selecting the injury of "pain" of the head.

[0133] In some embodiments, the terminal may also display the attribute values ​​corresponding to various parts of the virtual object based on the body part map, and when the part is an injured part, an injury mark of the corresponding injury is displayed in the associated area of ​​the attribute value.

[0134] Here, the attribute values ​​corresponding to each part in the body part map, such as blood volume, life value, etc., when the part is an injured part, an injury mark indicating the magnitude of the injury is displayed in the associated area of ​​the attribute value. For example, the attribute information of the chest in the body part map is 1 / 80, where 80 is the blood volume under normal circumstances, and 1 is the blood volume under the current injury condition.

[0135] In some embodiments, when an injury selection instruction is used to select the injury corresponding to the injured part of the virtual object, the injury treatment interface also includes an information description area, and the terminal can also respond to the injury selection instruction to display a part description corresponding to the selected target part in the information description area; wherein the part description is used to explain the changes in the attributes of the virtual object caused by the injury to the target part.

[0136] For example, when the damage selection instruction is used to select the damage corresponding to the injured part of the virtual object, such as when the head is damaged, Figure 4 The information description area 6 shown shows the change in the virtual object's blood volume value caused by head damage.

[0137] In some embodiments, the terminal may highlight the filtered therapeutic props in the following manner: display the filtered therapeutic props in a target style so that the filtered therapeutic props are distinguished from other therapeutic props among the multiple therapeutic props.

[0138] Here, the target style is used to highlight the filtered therapeutic props to distinguish them from other therapeutic props except the filtered therapeutic props, such as highlighting the filtered therapeutic props and graying out other therapeutic props except the filtered therapeutic props.

[0139] In some embodiments, the terminal can display the screened therapeutic props in a target style in the following manner: obtain the number of the screened therapeutic props; determine a target display position corresponding to the number of props based on the number of props, wherein the target display position is before the display positions of other therapeutic props; at the target display position, display the screened therapeutic props in a target style.

[0140] For example, for the target type of damage "fracture", the therapeutic props that can treat the damage are screened out as therapeutic props 1, therapeutic props 2 and therapeutic props 3 respectively. Then the three therapeutic props 1, therapeutic props 2 and therapeutic props 3 are displayed at the top, while other therapeutic props that cannot treat the target type of damage "fracture" are displayed at a lag.

[0141] In some embodiments, when the types of damage selected by the damage selection instruction are at least two, the terminal can display the screened treatment items in a target style in the following manner: obtain the damage priority corresponding to each type of damage; sort the treatment items corresponding to each type of damage in the screened treatment items according to the damage priority; and display the screened treatment items in a target style according to the sorting.

[0142] Here, the damage priority can be set in advance, and the screened treatment items are sorted and displayed according to the damage priority. For example, the screened treatment items are sorted in a pattern in which the damage priority is high and the corresponding treatment items that can treat the corresponding type of damage are in front. According to the sorting, the target display style is used for display.

[0143] In actual applications, the priority of damage can also be determined based on the damage size, where the damage size is the size of the change in the attribute value caused by the corresponding type of damage acting on the virtual object, that is, when there are multiple types of damage corresponding to the target part and multiple corresponding treatment items, the damage size of each type of damage can be obtained respectively, and the treatment items corresponding to each type of damage in the screened treatment items are sorted according to the damage size; according to the sorting, the screened treatment items are highlighted. In other words, when the player selects the target part, the terminal automatically displays the treatment items that can treat this target part at the top, and arranges the recommended order of the corresponding treatment items according to all the damages to this target part, that is, the treatment item that can treat the most serious damage to the target part is placed at the top, and the treatment item that can treat the next level of severity is placed next, and so on.

[0144] In some embodiments, the terminal can highlight the screened treatment props in the following manner: when there are multiple treatment props that can treat the selected injury, determine the repair ability corresponding to each treatment prop; sort the multiple treatment props according to the repair ability, and highlight the screened multiple treatment props according to the sorting result; wherein the repair ability refers to the size of the attribute value of the virtual object reduced by the injury that can be repaired, which is used to characterize the treatment effect of the treatment prop on the selected injury.

[0145] In actual application, assuming that the damage selected by the user is the target damage, if there are multiple treatment props that can treat the target damage, the multiple treatment props are sorted according to the size of each treatment prop's repair ability for the target damage, and the treatment props are displayed in sequence according to the sorting, such as displaying the treatment props in a style where the one with the larger repair ability is in front.

[0146] For example, for the target injury of "fracture", the selected healing items that can treat the target injury are healing item 1, healing item 2, and healing item 3. Assuming that the repair ability of these three healing items for the target injury of "fracture" is: the repair ability of healing item 3> the repair ability of healing item 1> the repair ability of healing item 2, then the healing items are sorted in descending order of repair ability as follows: healing item 3, healing item 1, and healing item 2, so each healing item is highlighted according to this order. In this way, users can quickly select a healing item with a stronger repair ability to treat the target injury, which is conducive to improving the efficiency of injury treatment.

[0147] In some embodiments, the terminal may also display a body part map including various parts of the virtual object's body and the injuries suffered by each part in the injury display area; accordingly, the terminal may highlight the screened injuries in the following manner: based on the body part map, the parts corresponding to the screened injuries are displayed in a target style, so that the parts corresponding to the screened injuries are distinguished from the parts corresponding to other injuries.

[0148] For example, in the body part map, the injuries to the head, right leg and left leg are all "pain", and the injuries to the right arm and left arm are "fracture". When the selected target injury is "fracture", the head, right leg and left leg corresponding to the "fracture" injury are highlighted, and the right arm and left arm corresponding to the non-fracture injury are displayed in grayscale.

[0149] Step 104: Based on the screened treatment items or injuries, when a treatment instruction for a target treatment item for a target injury is received, control the use of the target treatment item to treat the target injury.

[0150] Here, treatment can be performed based on the treatment items or injuries obtained through screening.

[0151] In some embodiments, before controlling the use of the target treatment item to treat the target injury, the terminal may receive a treatment instruction for the target treatment item for the target injury in the following manner: when receiving a damage selection instruction, the terminal uses the selected injury as the target injury, and after highlighting the screened treatment items, responds to a trigger operation on the target treatment item among the screened treatment items, and receives a treatment instruction for the target injury using the target treatment item; or, when receiving an item selection instruction, the terminal uses the selected treatment item as the target treatment item, and after highlighting the screened injury, responds to a trigger operation on the target injury among the screened injuries, and receives a treatment instruction for the target injury using the target treatment item.

[0152] Here, when the terminal receives the damage selection instruction and determines the target damage, it automatically screens and obtains the treatment props that can treat the target damage. The user can select the target treatment prop from the screened treatment props and control the selected target treatment prop to treat the target damage. When the terminal receives the prop selection instruction and determines the target treatment prop, it automatically screens and obtains the damage that the target treatment prop can treat. When the user selects the target damage from the screened damage, the target treatment prop can be controlled to treat the target damage.

[0153] In some embodiments, the terminal may also display a body part diagram containing various parts of the virtual object's body in the injury display area; accordingly, the terminal may control the use of target treatment props to treat the target injury in the following manner: presenting a prop model corresponding to the target treatment prop; controlling the prop model to act on the part of the body part diagram corresponding to the target injury to repair the attribute value reduced due to the target injury.

[0154] Here, when conducting treatment, the prop model corresponding to the target treatment prop can be displayed, and the picture of the prop model acting on the part of the body part diagram corresponding to the target injury can be shown. For example, if the target injury is "fracture" and the corresponding injured part is the right arm, and the target treatment prop is a fracture ring and a splint, then the animation of fixing the right arm with a splint and wrapping the splint with a fracture ring will be displayed to treat the fracture injury.

[0155] Below, an exemplary application of the embodiment of the present application in an actual application scenario will be described. Taking a virtual scene as an example of a game, when a player is injured and loses health during the game, he will suffer some damage (debuff) that affects his own state. For example, if the leg is injured, the movement will slow down, the virtual object will make a sound to disturb the player when in pain, and the player will keep losing health when hungry. Therefore, in addition to designing props to restore blood volume, the game designer also designs a variety of healing props such as medicines for healing injuries for players to treat the injuries. When there are multiple (greater than or equal to 3) injuries to the virtual object, the relevant technology often designs a variety of healing props for treating multiple injuries according to permutations and combinations, but the game often lacks the function of quickly screening and using healing props, resulting in a wide variety of healing props in the later stage. Players need more learning costs to learn which kind of injuries each healing prop can treat, resulting in low efficiency of healing props in treating injuries; in addition, in order to reduce the learning cost of players, many game designers design healing props that can treat all injuries, but this method makes other healing props homogenized and abandoned by players, and the entire game's healing-combat system collapses.

[0156] To this end, an embodiment of the present application provides a method for handling damage to a virtual object, which can improve the efficiency of treating damage.

[0157] Still see Figure 4,like Figure 4 As shown in the figure, the injury treatment interface shows the health status of the virtual object and the corresponding treatment methods in detail. The injury treatment interface includes multiple areas. Figure 4 Describe each area.

[0158] Area 1: is the damage summary display area (i.e. the above-mentioned damage display area), which is used to display the damage icons corresponding to the damage suffered by the virtual object, where different damage icons correspond to different damages, and each damage icon can be clicked for interaction. For example, the user can perform interactive operations for the corresponding damage by triggering the damage icon; if there are multiple parts of the virtual object with the same damage, the corresponding number of damaged parts will be presented in the associated area of ​​the damage icon corresponding to the damage (as shown in the subscript below).

[0159] Area 2: Used to display food value and drinking water value. If at least one of the food value or drinking water value drops to 0, continuous damage will occur, and this area is a clickable interactive area.

[0160] Area 3: used to display the overall attribute value (or total health value) of the virtual object, where the overall attribute value is used to indicate the health status of the virtual object, which is the sum of the attribute values ​​of each part of the virtual object.

[0161] Area 4: Used to display the attribute value (or health value) of the part, marking the health of this part and the damage of this part. This area is a clickable interactive area.

[0162] Area 5: used to display a body part diagram, which shows the head, chest, stomach, right arm, left arm, left leg, right leg and other parts.

[0163] Area 6: This is the information description area mentioned above, which is used to display the description of the part, damage or treatment item selected by the player. For example, when a target part is selected, the part description corresponding to the selected target part is displayed. When a target type of damage is selected, the damage description corresponding to the selected target type of damage is displayed.

[0164] Area 7: Inventory, also known as the damage treatment area mentioned above, displays all the treatment items owned by the player. This area is a clickable interactive area.

[0165] In this way, the embodiment of the present application provides a system that allows players to quickly treat their own injuries and quickly screen treatment items with different treatment effects on their bodies, namely, the health tab (the above-mentioned injury treatment interface). The health tab summarizes the current health status of all parts of the player, all injuries suffered by the player, and all treatment items, food and drinking water carried by the player, which helps players to quickly understand their own health status and the "comprehensive treatment ability" of their own injuries, that is, the number of treatment items that can be treated and the treatment effect of each treatment item.

[0166] Next, the damage processing method for the virtual object provided by the embodiment of the present invention is explained from the perspectives of the player selecting a treatment item, selecting a body part, and selecting damage.

[0167] See also Figure 5 , Figure 5 A schematic flow chart of a method for handling damage to a virtual object provided in an embodiment of the present application, the method comprising:

[0168] Step 201: The terminal receives an item selection instruction for a target treatment item.

[0169] For example, Figure 4 The area 7 shown shows a variety of healing props owned by the virtual object controlled by the player. When the player selects a target healing prop from the multiple healing props, the terminal receives a corresponding prop selection instruction in response to the player's selection operation.

[0170] Step 202: Determine whether there is target damage that can be treated by a target treatment item.

[0171] Here, since different healing items may be able to treat different injuries, when the terminal receives an item selection instruction, it determines whether the virtual object has been injured during the game. When the virtual object has been injured, it further determines whether there is target injury that can be treated by the selected target healing item in the injury of the virtual object. When there is target injury that can be treated by the target healing item, execute step 203; otherwise, execute step 201.

[0172] Step 203: highlighting the screened target injury or the part corresponding to the target injury.

[0173] Here, the target damage is highlighted to distinguish it from damage that cannot be treated by other target treatment items, and the part corresponding to the target damage is highlighted to distinguish it from other parts corresponding to non-target damage.

[0174] See also Figure 6 , Figure 6A schematic diagram of the display interface provided for an embodiment of the present application. When the player selects the target treatment item "926 Advanced Medical Kit", the terminal responds to the item selection instruction and displays the attribute information such as the purpose, specifications or performance of the treatment item "926 Advanced Medical Kit" in area 6 (information description area), and highlights all parts corresponding to the target injuries that can be treated by the selected target treatment item in the body part diagram of the virtual object.

[0175] Step 204: In response to a treatment instruction for target damage, control the use of target treatment items to treat the target damage.

[0176] Here, when the player clicks to select the highlighted target damage, or when the player selects the target part from the parts corresponding to the highlighted target damage, the target damage can be treated using the target treatment item.

[0177] Through the above method, players can select the treatment item and quickly confirm their own injuries based on the highlighted parts to treat the injuries, thereby improving the treatment efficiency.

[0178] See also Figure 7 , Figure 7 A schematic flow chart of a method for handling damage to a virtual object provided in an embodiment of the present application, the method comprising:

[0179] Step 301: The terminal receives a damage selection instruction for target damage.

[0180] For example, Figure 4 Area 1 shown displays damage icons corresponding to the damage suffered by the virtual object. When the player selects a target damage icon therefrom, the terminal responds to a trigger operation on the target damage icon and receives a damage selection instruction for selecting the target damage corresponding to the target damage icon.

[0181] Step 302: In response to the damage selection instruction, determine whether there is a target treatment item that can treat the target damage.

[0182] Here, when the terminal receives a damage selection instruction, it determines whether the virtual object has a treatment item that can treat the selected target type of damage. When it is determined that there is a target treatment item that can treat the target type of damage, step 303 is executed; otherwise, step 301 is executed.

[0183] Step 303: The screened target treatment items are highlighted at the top.

[0184] See also Figure 8 , Figure 8A schematic diagram of the display interface provided for an embodiment of the present application. When the player selects the target damage icon (stomach shape) corresponding to the target damage "hunger", the terminal highlights and displays the automatically selected treatment items that can treat the target damage in area 7, such as milk, honey, sweet bean sauce and other foods in the figure, to distinguish them from other treatment items that cannot treat the target damage.

[0185] Step 304: In response to a treatment instruction for target damage, control the use of target treatment items to treat the target damage.

[0186] Here, when the player selects a target healing item, he or she can control the use of the target healing item to heal the target damage.

[0187] Through the above method, players can be quickly provided with the optimal solution of healing items that can heal target damage, avoiding the high learning and cognitive costs caused by players having too many healing items, improving treatment efficiency, and at the same time, the specific effect of the target damage will be displayed in the upper right corner for players to refer to and learn, so as to quickly improve their understanding of health.

[0188] See also Fig. 9 , Fig. 9 A schematic flow chart of a method for handling damage to a virtual object provided in an embodiment of the present application, the method comprising:

[0189] Step 401: The terminal receives a damage selection instruction for a target part.

[0190] For example, when the player clicks Select Figure 4 When the target part in the body part diagram is selected, the terminal receives a damage selection instruction for the corresponding target part in response to the trigger operation for the target part.

[0191] Step 402: Determine whether the target part is damaged.

[0192] Here, when there is damage to the target part, step 403 is executed; otherwise, step 401 is executed.

[0193] Step 403: Determine whether there is a healing item that can heal the damage.

[0194] Here, when there are multiple types of damage corresponding to the target part, it can be determined whether there are virtual props that can treat the corresponding types of damage. When it is determined that there are treatment props that can treat the damage, step 404 is executed; otherwise, step 401 is executed.

[0195] Step 404: The filtered treatment items are highlighted at the top.

[0196] Here, when there are multiple types of damage corresponding to the target part and multiple corresponding treatment items, the damage size of each type of damage can be obtained respectively, and the treatment items corresponding to each type of damage in the screened treatment items can be sorted according to the damage size; according to the sorting, the screened treatment items are highlighted.

[0197] That is to say, when the player selects a target part, the terminal automatically displays the healing items that can treat this target part at the top, and arranges the recommended order of the corresponding healing items according to all the damage this target part has, that is, the healing item that can treat the most serious damage to the target part is placed at the top, and the healing item that can treat the next level of severity is placed next, and so on.

[0198] See also Fig.10 , Fig.10 A schematic diagram of the display interface provided in an embodiment of the present application. When a player selects an injured part, the part has two types of injuries, namely, severe injury and pain. Since the severity of severe injury is greater than pain, all treatment items that can treat severe injury are placed on top and highlighted, such as orthopedic bags and surgical bags; and all treatment items that can treat pain are displayed in sequence at the back, such as painkillers, oral solutions, antibiotics, etc.

[0199] Step 405: In response to a treatment instruction for target damage, control the use of target treatment items to treat the target damage.

[0200] Here, when the player selects a target healing item from the screened healing items, he or she can control the use of the target healing item to heal the corresponding target damage.

[0201] Through the above manner, the damage handling method for virtual objects provided in the embodiment of the present application can be based on the interactive function provided by the health tab. When the player clicks on the part or damage icon in the body part map of the virtual object, the terminal can automatically screen out the most suitable treatment props according to the part or damage selected by the player, thereby avoiding the problem of low decision-making efficiency when the player faces complex health conditions, complex injury conditions, and too many redundant treatment props, improving the utilization rate of different treatment props and the treatment efficiency for injuries, greatly improving the usability of the health tab; and avoiding the risk of game designers designing treatment props that can treat all injuries in order to lower the threshold, which indirectly leads to the risk of "invalidation" of other treatment props.

[0202] The following is a description of an exemplary structure of a virtual object damage processing device 555 provided in an embodiment of the present application implemented as a software module. In some embodiments, Figure 2 As shown, the software modules stored in the virtual object damage processing device 555 of the memory 540 may include:

[0203] A first presentation module 5551 is used to present an injury treatment interface of a virtual scene, wherein the injury treatment interface includes an injury display area and an injury treatment area;

[0204] A second presentation module 5552 is used to display at least one injury caused by the interaction of the virtual object in the virtual scene in the injury display area, and to display a plurality of treatment props for treating the injury of the virtual object in the injury treatment area;

[0205] The target determination module 5553 is used to select a treatment item that can treat the selected injury from the plurality of treatment items when receiving the injury selection instruction, and highlight the selected treatment item; or

[0206] When receiving a prop selection instruction, screening the injuries of the virtual object that can be treated by the selected healing prop, and highlighting the screened injuries;

[0207] The treatment control module 5554 is used to control the use of the target treatment props to treat the target injury based on the screened treatment props or injuries, when receiving a treatment instruction for the target treatment prop for the target injury.

[0208] In some embodiments, the damage selection instruction is used to select a target type of damage, and the device further includes:

[0209] An instruction receiving module, configured to display, in the damage display area, a damage icon corresponding to the damage of the virtual object, wherein the damage icon is in a one-to-one correspondence with the type of damage;

[0210] In response to a trigger operation on a target damage icon, a damage selection instruction for selecting damage of a target type corresponding to the target damage icon is received.

[0211] In some embodiments, the injury treatment interface further includes an information description area, and the device further includes:

[0212] An explanation display module, for displaying, in response to the damage selection instruction, a damage explanation corresponding to the selected target type of damage in the information description area;

[0213] The damage description is used to describe the property changes of the virtual object caused by the damage of the target type.

[0214] In some embodiments, the apparatus further comprises:

[0215] A highlighting module, configured to display a body part diagram including various body parts of the virtual object in the injury display area;

[0216] In response to the injury selection instruction, based on the body part map, the part of the virtual object corresponding to the target type of injury is highlighted.

[0217] In some embodiments, the apparatus further comprises:

[0218] The quantity display module is used to present the corresponding number of injury parts in the associated area of ​​each injury icon, and the number of injury parts is the number of parts of the virtual object that have the type of injury corresponding to the injury icon.

[0219] In some embodiments, the target determination module is further used to display the screened therapeutic props in a target style, so that the screened therapeutic props can be distinguished from other therapeutic props in the multiple therapeutic props.

[0220] In some embodiments, the target determination module is further used to obtain the number of therapeutic props screened;

[0221] According to the number of props, determining a target display position corresponding to the number of props, wherein the target display position is located before the display positions of the other treatment props;

[0222] At the target display position, the screened therapeutic props are displayed in a target style.

[0223] In some embodiments, when the damage selection instruction selects at least two types of damage, the target determination module is further used to obtain the damage priority corresponding to each type of damage;

[0224] According to the damage priority, the healing items corresponding to the types of damage among the screened healing items are sorted;

[0225] According to the sorting, the selected therapeutic items are displayed in a target style.

[0226] In some embodiments, the injury selection instruction is used to select the injury corresponding to the injured part of the virtual object, and the instruction receiving module is further used to display a body part diagram including various parts of the body of the virtual object in the injury display area;

[0227] Based on the body part map, in response to a selection operation on a target part of the virtual object, when the target part is an injured part, an injury selection instruction for selecting an injury to the target part is received.

[0228] In some embodiments, the apparatus further comprises:

[0229] The attribute display module is used to display the attribute values ​​corresponding to each part of the virtual object based on the body part map, and when the part is an injured part, the injury mark of the corresponding injury is displayed in the associated area of ​​the attribute value.

[0230] In some embodiments, the injury treatment interface further includes an information description area, and the description display module is further used to display the part description corresponding to the selected target part in the information description area in response to the injury selection instruction;

[0231] The part description is used to explain the property change of the virtual object caused by the damage to the target part.

[0232] In some embodiments, the second presentation module is further configured to present, in the injury treatment area, at least two type icons corresponding to the types one by one, and an overview icon corresponding to all the treatment props when there are at least two types of the treatment props;

[0233] When a trigger operation for a target type icon is received, multiple treatment items of the type corresponding to the target type icon are displayed;

[0234] When a trigger operation is received for the overview icon, all treatment props for the virtual object used for damage treatment are displayed.

[0235] In some embodiments, the injury treatment interface further includes an information description area, and the description display module is further used to respond to the item selection instruction and display the item description corresponding to the selected treatment item in the information description area;

[0236] The item description is used to describe the attribute information of the selected treatment item.

[0237] In some embodiments, the apparatus further comprises:

[0238] An injury display module, used for displaying a body part diagram including various body parts of the virtual object and the injuries suffered by various body parts in the injury display area;

[0239] The target determination module is also used to display the parts corresponding to the screened injuries in a target style based on the body part map, so that the parts corresponding to the screened injuries are distinguished from the parts corresponding to other injuries.

[0240] In some embodiments, when a damage selection instruction is received, the selected damage is used as the target damage. After the screened therapeutic props are highlighted, the instruction receiving module is further used to respond to a trigger operation on the target therapeutic prop among the screened therapeutic props and receive a treatment instruction for the target damage using the target therapeutic prop;

[0241] Alternatively, when an item selection instruction is received, the selected treatment item is used as the target treatment item. After the screened damage is highlighted, the instruction receiving module is further used to respond to a trigger operation on the target damage among the screened damages, and receive a treatment instruction for the target damage from the target treatment item.

[0242] In the above scheme, the attribute display module is also used to present the overall attribute value of the virtual object in the injury treatment interface, and the overall attribute value is used to indicate the health status of the virtual object.

[0243] In some embodiments, the apparatus further comprises:

[0244] A body part display module, used for displaying a body part diagram including various body parts of the virtual object in the injury display area;

[0245] The treatment control module is further used to present a prop model corresponding to the target treatment prop;

[0246] The prop model is controlled to act on the part of the body part map corresponding to the target damage to repair the attribute value reduced due to the target damage.

[0247] In some embodiments, the target determination module is further used to determine the repair capacity corresponding to each of the treatment items when there are multiple treatment items that can treat the selected injury;

[0248] The plurality of treatment items are sorted according to the repair capabilities, and the plurality of treatment items screened are highlighted according to the sorting results.

[0249] The embodiment of the present application provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. The processor of the computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the virtual object damage processing method described in the embodiment of the present application.

[0250] An embodiment of the present application provides a computer-readable storage medium storing executable instructions, wherein executable instructions are stored. When the executable instructions are executed by a processor, the processor will execute the virtual object damage processing method provided in the embodiment of the present application.

[0251] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface storage, optical disk, or CD-ROM; or it may be various devices including one or any combination of the above memories.

[0252] In some embodiments, executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.

[0253] As an example, executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file that stores other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files storing one or more modules, subroutines, or code portions).

[0254] By way of example, executable instructions may be deployed to be executed on one computing device, or on multiple computing devices located at one site, or on multiple computing devices distributed across multiple sites and interconnected by a communication network.

[0255] The above is only an embodiment of the present application and is not intended to limit the protection scope of the present application. Any modifications, equivalent substitutions and improvements made within the spirit and scope of the present application are included in the protection scope of the present application.

Claims

1. A method for handling damage to a virtual object, characterized in that: The method comprises: Presenting an injury treatment interface of a virtual scene, wherein the injury treatment interface includes an injury display area and an injury treatment area; In the injury display area, at least one injury caused by the interaction of the virtual object in the virtual scene is displayed, and in the injury treatment area, a plurality of treatment props for treating the injury of the virtual object are displayed; When receiving the damage selection instruction, selecting a treatment item that can treat the selected damage from the plurality of treatment items, and highlighting the selected treatment item; or, When receiving a prop selection instruction, screening the injuries of the virtual object that can be treated by the selected healing prop, and highlighting the screened injuries; According to the screened treatment items or injuries, when a treatment instruction for a target treatment item for a target injury is received, control the use of the target treatment item to treat the target injury; Among them, when the damage selection instruction is used to select a target type of damage, the damage selection instruction is triggered in the following manner: in the damage display area, a damage icon corresponding to the damage of the virtual object is displayed, and the damage icon is in a one-to-one correspondence with the type of damage; in response to a trigger operation on the target damage icon, a damage selection instruction for selecting the target type of damage is received.

2. The method according to claim 1, characterized in that The injury treatment interface also includes an information description area, and the method further includes: In response to the damage selection instruction, displaying in the information description area a damage description corresponding to the selected target type of damage; The damage description is used to describe the property changes of the virtual object caused by the damage of the target type.

3. The method according to claim 1, characterized in that The method further comprises: In the injury display area, a body part diagram including various body parts of the virtual object is displayed; In response to the injury selection instruction, based on the body part map, the part of the virtual object corresponding to the target type of injury is highlighted.

4. The method according to claim 1, characterized in that The method further comprises: In the associated area of ​​each injury icon, the corresponding number of injury parts is presented, and the number of injury parts is the number of parts of the virtual object that have an injury of the type corresponding to the injury icon.

5. The method according to claim 1, characterized in that The therapeutic items obtained by the screening are highlighted, including: The screened therapeutic items are displayed in a target style so that the screened therapeutic items are distinguished from other therapeutic items in the plurality of therapeutic items.

6. The method according to claim 5, characterized in that The therapeutic items obtained by screening by using the target style display include: Get the number of therapeutic items screened; According to the number of props, determining a target display position corresponding to the number of props, wherein the target display position is located before the display positions of the other treatment props; At the target display position, the screened therapeutic props are displayed in a target style.

7. The method according to claim 5, characterized in that When the types of damage selected by the damage selection instruction are at least two, the target style is used to display the screened healing items, including: Get the damage priority corresponding to each type of damage; According to the damage priority, the healing items corresponding to the types of damage among the screened healing items are sorted; According to the sorting, the selected therapeutic items are displayed in a target style.

8. The method according to claim 1, characterized in that When the damage selection instruction is used to select the damage corresponding to the injured part of the virtual object, the damage selection instruction is triggered in the following manner: In the injury display area, a body part diagram including various body parts of the virtual object is displayed; Based on the body part map, in response to a selection operation on a target part of the virtual object, when the target part is an injured part, an injury selection instruction for selecting an injury to the target part is received.

9. The method according to claim 8, characterized in that The method further comprises: Based on the body part map, the attribute values ​​corresponding to the various parts of the virtual object are displayed, and when the part is an injured part, the injury mark of the corresponding injury is displayed in the associated area of ​​the attribute value.

10. The method according to claim 8, characterized in that The injury treatment interface also includes an information description area, and the method further includes: In response to the damage selection instruction, displaying a part description corresponding to the selected target part in the information description area; The part description is used to explain the property change of the virtual object caused by the damage to the target part.

11. The method according to claim 1, characterized in that The display of multiple healing props for healing the damage of the virtual object includes: When there are at least two types of the treatment props, at least two type icons corresponding to the types one by one and an overview icon corresponding to all the treatment props are presented in the injury treatment area; When a trigger operation for a target type icon is received, multiple treatment items of the type corresponding to the target type icon are displayed; When a trigger operation is received for the overview icon, all treatment props for the virtual object used for damage treatment are displayed.

12. The method according to claim 1, characterized in that The injury treatment interface also includes an information description area, and the method further includes: In response to the item selection instruction, displaying the item description corresponding to the selected treatment item in the information description area; The item description is used to describe the attribute information of the selected treatment item.

13. The method according to claim 1, characterized in that The method further comprises: In the damage display area, a body part diagram including various parts of the virtual object's body and the damage suffered by each part are displayed; The highlighted screening results include: Based on the body part map, the parts corresponding to the screened injuries are displayed in a target style, so that the parts corresponding to the screened injuries are distinguished from the parts corresponding to other injuries.

14. The method according to claim 1, wherein: In the case of receiving the damage selection instruction, taking the selected damage as the target damage, and highlighting the screened treatment items, the method further includes: In response to a trigger operation on a target healing item among the screened healing items, a healing instruction for the target healing item to target damage is received; Alternatively, in the case of receiving an item selection instruction, the selected treatment item is used as the target treatment item, and after highlighting the screened damage, the method further includes: In response to a trigger operation for a target injury among the screened injuries, a treatment instruction for the target injury from a target treatment item is received.

15. The method according to claim 1, wherein: The method further comprises: In the injury display area, a body part diagram including various body parts of the virtual object is displayed; The control uses the target treatment item to treat the target damage, including: Presenting a prop model corresponding to the target treatment prop; The prop model is controlled to act on the part of the body part map corresponding to the target damage to repair the attribute value reduced due to the target damage.

16. The method according to claim 1, wherein: The therapeutic items obtained by the screening are highlighted, including: When there are multiple healing items that can heal the selected injury, determining the corresponding repair capabilities of each healing item; The plurality of treatment items are sorted according to the repair capabilities, and the plurality of treatment items screened are highlighted according to the sorting results.

17. A virtual object damage treatment device, characterized in that: The device comprises: A first presentation module, used to present an injury treatment interface of a virtual scene, wherein the injury treatment interface includes an injury display area and an injury treatment area; A second presentation module is used to display at least one injury caused by the interaction of the virtual object in the virtual scene in the injury display area, and to display a plurality of treatment props for treating the injury of the virtual object in the injury treatment area; a target determination module, for, when receiving a damage selection instruction, screening a treatment item that can treat the selected damage from the plurality of treatment items, and highlighting the screened treatment item; or, When receiving a prop selection instruction, screening the injuries of the virtual object that can be treated by the selected healing prop, and highlighting the screened injuries; A treatment control module, for controlling the use of the target treatment item to treat the target injury when receiving a treatment instruction for the target treatment item based on the screened treatment items or injuries; An instruction receiving module is used to display a damage icon corresponding to the damage of the virtual object in the damage display area when the damage selection instruction indicates selecting a target type of damage, and the damage icon is in a one-to-one correspondence with the type of damage; in response to a trigger operation on the target damage icon, a damage selection instruction for selecting a target type of damage is received.

18. An electronic device, characterized in that: include: A memory for storing executable instructions; A processor is used to implement the virtual object damage processing method described in any one of claims 1 to 16 when executing the executable instructions stored in the memory.

19. A computer-readable storage medium, characterized in that: Executable instructions are stored, which are used to implement the damage handling method for the virtual object described in any one of claims 1 to 16 when executed by the processor.

20. A computer program product comprising a computer program or instructions, characterized in that When the computer program or instruction is executed by a processor, the virtual object damage handling method described in any one of claims 1 to 16 is implemented.

Citation Information

Patent Citations

  • Virtual prop control method, virtual prop control device, storage medium and electronic equipment

    CN108579089A

  • Interface display method and device, terminal and storage medium

    CN111672122A