CN-121988035-A - Control method and device of virtual equipment and electronic equipment
Abstract
The invention provides a control method and device for virtual equipment and electronic equipment, wherein the control method and device are used for determining an associated trigger state of second virtual equipment in response to a first trigger instruction aiming at the first virtual equipment or game behaviors corresponding to the first trigger instruction executed by the first virtual equipment, and controlling the second virtual equipment to execute corresponding game behaviors in response to a second trigger instruction aiming at the second virtual equipment when the second virtual equipment is in a target state. The method realizes the associated triggering among weapons in various modes, improves the interest of the game, improves the experience of players, improves the retention rate of the game and improves the utilization rate of game system resources.
Inventors
- ZHANG QING
- CHEN HANYUN
Assignees
- 网易(杭州)网络有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20260204
Claims (18)
- 1. The control method of the virtual equipment is characterized by providing a graphical user interface through terminal equipment, wherein the graphical user interface displays a game scene where a controlled virtual object is located, the controlled virtual object comprises a first virtual equipment and a second virtual equipment, and the method comprises the following steps: Determining an associated trigger state of the second virtual equipment in response to a first trigger instruction for the first virtual equipment or in response to the first virtual equipment executing a game behavior corresponding to the first trigger instruction; and under the condition that the second virtual equipment is in a target state, controlling the second virtual equipment to execute corresponding game behaviors in response to a second trigger instruction for the second virtual equipment, wherein the second trigger instruction is triggered by at least one of the following modes: responding to the second virtual equipment to continuously preset first duration in the target state, and triggering the second triggering instruction; triggering the second trigger instruction in response to a third trigger instruction for the first virtual equipment; And responding to the first virtual equipment to execute the game behavior corresponding to the third trigger instruction, and triggering the second trigger instruction.
- 2. The method of claim 1, wherein the step of the first virtual appliance performing a corresponding game action comprises: Controlling the first virtual equipment to emit a first virtual prop, wherein the first virtual prop is configured to influence the attribute value of the hit virtual object; The step of the second virtual equipment executing the corresponding game behavior comprises the step of controlling the second virtual equipment to transmit a second virtual prop, wherein the second virtual prop is configured to influence the attribute value of the hit virtual object.
- 3. The method of claim 1, wherein the target state is a first target state, and wherein the step of controlling the second virtual equipment to perform a corresponding game action in response to a second trigger instruction for the second virtual equipment if the second virtual equipment is in the target state comprises: When the second virtual equipment is in the first target state, responding to a second trigger instruction for the second virtual equipment in a first target duration corresponding to the first target state, and controlling the second virtual equipment to execute corresponding game behaviors; the first virtual equipment is controlled to exit the first target state.
- 4. The method of claim 1, wherein the target state is a second target state, and wherein the step of controlling the second virtual equipment to perform a corresponding game action in response to a second trigger instruction for the second virtual equipment if the second virtual equipment is in the target state comprises: when the second virtual equipment is in the second target state, responding to a second trigger instruction for the second virtual equipment in a second target duration corresponding to the second target state, and controlling the second virtual equipment to execute corresponding game behaviors; Maintaining the second virtual equipment in a second target state.
- 5. The method according to claim 4, wherein the method further comprises: And controlling the second virtual equipment to exit the second target state in response to the duration of the second target state meeting the second target duration.
- 6. The method of claim 1, wherein an equipment identity corresponding to the second virtual equipment is displayed on the graphical user interface; The step of determining an associated trigger state of the second virtual appliance in response to a first trigger instruction for the first virtual appliance or in response to the first virtual appliance executing a game behavior corresponding to the first trigger instruction, comprises: And responding to a first trigger instruction aiming at the first virtual equipment or responding to the game behavior corresponding to the first trigger instruction executed by the first virtual equipment, determining the associated trigger state of the second virtual equipment, and updating and displaying the equipment identifier corresponding to the second virtual equipment so that the updated equipment identifier indicates the associated trigger state.
- 7. The method of claim 6, wherein the steps of determining an associated trigger state of the second virtual appliance in response to a first trigger instruction for the first virtual appliance or in response to the first virtual appliance executing a game action corresponding to the first trigger instruction, and updating an appliance identification corresponding to the second virtual appliance for display such that the updated appliance identification indicates the associated trigger state comprise: responding to a first trigger instruction aiming at the first virtual equipment or responding to the first virtual equipment to execute game behaviors corresponding to the first trigger instruction, displaying a preset animation effect in association with the equipment identification, and determining an associated trigger state of the second virtual equipment; And responding to the end of the preset animation effect, updating and displaying the equipment identifier corresponding to the second virtual equipment, so that the updated equipment identifier indicates the association triggering state.
- 8. The method of claim 1, wherein the number of second virtual equipment is a plurality; The step of determining an associated trigger state of the second virtual equipment comprises: For each of the second virtual equipment, determining an associated trigger state of the second virtual equipment based on a preset trigger probability.
- 9. The method of claim 8, wherein the target state comprises one or more of a different target state, wherein the second virtual equipment performs a corresponding game action with different related parameters, wherein the related parameters at least comprise one of a number of executions, a frequency of executions, an intensity of executions and a duration of executions; Based on a preset trigger probability, determining an associated trigger state of the second virtual equipment, including: And determining whether the second virtual equipment enters the target state or not based on probability parameters corresponding to preset target states, and/or determining the target state which the second virtual equipment enters.
- 10. The method of claim 8, wherein the method further comprises: And in response to a third virtual object in the second virtual devices entering a target state, controlling to update the current remaining target duration of the second virtual device currently in the target state in the second virtual devices, wherein the target state is configured with the target duration.
- 11. The method of claim 10, wherein the target states comprise a first target state and a second target state; the step of controlling updating a current remaining target duration of a second virtual appliance currently in a target state of the plurality of second virtual appliances in response to a third virtual object of the plurality of second virtual appliances entering the target state includes: And in response to a third virtual equipment in the second virtual equipment entering a second target state, controlling to update the current remaining duration of the second virtual equipment currently in the second target state in the second virtual equipment to be a second target duration corresponding to the second target state.
- 12. The method of claim 10, wherein a first identification is displayed on the graphical user interface, the first identification indicating a remaining length of time in the target state for a second virtual appliance currently in the target state; The method further comprises the steps of: And updating and displaying the first identifier in response to the update of the remaining time length of the second virtual equipment currently in the target state, so that the first identifier indicates the updated remaining time length.
- 13. The method of claim 6, wherein the step of updating the equipment identity for displaying the corresponding second virtual equipment comprises: If the association triggering state indicates that the second virtual equipment does not enter a target state, displaying equipment identifiers corresponding to the second virtual equipment as a first display effect; And if the association triggering state indicates that the second virtual equipment enters a target state, displaying equipment identification corresponding to the second virtual equipment as a second display effect, wherein the second display effect is different from the first display effect.
- 14. The method of claim 13, wherein the target states comprise a first target state and a second target state; if the association triggering state indicates that the second virtual equipment enters a target state, displaying equipment identification corresponding to the second virtual equipment as a second display effect, wherein the step comprises the following steps: If the association triggering state indicates that the second virtual equipment enters a first target state, displaying equipment identifiers corresponding to the second virtual equipment as a third display effect; And if the association triggering state indicates that the second virtual equipment enters a second target state, displaying equipment identification corresponding to the second virtual equipment as a fourth display effect, wherein the third display effect is different from the fourth display effect.
- 15. The method of claim 1, wherein the game scene includes a plurality of second virtual equipment, wherein the plurality of second virtual equipment is divided into a plurality of equipment sets, wherein at least a portion of the equipment sets include a plurality of adjacently disposed second virtual equipment; The method further comprises the steps of: And controlling the second virtual equipment in the first equipment set to be displayed as a specified effect in response to the second virtual equipment in the first equipment set being in a target state.
- 16. A control device of virtual equipment is characterized in that a graphical user interface is provided through terminal equipment, the graphical user interface displays a game scene where a controlled virtual object is located, the controlled virtual object comprises a first virtual equipment and a second virtual equipment, and the device comprises: The state determining module is used for determining an associated trigger state of the second virtual equipment in response to a first trigger instruction for the first virtual equipment or in response to the first virtual equipment executing a game behavior corresponding to the first trigger instruction; The behavior control module is used for responding to a second trigger instruction aiming at the second virtual equipment to execute corresponding game behaviors under the condition that the second virtual equipment is in a target state, wherein the second trigger instruction is triggered by at least one of the following modes: responding to the second virtual equipment to continuously preset first duration in the target state, and triggering the second triggering instruction; triggering the second trigger instruction in response to a third trigger instruction for the first virtual equipment; And responding to the first virtual equipment to execute the game behavior corresponding to the third trigger instruction, and triggering the second trigger instruction.
- 17. An electronic device comprising a processor and a memory, the memory storing machine executable instructions executable by the processor, the processor executing the machine executable instructions to implement the method of controlling virtual equipment of any one of claims 1-15.
- 18. A machine-readable storage medium storing machine-executable instructions that, when invoked and executed by a processor, cause the processor to implement a method of controlling virtual equipment of any one of claims 1-15.
Description
Control method and device of virtual equipment and electronic equipment Technical Field The invention relates to the technical field of games, in particular to a control method and device of virtual equipment and electronic equipment. Background In some games, a player may control a virtual character to carry a plurality of virtual equipment having an associated relationship. After a player controls a virtual character to trigger one virtual equipment, other virtual equipment having an association with the virtual equipment is also triggered. Players can generally only perceive the trigger states of a plurality of virtual equipment with an association through scene special effects or injury numerical jump words generated by the equipment injuring an acting object. In the method, the player is difficult to know the triggering state of each virtual device in the plurality of virtual devices with the association relationship in time, the player is influenced to efficiently determine the next game operation mode, the game experience of the player is poor, and the retention rate of the game is influenced to a certain extent. Disclosure of Invention Accordingly, the present invention is directed to a method and an apparatus for controlling virtual equipment, and an electronic device, so as to achieve the associated triggering between weapons in multiple manners, improve the interest of a game, improve the experience of a player, improve the retention rate of the game to a certain extent, and improve the utilization rate of game system resources. In a first aspect, the embodiment of the invention provides a control method of virtual equipment, a graphical user interface is provided through terminal equipment, the graphical user interface displays a game scene where a controlled virtual object is located, the controlled virtual object comprises a first virtual equipment and a second virtual equipment, the method comprises the steps of responding to a first trigger instruction aiming at the first virtual equipment or responding to game behaviors corresponding to the first trigger instruction executed by the first virtual equipment, determining an associated trigger state of the second virtual equipment, and responding to a second trigger instruction aiming at the second virtual equipment to execute corresponding game behaviors when the second virtual equipment is in a target state, wherein the second trigger instruction is triggered in at least one mode that the second trigger instruction is triggered in response to a first duration of the second virtual equipment in the target state, the second trigger instruction is triggered in response to a third trigger instruction aiming at the first virtual equipment, and the second trigger instruction is triggered in response to game behaviors corresponding to the third trigger instruction executed by the first virtual equipment. In a second aspect, the embodiment of the invention provides a control device of a virtual device, wherein a graphical user interface is provided through a terminal device, the graphical user interface displays a game scene where a controlled virtual object is located, the controlled virtual object comprises a first virtual device and a second virtual device, the device comprises a state determining module, an action control module and a game control module, the state determining module is used for determining an associated trigger state of the second virtual device in response to a first trigger instruction aiming at the first virtual device or in response to a game action corresponding to the first trigger instruction executed by the first virtual device, the action control module is used for controlling the second virtual device to execute the corresponding game action in response to the second trigger instruction aiming at the second virtual device when the second virtual device is in a target state, the second trigger instruction is triggered in at least one mode of responding to a first duration of the second virtual device which is preset continuously in the target state, the second trigger instruction is triggered in response to a third trigger instruction aiming at the first virtual device, the second trigger instruction is triggered in response to the first virtual device to execute the game action corresponding to the third trigger instruction is triggered by the second virtual device. In a third aspect, an embodiment of the present invention provides an electronic device, including a processor and a memory, where the memory stores machine executable instructions executable by the processor, and the processor executes the machine executable instructions to implement the method for controlling virtual equipment described above. In a fourth aspect, embodiments of the present invention provide a machine-readable storage medium storing machine-executable instructions that, when invoked and executed by a processor, cause the processor to imple