Skill cooperation recommendation method and device in game, program product and equipment
By constructing a collaboration graph and representation encoding, combined with entity node state attributes and path conflict detection, the problem of insufficient accuracy in skill combo recommendations in traditional game systems is solved, thereby improving the success rate of collaboration and the gaming experience in multiplayer online games.
Patent Information
- Application Number
- CN202611364846.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-03
- Publication Date
- 2026-11-24
AI Technical Summary
Traditional game interaction recommendation systems lack accurate control over the overall collaborative situation in multiplayer online games, resulting in ineffective skill combo recommendations, wasted tactical output windows, and negatively impacting the user's gaming experience.
Construct a collaboration graph, obtain aggregated embedded representations through representation encoding, perform skill filtering and path search based on the current state attributes of entity nodes, and determine recommended skill collaboration paths by combining skill benefit indicators and path conflict detection.
It improved the accuracy of skill combo path recommendations, enhanced the success rate of temporary team collaboration, reduced communication costs, and improved the gaming experience.
Smart Images

Figure CN123148644A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of computer and human-computer interaction technology, and more specifically, to a method and apparatus for recommending skill combos in games, computer program products, and electronic devices. Background Technology
[0002] In multiplayer online games, tactical cooperation and skill combos between players are crucial to victory. However, traditional game interaction recommendation systems are mostly geared towards individual players, making recommendations based solely on that player's character class, skill cooldowns, and pre-set fixed strategies. In complex team collaboration environments, the lack of accurate control over the overall strategic situation leads to ineffective recommended paths, wasted tactical output windows, and consequently, insufficient applicability of the recommended results, which negatively impacts the user's gaming experience.
[0003] It should be noted that the information in the background section above is only used to enhance the understanding of the background of this disclosure, and therefore may include information that does not constitute prior art known to those skilled in the art. Summary of the Invention
[0004] The purpose of this disclosure is to provide a method and apparatus, computer program product and electronic device for recommending skill combos in games, thereby overcoming, to at least a certain extent, the defects of related technologies, improving the accuracy of skill combo path recommendations, and enhancing the gaming experience.
[0005] Other features and advantages of this disclosure will become apparent from the following detailed description, or may be learned in part from practice of this disclosure.
[0006] According to one aspect of this disclosure, a method for recommending skill combos in a game is provided, comprising: constructing a collaboration graph based on virtual object information and the interaction relationships between virtual objects in the current game scene, and encoding the collaboration graph to obtain an aggregated embedding representation; filtering the skills of player nodes based on the current state attributes of each entity node in the collaboration graph to obtain a candidate skill set for player nodes; determining the combo triggering source node from the player nodes, and searching for combo paths in the candidate skill set based on the aggregated embedding representation, starting from the combo triggering source node, to obtain multiple candidate skill combo paths; determining the skill benefit index of the candidate skill combo path based on the current state attributes of each entity node on each candidate skill combo path, and performing path conflict detection based on the skill benefit index and the candidate skill combo path, so as to determine the recommended skill combo path from the candidate skill combo paths according to the detection results.
[0007] According to one aspect of this disclosure, a skill synergy recommendation device in a game is provided, comprising: a graph construction module, used to construct a collaboration graph based on virtual object information and the interaction relationships between virtual objects in the current game scene, and to encode the collaboration graph to obtain an aggregated embedding representation; a skill filtering module, used to filter the skills of player nodes based on the current state attributes of each entity node in the collaboration graph to obtain a candidate skill set for player nodes; a path search module, used to determine the synergy trigger source node from player nodes, and to search for synergy paths in the candidate skill set based on the aggregated embedding representation, starting from the synergy trigger source node, to obtain multiple candidate skill synergy paths; and a path determination module, used to determine the skill benefit index of each candidate skill synergy path based on the current state attributes of each entity node on each candidate skill synergy path, and to perform path conflict detection based on the skill benefit index and the candidate skill synergy path, so as to determine a recommended skill synergy path from the candidate skill synergy paths based on the detection results.
[0008] According to one aspect of this disclosure, a computer program product is provided, including a computer program that, when executed by a processor, implements any of the above methods.
[0009] According to one aspect of this disclosure, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to perform any of the above methods by executing the executable instructions.
[0010] The skill synergy recommendation method in the game in the exemplary embodiments of this disclosure constructs a collaboration graph based on the information of virtual objects in the current game scene and the interaction relationships between virtual objects, and encodes the collaboration graph to obtain an aggregated embedding representation; filters the skills of player nodes based on the current state attributes of each entity node in the collaboration graph to obtain a candidate skill set for player nodes; determines the synergy triggering source node from the player nodes, and searches for synergy paths in the candidate skill set based on the aggregated embedding representation, starting from the synergy triggering source node, to obtain multiple candidate skill synergy paths; determines the skill benefit index of the candidate skill synergy path based on the current state attributes of each entity node on each candidate skill synergy path, and performs path conflict detection based on the skill benefit index and the candidate skill synergy path, so as to determine the recommended skill synergy path from the candidate skill synergy paths according to the detection results.
[0011] On the one hand, by constructing a collaborative graph to uniformly model virtual objects and their interactive relationships in the game, the global semantic expression depth and modeling accuracy of the game server in dealing with complex, highly dynamic multiplayer combat scenarios are improved, providing a foundation for recommending skill combo paths. On the other hand, the current state attributes of each entity node are used to filter the skills of player nodes. Based on aggregated embedding representation, combo path search is performed in the candidate skill set starting from the combo trigger source node, which avoids recommending unrealistic and invalid paths. In addition, path conflict detection is performed based on the skill benefit indicators of candidate skill combo paths, and the final recommended skill combo path is determined accordingly. This helps to improve the success rate of temporary team collaboration, reduce the adaptability during skill combos, reduce communication costs, and improve the game experience.
[0012] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0013] The above and other objects, features, and advantages of this disclosure will become readily apparent from the following detailed description of exemplary embodiments, taken in conjunction with the accompanying drawings. Several embodiments of this disclosure are illustrated in the drawings by way of example and not limitation.
[0014] Figure 1 A diagram illustrating an application environment for a skill synergy recommendation method in a game according to an exemplary embodiment of this disclosure is provided.
[0015] Figure 2 A flowchart is shown of a skill synergy recommendation method in a game according to an exemplary embodiment of the present disclosure.
[0016] Figure 3 A flowchart illustrating a method for constructing a collaboration graph according to an exemplary embodiment of this disclosure is shown.
[0017] Figure 4 A flowchart illustrating an implementation of obtaining an aggregated embedding representation according to an exemplary embodiment of the present disclosure is shown.
[0018] Figure 5 A flowchart illustrating an implementation of determining the set of candidate skills for each player node within the current time window, according to an exemplary embodiment of this disclosure, is shown.
[0019] Figure 6 A flowchart illustrating an implementation of determining candidate skill synergy paths according to an exemplary embodiment of this disclosure is shown.
[0020] Figure 7 A schematic diagram of a heuristic search-based path expansion and pruning according to an exemplary embodiment of the present disclosure is shown.
[0021] Figure 8 A flowchart illustrating an implementation method for determining a skill benefit metric for candidate skill synergy paths according to an exemplary embodiment of this disclosure is shown.
[0022] Figure 9 A flowchart illustrating an implementation method for determining a skill gain metric according to an exemplary embodiment of the present disclosure is shown.
[0023] Figure 10 A flowchart illustrating an implementation of path conflict detection according to an exemplary embodiment of the present disclosure is shown.
[0024] Figure 11 A partial schematic diagram of a path-conflict undirected graph constructed according to an exemplary embodiment of the present disclosure is shown.
[0025] Figure 12 A schematic diagram of a visual guidance skill linkage according to an exemplary embodiment of the present disclosure is shown.
[0026] Figure 13 A schematic diagram of the composition of a skill synergy recommendation device in a game according to an exemplary embodiment of the present disclosure is shown.
[0027] Figure 14 A block diagram of an electronic device according to an exemplary embodiment of the present disclosure is shown.
[0028] In the accompanying drawings, the same or corresponding reference numerals indicate the same or corresponding parts. Detailed Implementation
[0029] Exemplary embodiments will now be described more fully with reference to the accompanying drawings. However, exemplary embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be more comprehensive and complete, and will fully convey the concept of exemplary embodiments to those skilled in the art. The same reference numerals in the drawings denote the same or similar structures, and therefore their detailed description will be omitted.
[0030] Furthermore, the described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. Numerous specific details are provided in the following description to give a thorough understanding of embodiments of this disclosure. However, those skilled in the art will recognize that the technical solutions of this disclosure can be practiced without one or more of the specific details described, or other methods, components, apparatuses, steps, etc., can be employed. In other instances, well-known structures, methods, apparatuses, implementations, or operations are not shown or described in detail to avoid obscuring various aspects of this disclosure.
[0031] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software, or in one or more software-hardened modules, or in different network and / or processor devices and / or microcontroller devices.
[0032] In related technologies, multiplayer battles involve a complex interplay of multiple teammates, multiple enemy targets, skill nodes, buffs / debuffs, spatial distances, line-of-sight occlusion, accessibility, and historical collaborative trust relationships, all exhibiting high-dimensional dynamic changes. Traditional preset static rule tables or single-player strategy recommendations struggle to uniformly model these heterogeneous entities and their associated edges, resulting in a lack of accurate control over the overall collaborative situation. Furthermore, existing technologies primarily rely on rule matching, lacking long-term, full-path constraint verification, easily recommending invalid paths that players cannot execute due to insufficient distance or temporal chain breaks, wasting tactical output windows. In temporary collaborative teams without fixed team compositions, the theoretically highest-damage combo path often fails due to teammate operation delays, chain breaks, or misplacement. Existing technologies lack mechanisms to quantitatively assess the execution risk of combo recommended paths based on players' social relationship characteristics, historical collaborative behavior habits, and execution time margins, leading to insufficient practicality of the recommended results.
[0033] Based on this, an exemplary embodiment of this disclosure provides a skill combo recommendation method in games, which can establish a unified graph model for heterogeneous entities and interaction relationships in multiplayer online battles, and expand multi-path search under constraints such as cooldown, resources, distance and target status, evaluate by integrating multi-dimensional factors such as status attributes, and resolve path conflicts to obtain recommended skill combo paths.
[0034] It should be noted that the method of the exemplary embodiments disclosed herein can be applied to game scenarios involving multiplayer battles, such as multiplayer online tactical arena, team battle scenarios in multiplayer online role-playing games, etc., without any specific limitations.
[0035] The exemplary embodiments of this disclosure provide a skill combo recommendation method in games, which can be applied to, for example... Figure 1 The application environment shown is illustrated. Terminal 101 communicates with server 102 via a network. A data storage system can store the data that server 102 needs to process. The data storage system can be integrated onto server 102, or it can be located in the cloud or on another network server.
[0036] In one exemplary embodiment, the provided skill combo recommendation method in the game can be executed by server 102, and the corresponding skill combo recommendation device in the game is set in server 102. Correspondingly, in this method executed by server 202, server 102 can respond to a triggering command to begin executing the steps in the technical solution of the exemplary embodiment of this disclosure, wherein the triggering command can be sent by a terminal used by the user, or can be triggered locally by the server in response to some automated events. Server 102 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. Server 102 can execute background tasks.
[0037] Furthermore, in another exemplary embodiment, terminal 101 may also have similar functions to server 102, thereby executing the skill combo recommendation method in games provided by the exemplary embodiments of this disclosure. Terminal 101 may be a smartphone, tablet, laptop, desktop computer, IoT device, or portable wearable device; IoT devices may include smart TVs and smart in-vehicle devices, etc. Terminal 101 may also be referred to as a mobile terminal, terminal device, mobile device, etc., and the exemplary embodiments of this disclosure do not limit the type of terminal 101.
[0038] Furthermore, the technical solutions of the exemplary embodiments of this disclosure can also be executed collaboratively by terminal 101 and server 102. In this collaborative execution method, the steps executed by terminal 101 and server 102 respectively can be dynamically adjusted according to actual conditions, without any special limitations. Terminal 101 and server 102 can be directly or indirectly connected via wireless communication, and the exemplary embodiments of this disclosure do not impose any special limitations here.
[0039] In one alternative embodiment, the skill combo recommendation method in the game can be implemented and executed based on a cloud interaction system. Various cloud applications, such as cloud gaming, can run under a cloud interaction system. Taking cloud gaming as an example, cloud gaming refers to a gaming method based on cloud computing. In the cloud gaming operating mode, the game program's execution entity and the game screen presentation entity are separated. The storage and execution of the game's control and interaction methods are completed on the cloud gaming server (such as the aforementioned server 102). The cloud gaming client (such as the aforementioned terminal device 101) is used for data reception, transmission, and game screen presentation. For example, the cloud gaming client can be a display device with data transmission capabilities located close to the user, such as a mobile terminal, television, computer, or PDA; while the cloud gaming server in the cloud performs information processing. When playing or editing a game, the user operates the cloud gaming client to send operation commands to the cloud gaming server. The cloud gaming server runs the game according to the operation commands, encodes and compresses the game screen and other data, returns it to the cloud gaming client via the network, and finally, the cloud gaming client decodes and outputs the game screen.
[0040] In an alternative embodiment, the above method can be implemented in a standalone game. No server deployment is required; the entire game program can be installed on the terminal device 101, and the component control methods within the game can be executed.
[0041] refer to Figure 2 The diagram shown is a flowchart of a skill combo recommendation method in a game, an exemplary embodiment of this disclosure. Figure 2 As shown, the method includes steps S210 to S240: Step S210: Based on the information of virtual objects in the current game scene and the interaction relationships between virtual objects, construct a collaboration graph and encode the collaboration graph to obtain an aggregated embedding representation.
[0042] Step S220: Based on the current state attributes of each entity node in the collaboration graph, filter the skills of the player nodes to obtain the candidate skill set of the player nodes.
[0043] Step S230: Determine the link trigger source node from the player nodes. Based on the aggregated embedding representation, search for link paths in the candidate skill set starting from the link trigger source node to obtain multiple candidate skill link paths.
[0044] Step S240: Based on the current state attributes of each entity node on each candidate skill linking path, determine the skill benefit index of the candidate skill linking path, and perform path conflict detection based on the skill benefit index and the candidate skill linking path, so as to determine the recommended skill linking path from the candidate skill linking paths according to the detection results.
[0045] The skill synergy recommendation method in games, as disclosed in the exemplary embodiments, improves the global semantic expression depth and modeling accuracy of game servers when dealing with complex, highly dynamic multiplayer combat scenarios by constructing a collaborative graph to uniformly model virtual objects and their interactive relationships in the game, thus providing a foundation for recommending skill synergy paths. On the other hand, the current state attributes of each entity node are used to filter the skills of player nodes. Based on aggregated embedding representations, synergy path searches are performed in the candidate skill set starting from the synergy trigger source node, avoiding the recommendation of unrealistic and invalid paths. Furthermore, path conflict detection is performed based on the skill benefit indicators of candidate skill synergy paths, and the final recommended skill synergy path is determined accordingly. This helps improve the success rate of temporary team collaboration, reduces the adaptability during skill synergy, lowers communication costs, and enhances the game experience.
[0046] Steps S210 to S240 will be explained in detail below.
[0047] In step S210, a collaboration graph is constructed based on the information of virtual objects in the current game scene and the interaction relationships between virtual objects, and the collaboration graph is represented and encoded to obtain an aggregated embedding representation.
[0048] In the exemplary embodiments of this disclosure, the collaboration graph is a topological data structure used to characterize the non-Euclidean structural relationships between all virtual objects in the current game frame, including vertices and edges between vertices. Virtual object information includes players, their enemy players, skills, states, etc. For example, players include members of the player's own tactical collaboration team, and enemy players include hostile targets, such as enemy bosses, enemy players, battlefield monsters, etc. Skills include key skill entities possessed by the player and involved in collaborative synergy, and states include key buffs or debuff states in the game, including stun, armor penetration, vulnerability, super armor, reduced resistance, or spell counter. The interactive relationships between virtual objects are used to describe the complex physical, social, and numerical collaborative relationships between different entities. Aggregate embedding representation refers to the vector representation of entity nodes in the collaboration graph, which integrates their own attributes and their propagation influence on all neighboring nodes in the collaboration graph.
[0049] In one exemplary embodiment, such as Figure 3 Based on the information of virtual objects in the current game scene and the interaction relationships between virtual objects, constructing a collaboration graph can include: Step S310: Determine the entity nodes and their node feature vectors based on the virtual object information. The entity nodes include player nodes, enemy nodes, skill nodes, and game status nodes.
[0050] Player nodes can represent members of the player's own tactical team, while enemy nodes can represent hostile targets, such as enemy bosses, enemy players, or battlefield monsters. Skill nodes can represent key skills possessed by the player and involved in coordinated attacks, while status nodes can represent key buffs or debuffs in the game, including stun, armor penetration, vulnerability, super armor, reduced resistance, or spell counter.
[0051] Each entity node can construct a corresponding feature vector using virtual object information. For example, the node feature vector x of a player node. pl =[Occupation Identifier, Health Percentage, Resource Percentage, Spatial 3D Coordinates, Movement Speed, Current Aggro Value, Historical Coordination Coefficient], Enemy Node Feature Vector x tg =[Target type, Remaining health percentage, Control reduction stacks, Spatial 3D coordinates, Movement speed], the node feature vector x of the skill node. sk =[Skill Identifier, Remaining Cooldown, Resource Consumption, Maximum Cast Range, Casting Time, Impact Effect Type, Base Expected Damage, Status Identifier], the node feature vector x of the game state node. st =[Status identifier, Status attribute category, Remaining duration]. Of course, the above node feature vectors are only examples, and the composition dimensions of each node feature vector can be flexibly set according to the actual game situation.
[0052] Step S320: Based on the interaction and association relationships between entity nodes, determine the associated edges and the associated edge feature vectors. The associated edge feature vectors are used to represent the collaborative relationships between entity nodes.
[0053] The interactive relationships between entity nodes can include those between player nodes and skill nodes, between player and target, between target and target or between player and player, between skill nodes, and between game state nodes and player nodes or target nodes.
[0054] The established association edges may include, but are not limited to, skill ownership edges, spatial distance edges, synergy edges, state dependency edges, and social relationship edges. Skill ownership edges are established between player nodes and skill nodes, representing the player's current means of applying skills through attacks or states. Spatial distance edges are established between player-target, target-target, or player-player relationships, and may include spatial constraints such as the current Euclidean distance between the two entities, obstacle line-of-sight occlusion, and path reachability time. Synergy edges are established between skill nodes to define whether there is an inherent or dynamically generated attack synergy between two skills; for example, a heavy attack after armor penetration will have a double damage bonus, and a fireball after freezing will trigger a melting effect. State dependency edges are established between game state nodes and player or target nodes, indicating that a certain state is acting on that player or target. Social relationship edges are established between player nodes to represent the degree of cooperation and understanding between players. Of course, the types of association edges in the collaboration graph can be flexibly set according to the actual game; this disclosure includes, but is not limited to, the types of association edges mentioned above.
[0055] For example, the feature vector e of the associated edge of the skill ownership edge. ow =[Unlock Status Indicator, Skill Proficiency Level, Additional Cooldown Reduction Ratio], where the unlock status indicator shows whether the player currently has the right to use the skill, the skill proficiency level is related to the proficiency coefficient of the skill's base effect, and the additional cooldown reduction ratio represents the cooldown reduction bonus from player talents or equipment. The spatial distance edge's associated edge feature vector e sp =[Euclidean distance, line-of-sight occlusion marker, terrain obstruction marker, shortest path reachability time], where Euclidean distance represents the physical straight-line distance between entities, line-of-sight occlusion marker and terrain obstruction marker indicate whether there are obstacles obstructing the path between the two entities and whether there is insurmountable terrain, respectively, and shortest path reachability time represents the actual reachability time considering movement speed and obstacle avoidance. State-dependent edge feature vector e at =[Attachment Target Type, State Stack Layers, Resistance Modifier], where the attachment target type indicates whether the state is attached to the player or the target being attacked, the state stack layers represent the cumulative strength of the current state, and the resistance modifier represents the host's resistance bonus to the state effect. The feature vector e of the associated edge of the social relationship edge. sc =[Historical Team-Up Times, Historical Synergy Success Rate, Friend / Guild Relationship Identifier], where Historical Team-Up Times represents the cumulative frequency of games played together by two players, Historical Synergy Success Rate represents the actual success rate of triggering synergy in historical battles by two players, and Friend / Guild Relationship Identifier indicates whether two players are in the same friend list or guild organization, used to quantify their synergy in multiple dimensions.
[0056] Step S330: Construct a collaborative graph based on each entity node, node feature vector, associated edge, and associated edge feature vector.
[0057] After obtaining each entity node, node feature vector, associated edge, and associated edge feature vector, a collaboration graph can be constructed. In this disclosure, the collaboration graph can be represented as G=(V,E,X). V ,X E ), where V is the set of entity nodes, E is the set of associated edges, and X is the set of related edges. V Let X be the set of node feature vectors. E This is the set of features of associated edges.
[0058] This disclosure constructs a collaboration graph by establishing information about virtual objects in the current game scene and the interactive relationships between these virtual objects. This graph clearly and completely describes the game interaction relationships in the current game scene, providing support for subsequent skill synergy path recommendations.
[0059] In an exemplary embodiment, in response to the triggering of a preset event, the target node and target associated edge corresponding to the preset event can be obtained in the collaborative graph; according to the preset event, the node feature vector of the target node is updated, and the connection state and associated edge feature vector of the target associated edge are updated.
[0060] The preset events can be events that affect the composition of the collaboration graph, such as the successful release of any player's skill, abnormal deduction of an entity's health, sudden change in an entity's position, the dispelling or attachment of a certain state, or a player confirming or rejecting a recommended path. This disclosure can update the collaboration graph through event-driven updates. When the aforementioned preset events occur, instantaneous slice information of the current game scene can be obtained to update the collaboration graph, including updating the node feature vectors of relevant target nodes and updating the feature vectors of the associated edges of the target nodes.
[0061] For example, in a collaborative graph, an adjacency matrix can be used to represent the topological structure of connections between entity nodes (e.g., if two entity nodes are connected, the corresponding element is 1; otherwise, it is 0). This adjacency matrix defines the topological connections of the collaborative graph. Furthermore, the feature vectors of all connected nodes and edges in the adjacency matrix can be concatenated and stacked in a graph neural network to form a feature tensor. In response to a preset event, the adjacency matrix and feature tensor corresponding to that event can be atomically updated locally. That is, when a preset event is detected (such as skill release, abnormal health deduction, position mutation, state dispelling / attaching, path confirmation or rejection), only the connection states and feature values of the local nodes and edges directly affected by the preset event are updated instantly and atomically, without recalculating the entire graph, ensuring high real-time performance.
[0062] Optionally, the preset event can also be a timed event, that is, a non-mutation variable is periodically acquired with a preset periodic heartbeat (e.g., 100 ms) as the refresh frequency, and the collaborative graph is updated accordingly to ensure the high real-time performance and high accuracy of the graph data.
[0063] In one exemplary embodiment, an implementation for obtaining aggregated embedding representations is also provided. For example... Figure 4 The representation encoding of the collaboration graph to obtain the aggregated embedding representation may include: Step S410: For each entity node, determine the node type of the entity node, and determine the corresponding preset projection matrix according to the node type.
[0064] Step S420: Project the node feature vectors of the entity nodes according to the preset projection matrix to obtain the initial embedding representation of the entity nodes. The initial embedding representations of each entity node have the same latent feature dimension.
[0065] Step S430: Based on the initial embedding representation of each entity node, use a graph attention network to aggregate neighborhood features of the collaborative graph to obtain an aggregated embedding representation.
[0066] In this system, entity nodes of different node types have their own corresponding preset projection matrices, which are obtained through pre-training using the representation learning of a graph attention network. The preset projection matrices W for different node types are as follows: τ(i) , its initial feature x i (i.e., node feature vectors) are mapped to a latent space of uniform dimension to obtain an initial input embedding representation h of uniform dimension. i (0) This is used to address the issue of inconsistent initial feature dimensions among heterogeneous nodes. The following projection formula can be used: h i (0) = W τ(i) x i Formula 1 In the formula, i∈V represents the node index, τ(i)∈{pl, tg, sk, st} represents the different node types of entity node i, and W τ(i) This represents the preset projection matrix specific to node type τ(i), x i Let h represent the original feature vector (i.e., the node feature vector) of node i. After mapping the node feature vectors of all entity nodes to the latent space of the same dimension, the initial embedding representation h is obtained. i (0) They have a consistent hidden feature dimension.
[0067] For example, if the player's feature vector x plThe skill feature vector is 7-dimensional. sk The dimension is 8, and to map to a unified 16-dimensional latent space, a preset projection matrix W is used. pl The dimensions are 16×7, W sk The dimension is 16×8. Initial projection calculation: initial embedding representation h i (0) =W τ(i) x i (That is, a 16×7 matrix is multiplied by a 7×1 eigenvector to obtain a 16×1 initial feature embedding representation), thus making the feature dimensions of the initial embedding representation of each entity node consistent.
[0068] After projection, a graph attention network can be used to aggregate neighborhood features of the collaborative graph to obtain an aggregated embedding representation, which is to encode the representation of the multidimensional heterogeneous collaborative graph.
[0069] In one exemplary embodiment, based on the initial embedding representation of each entity node, a graph attention network is used to aggregate neighborhood features of the collaborative graph to obtain an aggregated embedding representation, including: First, the initial embedding representation of each entity node is used as the input node features of the first layer of the graph attention network; Secondly, in the first layer of the graph attention network, the first attention weight between each entity node and its neighboring nodes is calculated, and the initial embedding representation of the neighboring nodes is weighted and aggregated according to the first attention weight to obtain the first layer aggregated embedding representation of each entity node. Furthermore, in the N+1th layer of the graph attention network, the Nth layer aggregated embedding representation is used as the input node feature of the current layer. The N+1th attention weight between each entity node and its neighboring nodes is calculated respectively. The Nth layer aggregated embedding representation of the neighboring nodes is weighted and aggregated according to the N+1th attention weight to obtain the N+1th layer aggregated embedding representation of each entity node, where N≥1. Finally, if the preset number of network layers is reached, the last layer's aggregated embedding representation will be used as the aggregated embedding representation for path search.
[0070] Specifically, in each layer of the graph attention network (i.e., each attention layer l), the attention coefficient of entity node i to its neighbor node j can be obtained by the following formula to obtain the (N+1)th attention weight: Formula 2 In the formula, Wl is the shared weight projection matrix, a TLet be the attention weight matrix, || denotes feature concatenation, and Ni represent the set of neighboring nodes of entity node i. Here, Wl is the linear transformation matrix (i.e., weight matrix) of the l-th layer of the graph attention network. When calculating the l-th layer, this matrix applies the same linear transformation to all entity nodes within that layer, enhancing the expressive power and abstraction of the features, allowing subsequent attention calculations to be performed in a more discriminative feature space. This matrix can be obtained through end-to-end supervised learning or reinforcement learning training of the neural network. T Used to calculate the attention relevance score between two adjacent nodes, the same as Wl, a T The parameters are also learned through model training, rather than being preset manually. That is, during the training process, a T It participates in forward propagation computation and backward propagation update in sync with Wl.
[0071] In calculating attention weights at each layer, the model evaluates the importance of different neighboring nodes to the current target node. This non-uniform aggregation mechanism amplifies key collaborative information and suppresses redundant interference information in the final representation, thereby improving the discriminative power of the representation and the effectiveness of decision-making.
[0072] Taking the (N+1)th layer as an example, the (N+1)th layer aggregated embedding representation of each entity node is obtained by weighting and aggregating the Nth layer aggregated embedding representation of the neighboring nodes according to the (N+1)th attention weight using the following formula: Formula 3 In the formula, σ represents the nonlinear activation function, hj (l) This represents the aggregation embedding representation of the l-th layer.
[0073] As described above, the first layer calculates the aggregated embedding representation based on the initial embedding representation. For each subsequent layer, the aggregated embedding representation output by the previous layer is weighted and aggregated to obtain the corresponding aggregated embedding representation. This process continues until the preset number of layers in the graph attention network is reached. Finally, the aggregated embedding representation of the last layer is used as the aggregated embedding representation for path search, participating in the search of subsequent skill link paths.
[0074] This disclosure utilizes a graph attention network, where the initial embedding representation of each entity node incorporates information from its first-order neighbor nodes. Through iterative aggregation at the N+1th layer, each node gradually acquires higher-order neighborhood information, resulting in the final output aggregated embedding representation incorporating a deep context-aware representation of complex topological relationships in the graph. This provides a decision-making basis rich in collaborative semantics for subsequent path search.
[0075] In step S220, the skills of player nodes are filtered according to the current state attributes of each entity node in the collaboration graph to obtain a candidate skill set for player nodes.
[0076] In an exemplary embodiment of this disclosure, each entity node includes the aforementioned player node, adversary node, skill node, and game state node. The current state attributes include the real-time current state of each entity node, such as, but not limited to, skill cooldown time, skill resource consumption, skill release spatial distance, enemy node's interception and / or shielding attributes of the skill, etc.
[0077] In one exemplary embodiment, an implementation method is provided for determining the set of candidate skills for each player node within the current time window. The time window is a pre-set recommended duration threshold based on the game type and / or combat pace, such as 3.0 seconds or 5.0 seconds; this disclosure does not impose any specific limitations on it. Figure 5 Based on the current state attributes of each entity node in the collaboration graph, the skills of player nodes are filtered to obtain a candidate skill set for the player nodes, which may include: Step S510: Verify the cooldown time of the player node's skills and select the first candidate skill set that meets the preset cooldown constraints. The preset cooldown conditions are used to indicate that the skill has completed its cooldown when the skill link path extends to the skill node.
[0078] The cooldown time of a skill can be verified using the following formula: CD(s i )≤t window Formula 4 In the formula, CD(s i ) represents the remaining cooldown time of the skill, t window This represents the threshold for the current time window. Based on this formula, the remaining cooldown time of a skill must be less than or equal to the preset threshold for the current time window, ensuring that the skill has completed its cooldown by the time the path search extends to this step.
[0079] Step S520: Verify the resource consumption of the skills in the first candidate skill set, and filter out the second candidate skill set that meets the preset resource constraints. The second candidate skill set is used to represent the amount of resources that the player node has to release the skill.
[0080] Resource consumption can be verified using the following formula: Resource_current +Resource_recover t_window ≥Cost(s i Formula 5 In the formula, Resource_current represents the currently available resource, Resource_recover represents the natural recovery rate of the resource within the current time window, and Cost(s) iThe resource consumption of a skill is defined by this formula. The sum of currently available resources and recoverable resources within the window must be greater than or equal to the resource consumption of that skill.
[0081] Step S530: Verify the spatial distance of the skills in the second candidate skill set, and filter out the third candidate skill set that meets the preset spatial constraints. The preset spatial constraints are used to characterize the spatial distance between the player node and the target enemy node to meet the movement distance for releasing the skill.
[0082] Spatial distance can be verified using the following formula: d(player, target) ≤Range(s i ) + v move t window Formula 6 In the formula, d(player, target) is the Euclidean distance between the player node and the locked enemy node, and Range(s) is the distance between the player node and the locked enemy node. i ) represents the maximum casting range of this skill, v move This represents the maximum movement speed of the player node. This formula ensures that the player node can move closer to the casting range within the current time window.
[0083] Step S540: Determine the candidate skill set for the player node from the third candidate skill set based on the interception and / or shielding attributes of the target enemy node for skills.
[0084] The enemy node's interception and / or shielding attributes against energy saving can be understood as the enemy node's "immunity status" to skills or states. The verification of the immunity status in this step can be determined by the following formula: ImmuneMask(target)∩EffectState(s i )= Formula 7 In the formula, `ImmuneMask(target)` is the immunity / resistance state mask of the target enemy node. This mask is a binary identifier code used to represent the sum of all damage reduction, control immunity, and cleansing states currently possessed by the target enemy node. It can be quickly determined whether the target enemy node is currently immune to control or negative effects applied by a certain skill through bitwise AND operations. Specifically, this mask can be obtained by querying the current state of the target enemy node in real time, setting the corresponding bits of its immunity effects to 1 in a preset binary vector, and combining them into a binary value, thus obtaining `ImmuneMask(target)`. Similarly, `EffectState(s)`... i) is the state mask applied when the skill is released. This mask is a binary mask identifier that can generate and give the target a negative / control state after the skill is released. It can be directly formed by querying the effect identifier list in the skill's static configuration file and combining the corresponding state bits at the corresponding positions of the binary vector. This serves as the basis for intersection filtering with ImmuneMask(target).
[0085] This formula makes the current immunity mask of the target hostile node, ImmuneMask(target), equal to the state mask EffectState(s) applied when the skill is cast. i The intersection is an empty set, which effectively prevents invalid paths from recommending corresponding state skills to targets in an immune state.
[0086] This disclosure effectively eliminates unrealistic and invalid path recommendations by introducing pre-filters with strong physical constraints such as spatial distance, cooling, and resources, combined with the temporal determination of target purification and immunity attributes (i.e., interception attributes and / or shielding attributes), thereby improving the real executability of skill combo recommended paths.
[0087] In step S230, the link trigger source node is determined from the player nodes. Based on the aggregated embedding representation, the link trigger source node is used as the starting point to search for link paths in the candidate skill set, resulting in multiple candidate skill link paths.
[0088] In the exemplary embodiments of this disclosure, the triggering source node refers to the source action node that inspires multi-player cooperation. For example, it may be a player releasing a specific skill or a target node with a specific abnormal status (such as frozen or vulnerable).
[0089] In one exemplary embodiment, an implementation method for determining candidate skill synergy paths is provided. For example... Figure 6 The system identifies the source node for skill combos from player nodes. Based on aggregated embedding representation, it searches for combo paths within the candidate skill set, starting from the source node, resulting in multiple candidate skill combo paths, including: Step S610: In response to the target event, obtain the entity node corresponding to the target event as the trigger source node.
[0090] The target trigger event can be the first sudden event in the current game scene that meets the conditions for triggering a combo, such as releasing a specific control skill, abnormally deducting health, or attaching a specific status. The server event listener marks the skill node (or the hit target node) corresponding to the triggering action as the current source node for the combo trigger, which serves as the starting point for path expansion search.
[0091] Step S620: Using the linked trigger source node as the root node of the path search tree, expand the path branches downwards layer by layer, where: Under each path branch of the current search layer, skills that satisfy the preset physical state constraints are obtained from the candidate skill set as candidate expansion nodes. Based on the aggregated embedding representations corresponding to each candidate expansion node and its neighboring nodes, the local benefit score of each candidate expansion node is calculated. Among all the expanded path branches in the current search layer, the K path branches with the highest local benefit scores are obtained and expanded to the next layer. The remaining path branches are pruned and deleted, where K is the preset bundle width.
[0092] The maximum search depth can be set, which is the maximum number of segments in a combo attack (e.g., L). When searching to layer d, it starts from the K highest-scoring path vertices (the K path branches with the highest local benefit scores) retained in layer d-1 (K is the preset beamwidth) and retrieves the filtered candidate skill set. The preset beamwidth K can be 2, and the maximum search depth L can be 5. This disclosure is not limited to these data and can be selected according to actual needs.
[0093] Specifically, for the terminal skills of the path branches and the skills to be expanded in the candidate skill set, the following validations are performed: 1) Verify whether the difference between the hit time of the skill to be expanded and the hit time of the final skill exceeds the remaining effective duration of the state applied by the final skill. If it exceeds, remove the skill to be expanded. That is, the subsequent action must hit the target within the effective duration of the preceding trigger state.
[0094] 2) Verify whether the time windows of the same player node's execution of the final skill overlap with those of the skill to be expanded. If there is an overlap, remove the skill to be expanded. That is, the actions of the same player in a combo cannot overlap or conflict in time. For example, the skill ending time of the same player node's execution of the final skill is earlier than the start time of the skill to be expanded.
[0095] Finally, skills that have not been removed and are yet to be expanded can be used as candidate expansion nodes for the current search layer.
[0096] Optionally, the aforementioned local benefit score is a weighted quantification result that evaluates the benefit of each scalable candidate expansion node, combining factors such as the static damage expectation of the skill, the benefit of combo control, and spatiotemporal coherence. For example, for a path segment Pd={s1,...,sd} of depth d, it is the cumulative value of the single-step local benefit score of each step within that path segment. The local benefit score can be obtained using the following formula: Formula 8 In the formula, The local benefit score for each step within the path is determined by quantitative results based on the static damage expectation of the skill, the benefit of combo control, and spatiotemporal coherence.
[0097] Step S630: By repeatedly performing the layer-by-layer expansion and pruning process until the preset expansion end condition is met, the search is terminated, and the remaining path branches are determined as multiple candidate skill linkage paths.
[0098] By repeating the above process, this disclosure, based on the aggregated embedding representation obtained above, performs a layer-by-layer adaptive expansion of the long linking path search tree with the current linking trigger source node, and finally determines each of the retained path branches as multiple candidate skill linking paths.
[0099] For example, such as Figure 7 The diagram illustrates a path expansion and pruning method based on heuristic search. As shown, for each expandable temporary child node (i.e., candidate expansion node), its local cumulative benefit (i.e., local benefit score) is evaluated. At each level, only the K branches with the highest local scores are retained as candidates, while the remaining underscored branches are pruned and deleted (e.g., ...). Figure 7 Cross mark in The search terminates when the maximum depth L is reached or no scalable nodes are found. Pruning reduces the space complexity of the graph search. Through a heuristic bundle search process, multiple complete sequences of skill release nodes satisfying spatiotemporal and physical constraints are obtained. Each sequence corresponds to a path (an element in the set of candidate skill link paths). For example... Figure 7 One possible path is for player 301 to initiate a coordinated attack, which leads to teammate 201 casting skill A-1; another possible path is for teammate 202 to cast skill B-1.
[0100] This disclosure achieves a balance between real-time performance, accuracy, and global scope through a collaborative mechanism of event-driven triggering, bundle width pruning, semantic representation guidance, and hard constraint pre-filtering. It efficiently shrinks the exponentially expanding collaborative search space into a compact set of high-quality candidate paths, thereby improving the accuracy and efficiency of recommending collaborative skill paths.
[0101] In step S240, the skill benefit index of each candidate skill linking path is determined based on the current state attributes of each entity node on each candidate skill linking path, and path conflict detection is performed based on the skill benefit index and the candidate skill linking path, so as to determine the recommended skill linking path from the candidate skill linking paths according to the detection results.
[0102] In an exemplary embodiment of this disclosure, after obtaining candidate energy-saving synergy paths, the comprehensive benefits of the paths can be evaluated from multiple dimensions, and conflict resolution can be performed to avoid recommending conflicting paths.
[0103] In one exemplary embodiment, the skill benefit metric includes a positive benefit metric. This disclosure also provides an implementation method for the skill benefit metric used to determine candidate skill synergy paths. For example... Figure 8 Based on the current state attributes of each entity node on each candidate skill linking path, the skill benefit metrics for each candidate skill linking path are determined, including: Step S810: Calculate the cumulative expected value of the candidate skill combo path based on the damage attributes and skill combo multiplier relationships of each skill node in the candidate skill combo path, and use it as the first benefit indicator.
[0104] Before recommending skill combo paths to players, the rationality and benefits of the path must be evaluated. The primary benefit indicator is used to assess the damage the path inflicts on the enemy. This primary benefit indicator can be determined by the damage attributes of each skill node in the candidate skill combo path and the skill combo multiplier relationship, using the following formula: Formula 9 In the formula, For the path located in Previously and with Skills that involve collaboration and cooperation. The base damage of the skill. This represents the synergy multiplier for the coordinated burst. Based on this formula, by multiplying the base damage of each skill by its corresponding synergy multiplier and summing the results, the expected cumulative damage of skills along the path can be evaluated.
[0105] Step S820: Determine the control coverage benefit value as the second benefit indicator based on the control state type and duration applied by each skill node in the candidate skill linkage path.
[0106] The second revenue metric is calculated by integrating the duration of the control states generated at each stage of the path over time, and is used to evaluate the control gain. The second revenue metric can be determined using the following formula: Formula 10 In the formula, Effec() represents the type of control effect that can be applied by skill s_i, Duration() represents the duration of the control effect on the target, and μ(·) is a preset control weight coefficient for the type of control effect. For example, strong control states such as stun, knockback, and freeze correspond to higher weights, while weak control states such as slow and silence correspond to lower weights. The control gain is obtained by calculating the time integral of this formula.
[0107] Step S830: Based on the historical collaboration records between player nodes corresponding to adjacent skill nodes in the candidate skill synergy path, determine the player collaboration compatibility as the third benefit indicator.
[0108] The third benefit metric is used to evaluate the social collaboration capability of the path, and can be determined by the following formula: Formula 11 In the formula, This represents the total number of different player nodes participating in executing the candidate skill synergy path P. ≥2); p i and p i+1 These represent the player nodes that execute adjacent actions in the path; Intimacy(p i , p i+1 ) represents the player node p i With p i+1 The normalized value of the historical cumulative number of times they teamed up together; SuccessRate_hist(p i , p i+1 The formula represents the actual success rate of two players triggering synergy in historical battles; α and β are the weighted coefficients of intimacy and historical success rate, respectively, satisfying α + β = 1. Based on this formula, combining the intimacy between adjacent players participating in path collaboration with the historical synergy success rate for weighted summation helps improve the recommendation fit in temporary collaborative teams that are not fixed teams.
[0109] Step S840: Determine the positive return indicator based on the first return indicator, the second return indicator, and the third return indicator.
[0110] After obtaining the first, second, and third revenue indicators, the positive revenue indicators can be obtained by using preset weighting coefficients to perform a weighted summation of each revenue indicator.
[0111] This disclosure comprehensively measures the overall contribution of a combo path to team combat by simultaneously calculating three different dimensions of positive benefit indicators: cumulative expected damage, control coverage benefit, and player synergy. It includes direct output capability (expected damage), as well as the ability to suppress the enemy (control coverage) and the team's execution-level synergy foundation (player synergy). This effectively avoids the problems of combo failure or poor effect caused by a single indicator-oriented recommended scheme, such as high output but difficult actual combat coordination or sufficient damage but lack of control connection.
[0112] In one exemplary embodiment, the skill gain metric includes a negative penalty metric. This disclosure also provides an implementation method for determining the skill gain metric. For example... Figure 9 Based on the current state attributes of each entity node on each candidate skill linking path, the skill benefit index of the candidate skill linking path is determined, which also includes: Step S910: Based on the current health status and current aggro status of the player nodes corresponding to each skill node in the candidate skill combo path, determine the survival risk value of executing the candidate skill combo path as the first penalty indicator.
[0113] For each path, in addition to the benefit gains, the penalty factors affecting the realization of combos must also be considered. The first penalty indicator is used to assess the player's survival pressure in the game. The first penalty indicator can be determined by the following formula: Formula 12 In the formula, p(s) i ) indicates the release of skill s i player nodes, threat(p(s) i )) represents the player node p(s) i The current level of hate threat or threat rating from the enemy (normalized value), HP_ratio(p(s) i The percentage of remaining health for that player node is represented by the formula. This formula quantifies the execution risk of a low-health, high-aggro player when executing an offensive combo path, thus allowing for a reasonable penalty. Therefore, if the player currently executing a combo is low-health and facing high-aggro threat, a survival pressure penalty should be increased to guide the recommended outcome towards a defensive or recovery combo.
[0114] Step S920: Determine the second penalty indicator based on the resource consumption of each skill node in the candidate skill linkage path and the current available resources of the player node corresponding to the skill node.
[0115] The second penalty metric measures the degree to which a player's core energy resources are consumed as a result of a path. It can be determined by the following formula: Formula 13 In the formula, Cost(s) i ) indicates the release of skill s i The required mana, energy, or internal force value, Resource_current(p(s i )) represents the player node p(s) i ) When releasing skills i The previous remaining available resources. This formula helps avoid recommending high-resource-consumption combo paths to players who are running out of resources.
[0116] Step S930: Obtain the spatial distance between the player node and the enemy node, the skill casting distance, the response time interval between adjacent skill nodes, and the duration of the state applied by the preceding skill in each skill node in the candidate skill chain path, and determine the execution window risk value of the candidate skill chain path as the third penalty indicator.
[0117] The third penalty metric is used to assess the physical or temporal risk of the execution path. It can be determined by the following formula: Formula 14 In the formula, d(p i (, target) represents the player node p i The physical distance to the target, Range(s) i ) represents the skill casting range, v move Player movement speed; t_gap(s) i , s i+1 The ) represents the time interval between the release of skills. This indicator quantifies the probability of action chain disruption caused by physical spatial displacement and the risk of skill timing margin.
[0118] Step S940: Determine the skill benefit index of the candidate skill linkage path based on the positive benefit index, the first penalty index, the second penalty index, and the third penalty index.
[0119] After obtaining the penalty indicators, the penalty indicators and positive benefit indicators are weighted and summed using preset weight coefficients to obtain the skill benefit indicators of the candidate skill linkage path.
[0120] This disclosure calculates the survival risk penalty value by obtaining the current health percentage and threat level of the executing player, and can assess the survival pressure that the recommended path may bring to the player during execution. In this way, it can avoid short-sighted behavior such as recommending high-yield but causing the player to die, and improve the safety and fault tolerance of the recommended scheme in actual combat.
[0121] In one exemplary embodiment, an implementation method for path conflict detection is also provided. For example... Figure 10 Based on skill benefit metrics and candidate skill synergy paths, path conflict detection is performed to determine recommended skill synergy paths from the candidate paths based on the detection results. This may include: Step S1010: Determine each candidate skill link path as a vertex, and use the skill benefit index of each candidate skill link path as the vertex weight.
[0122] Step S1020: Perform conflict detection on any two candidate skill linking paths. If there is a resource occupation conflict between the two candidate skill linking paths, establish a conflict edge between the two vertices corresponding to the two candidate skill linking paths to construct a path conflict undirected graph.
[0123] Step S1030: Based on the path conflict undirected graph, determine at least one set of vertex subsets containing non-adjacent fixed vertices, and determine the recommended skill combo path according to the vertex weights of each vertex in the vertex subset.
[0124] After obtaining the candidate skill synergy paths, these paths can be sorted in descending order according to skill benefit metrics for multi-path conflict detection. For example... Figure 11 Each candidate skill linking path can be abstracted as a vertex of a conflict-ridden undirected graph Gconflict=(Vp, E_conflict). When there is at least one type of resource occupation conflict between two paths P1 and P2, an undirected conflict edge is established between vertices P1 and P2, and the skill benefit index of the candidate skill linking path is assigned as the vertex weight, thereby constructing the path conflict-ridden undirected graph.
[0125] Resource occupation conflicts include at least one of the following types: at least two candidate skill synergy paths require the same player node to perform different skill actions at the same time; at least two candidate skill synergy paths require the same player node to release the same skill within the same time period; at least two candidate skill synergy paths have overlapping execution time windows of at least two skill nodes; at least two candidate skill synergy paths contain battlefield states that are mutually exclusive or cannot coexist with the same enemy node.
[0126] After obtaining the path-conflicting undirected graph, at least one subset of vertices containing non-adjacent vertices can be determined based on it. The recommended skill synergy path is then determined according to the vertex weights within this subset. For example, a Maximum Weight Independent Set Solver (MWIS) can be used to solve for a subset of vertices that are completely non-adjacent (i.e., non-conflicting) and have the largest sum of vertex weights. The paths corresponding to this subset are then the optimal recommended synergy path set that avoids global resource conflicts and maximizes overall benefit; this is the final recommended skill synergy path.
[0127] This disclosure transforms multi-player simultaneous recommendation into a graph theory problem by abstracting each candidate path as a vertex and the conflict relationship between paths as an edge. Through the ability of multi-terminal concurrent collaborative recommendation, it improves the accuracy of skill linkage path recommendation.
[0128] In one exemplary embodiment, link instruction information can also be rendered between entity nodes corresponding to the recommended skill link paths in the current game scene, based on the recommended skill link paths.
[0129] After determining the recommended skill combo path, the client can render combo indication information, such as a parabolic third-order Bézier curve, between entity nodes such as the current player, teammates, and the target being attacked in the current game scene. Optionally, this rendered combo indication information can include animation effects, such as dynamic light flow effects, where the direction of the light flow represents the temporal flow of the combo skill, enabling users to quickly identify the tactical initiation point and the appropriate time for their side to intervene.
[0130] Optionally, skill enhancement indicators can be used to indicate the timing of combo attacks. For example, the icon of the skill the local player needs to release is surrounded by a time-shrinking circle, and the inward shrinking speed of the circle is strictly synchronized with the optimal response countdown for the combo. The moment the shrinking circle overlaps with the outer frame of the skill icon is the optimal hit window, at which point releasing the skill will maximize the synergy bonus and success rate.
[0131] In one exemplary embodiment, an implementation of a failed replanning path is also provided, the implementation comprising: First, in response to a target failure event in the recommended skill synergy path, the aggregated embedding representation is updated based on the target failure event to obtain the updated aggregated embedding representation, and the currently available candidate skill set is determined.
[0132] Secondly, based on the updated aggregated embedding representation, starting from the player node corresponding to the target failure event, a synergy path search is performed in the currently available candidate skill set to obtain multiple reference skill synergy paths.
[0133] Next, path conflict detection is performed based on the skill benefit index of the reference skill synergy path and the reference skill synergy path, and backup skill synergy paths are determined from the reference skill synergy paths according to the detection results.
[0134] Finally, render the combo instruction information between the entity nodes corresponding to the backup skill combo paths in the current game scene.
[0135] The target failure events include, but are not limited to, skill misuse, skill chain breakage, being countered by the enemy, or skill failure due to exceeding the displacement limit, resulting in the inability to achieve the determined recommended skill combo path. The latest "current game scene slice" at the moment the target failure event occurs can then be obtained, including the health of each entity, the currently attached control / protection status, the latest cooldown and energy of backup skills, etc., and the aggregated embedding representation is updated accordingly to obtain the updated aggregated embedding representation, and the currently available candidate skill set is determined. The process of updating the aggregated embedding representation is consistent with the method of obtaining the aggregated embedding representation described above. Furthermore, based on the updated aggregated embedding representation, the process of searching for combo paths within the currently available candidate skill set, starting from the player node corresponding to the target failure event, to obtain multiple reference skill combo paths, and performing path conflict detection to determine backup skill combo paths, is also consistent with the above determination process and will not be repeated here.
[0136] Once an alternative skill combo path is obtained, the guidance of the originally invalid recommended combo path can be replaced, so that the recommended skill combo path to the user is always the most suitable.
[0137] For example, such as Figure 12The diagram illustrates a visually guided skill combo. In actual implementation, during idle state 1201, battlefield characteristics are continuously monitored. When a player successfully applies a pre-emptive status effect such as armor penetration or stun, and the maximum path benefit calculated by the path recommendation engine meets preset conditions, the state transitions to recommendation ready 1202, and a weak prompt and skill combo preparation are displayed on the relevant teammate clients. In recommendation ready 1202, a recommendation guide is displayed. If the target dies prematurely within the recommendation window, the distance exceeds a threshold, or the player does not respond due to a timeout, the system smoothly reverts to idle state 1201 and fades out the guide elements. If the local player or a cooperating teammate releases the first recommended skill within the specified response window, the combo is considered activated, and the state immediately transitions to combo activation waiting 1203. A 3D Bezier guide line, dynamic flowing light effects, and a shrinking circle representing the local player's skill timing are activated across multiple platforms. During combo activation waiting 1203, the system detects skill release events at each node every frame. If all subsequent skills in the path hit precisely within their respective optimal timing contraction circles, completing the combo perfectly, the status will jump to Execution Success 1204, playing the preset multi-player cooperative attack animation, calculating the cooperation bonus, and archiving the data before returning to the idle state. Conversely, if during the combo activation waiting 1203, a teammate misuses a skill, the skill chain breaks, is countered by the enemy, or the skill misses due to exceeding the displacement limit, the system will immediately determine that the combo chain is broken, and the status will jump to Execution Failure 1205. In the Execution Failure 1205 state, upon determining failure, the system does not clear the visual guidance immediately but immediately performs failure replanning in the server's recommended thread. Combining the current battlefield snapshot and other available backup skills, a defensive or emergency recovery combo path is generated. If the replanning fails and succeeds, the state machine jumps back to the recommendation ready state 1202 and displays a remedial path guide; if there is no valid path to plan, the guidance fades out smoothly, the failure event is recorded and the short-term social collaboration credibility is reduced, and then it completely reverts to the idle state 1201, thus achieving a highly reliable and interference-resistant recommendation interaction closed loop.
[0138] The skill synergy recommendation method in games, as disclosed in the exemplary embodiments, improves the global semantic expression depth and modeling accuracy of game servers when dealing with complex, highly dynamic multiplayer combat scenarios by constructing a collaborative graph to uniformly model virtual objects and their interactive relationships in the game, thus providing a foundation for recommending skill synergy paths. On the other hand, the current state attributes of each entity node are used to filter the skills of player nodes. Based on aggregated embedding representations, synergy path searches are performed in the candidate skill set starting from the synergy trigger source node, avoiding the recommendation of unrealistic and invalid paths. Furthermore, path conflict detection is performed based on the skill benefit indicators of candidate skill synergy paths, and the final recommended skill synergy path is determined accordingly. This helps improve the success rate of temporary team collaboration, reduces the adaptability during skill synergy, lowers communication costs, and enhances the game experience.
[0139] In an exemplary embodiment of this disclosure, a skill combo recommendation device for games is also provided. (See reference...) Figure 13 As shown, the device 1300 may include a map construction module 1310, a skill screening module 1320, a path search module 1330, and a path determination module 1340. Specifically: The graph construction module 1310 is used to construct a collaboration graph based on the information of virtual objects in the current game scene and the interaction relationships between virtual objects, and to encode the collaboration graph to obtain an aggregated embedding representation; the skill filtering module 1320 is used to filter the skills of player nodes based on the current state attributes of each entity node in the collaboration graph to obtain a candidate skill set for the player nodes; the path search module 1330 is used to determine the link trigger source node from the player nodes, and based on the aggregated embedding representation, to search for link paths in the candidate skill set starting from the link trigger source node to obtain multiple candidate skill link paths; the path determination module 1340 is used to determine the skill benefit index of the candidate skill link path based on the current state attributes of each entity node on each candidate skill link path, and to perform path conflict detection based on the skill benefit index and the candidate skill link path, so as to determine a recommended skill link path from the candidate skill link paths based on the detection results.
[0140] In one exemplary embodiment of this disclosure, the step of constructing a collaborative graph based on virtual object information and the interactive relationships between virtual objects in the current game scene includes: determining entity nodes and node feature vectors of the entity nodes based on the virtual object information, wherein the entity nodes include player nodes, enemy nodes, skill nodes, and game status nodes; determining associated edges and associated edge feature vectors of the associated edges based on the interactive relationships between the entity nodes, wherein the associated edge feature vectors are used to represent the collaborative relationships between the entity nodes; and constructing the collaborative graph based on the entity nodes, node feature vectors, associated edges, and associated edge feature vectors.
[0141] In one exemplary embodiment of this disclosure, the graph construction module 1310 is further configured to perform: in response to the triggering of a preset event, obtain the target node and target associated edge corresponding to the preset event in the collaborative graph; update the node feature vector of the target node according to the preset event, and update the connection state and associated edge feature vector of the target associated edge.
[0142] In an exemplary embodiment of this disclosure, the step of characterizing the collaborative graph to obtain an aggregated embedding representation includes: for each entity node, determining the node type of the entity node and determining a corresponding preset projection matrix based on the node type; projecting the node feature vector of the entity node according to the preset projection matrix to obtain an initial embedding representation of the entity node, wherein the initial embedding representations of each entity node have the same latent feature dimension; and using a graph attention network to aggregate neighborhood features of the collaborative graph based on the initial embedding representations of each entity node to obtain the aggregated embedding representation.
[0143] In an exemplary embodiment of this disclosure, the step of using a graph attention network to aggregate neighborhood features of the collaborative graph based on the initial embedding representations of each entity node to obtain the aggregated embedding representation includes: using the initial embedding representations of each entity node as input node features of the first layer of the graph attention network; calculating the first attention weights between each entity node and its neighboring nodes in the first layer of the graph attention network, and weighting and aggregating the initial embedding representations of the neighboring nodes according to the first attention weights to obtain the first-layer aggregated embedding representations of each entity node; in the (N+1)th layer of the graph attention network, using the Nth-layer aggregated embedding representation as input node features of the current layer, calculating the (N+1)th attention weights between each entity node and its neighboring nodes, and weighting and aggregating the Nth-layer aggregated embedding representations of the neighboring nodes according to the (N+1)th attention weights to obtain the (N+1)th-layer aggregated embedding representations of each entity node, where N≥1; if a preset number of network layers is reached, using the last layer aggregated embedding representation as the aggregated embedding representation for path search.
[0144] In one exemplary embodiment of this disclosure, the step of filtering the skills of a player node based on the current state attributes of each entity node in the collaboration graph to obtain a candidate skill set for the player node includes: verifying the cooldown time of the player node's skills and filtering a first candidate skill set that meets a preset cooldown constraint, wherein the preset cooldown condition is used to characterize that the skill has completed its cooldown when the skill link path extends to the skill node; verifying the resource consumption of the skills in the first candidate skill set and filtering a second candidate skill set that meets a preset resource constraint, wherein the second candidate skill set is used to characterize that the player node has the resources to release the skill; verifying the spatial distance of the skills in the second candidate skill set and filtering a third candidate skill set that meets a preset spatial constraint, wherein the preset spatial constraint is used to characterize that the spatial distance between the player node and the target enemy node satisfies the movement distance for releasing the skill; and determining the candidate skill set of the player node from the third candidate skill set based on the interception and / or shielding attributes of the target enemy node for the skill.
[0145] In an exemplary embodiment of this disclosure, the step of determining the link trigger source node from the player nodes and, based on the aggregated embedding representation, performing a link path search in the candidate skill set starting from the link trigger source node to obtain multiple candidate skill link paths includes: in response to a target event trigger, obtaining the entity node corresponding to the target event as the link trigger source node; using the link trigger source node as the root node of the path search tree, expanding the path branches layer by layer downwards, wherein: under each path branch of the current search layer, obtaining skills that satisfy preset physical state constraints from the candidate skill set as candidate expansion nodes; calculating the local benefit score of each candidate expansion node based on the aggregated embedding representation corresponding to each candidate expansion node and its neighboring nodes; and obtaining the K path branches with the highest local benefit scores from all expanded path branches in the current search layer to continue expanding to the next layer, pruning and deleting the remaining path branches, where K is a preset bundle width; repeating the layer-by-layer expansion and pruning process until the preset expansion termination condition is reached to terminate the search, and determining the remaining path branches as the multiple candidate skill link paths.
[0146] In an exemplary embodiment of this disclosure, the step of obtaining skills satisfying preset physical state constraints from the candidate skill set as candidate expansion nodes under each path branch of the current search layer includes: for the terminal skill of the path branch and the skills to be expanded in the candidate skill set, verifying whether the difference between the hit time of the skill to be expanded and the hit time of the terminal skill exceeds the remaining valid duration of the state applied by the terminal skill; if it exceeds, the skill to be expanded is removed; verifying whether the time windows of the same player node executing the terminal skill and the skill to be expanded overlap; if they overlap, the skill to be expanded is removed; and obtaining the unremoved skills to be expanded as the candidate expansion nodes of the current search layer.
[0147] In one exemplary embodiment of this disclosure, the skill benefit index includes a positive benefit index. Determining the skill benefit index of each candidate skill synergy path based on the current state attributes of each entity node on each candidate skill synergy path includes: calculating the cumulative expected damage value of the candidate skill synergy path based on the damage attributes and skill synergy multiplier relationship of each skill node in the candidate skill synergy path, as a first benefit index; determining the control coverage benefit value based on the control state type and duration applied by each skill node in the candidate skill synergy path, as a second benefit index; determining the player cooperation compatibility based on the historical cooperation records between player nodes corresponding to adjacent skill nodes in the candidate skill synergy path, as a third benefit index; and determining the positive benefit index based on the first, second, and third benefit indices.
[0148] In one exemplary embodiment of this disclosure, the skill benefit index includes a negative penalty index. Determining the skill benefit index of the candidate skill synergy path based on the current state attributes of each entity node on each candidate skill synergy path further includes: determining a survival risk value for executing the candidate skill synergy path based on the current health and aggro status of the player node corresponding to each skill node in the candidate skill synergy path, as a first penalty index; determining a second penalty index based on the resource consumption of each skill node in the candidate skill synergy path and the current available resources of the player node corresponding to the skill node; obtaining the spatial distance between the player node and enemy node corresponding to each skill node in the candidate skill synergy path, the skill casting distance, the response time interval between adjacent skill nodes, and the duration of the state applied by the preceding skill, and determining an execution window risk value for the candidate skill synergy path, as a third penalty index; and determining the skill benefit index of the candidate skill synergy path based on the positive benefit index, the first penalty index, the second penalty index, and the third penalty index.
[0149] In one exemplary embodiment of this disclosure, the step of performing path conflict detection based on the skill benefit index and the candidate skill synergy paths to determine a recommended skill synergy path from the candidate skill synergy paths according to the detection result includes: determining each candidate skill synergy path as a vertex and using the skill benefit index of each candidate skill synergy path as the vertex weight of the corresponding vertex; performing conflict detection on any two candidate skill synergy paths, and if there is a resource occupation conflict between the two candidate skill synergy paths, establishing a conflict edge between the two vertices corresponding to the two candidate skill synergy paths to construct a path conflict undirected graph; and determining at least one set of vertex subsets containing non-adjacent vertices based on the path conflict undirected graph, and determining the recommended skill synergy path according to the vertex weight of each vertex in the vertex subset.
[0150] In one exemplary embodiment of this disclosure, the resource occupation conflict includes at least one of the following types: at least two candidate skill synergy paths require the same player node to perform different skill actions at the same time; at least two candidate skill synergy paths require the same player node to release the same skill within the same time period; at least two candidate skill synergy paths have overlapping execution time windows of at least two skill nodes; at least two candidate skill synergy paths contain battlefield states that are mutually exclusive or cannot coexist with the same enemy node.
[0151] In one exemplary embodiment of this disclosure, the apparatus further includes: The information prompt module is configured to: render synergy indication information between entity nodes corresponding to the recommended skill synergy path in the current game scene, based on the recommended skill synergy path.
[0152] In one exemplary embodiment of this disclosure, the apparatus further includes a path replanning module configured to perform: in response to a target failure event occurring in the recommended skill synergy path, updating the aggregated embedding representation based on the target failure event to obtain an updated aggregated embedding representation, and determining a currently available candidate skill set; based on the updated aggregated embedding representation, searching for synergy paths in the currently available candidate skill set, starting from the player node corresponding to the target failure event, to obtain multiple reference skill synergy paths; performing path conflict detection based on the skill benefit index of the reference skill synergy paths and the reference skill synergy paths, and determining a backup skill synergy path from the reference skill synergy paths based on the detection result; and rendering synergy indication information between entity nodes corresponding to the backup skill synergy paths in the current game scene.
[0153] Since the details of each functional module of the skill combo recommendation device in the game in the exemplary embodiments of this disclosure have been described in the exemplary embodiments of the skill combo recommendation method in the game described above, they will not be repeated here.
[0154] It should be noted that although several modules or units of the skill combo recommendation device in the game have been mentioned in the detailed description above, this division is not mandatory. In fact, according to the embodiments of this disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.
[0155] Exemplary embodiments of this disclosure also provide a computer program product. The computer program product includes a computer program that, when executed by a processor, implements the aforementioned skill combo recommendation method in a game.
[0156] In one implementation, the computer program product can be a tangible product containing a computer program, such as a computer-readable storage medium storing the computer program. The readable storage medium can be a storage medium based on electrical, magnetic, optical, electromagnetic, infrared, or other signals, including but not limited to: random access memory (RAM), read-only memory (ROM), magnetic tape, floppy disk, flash memory, hard disk drive (HDD), solid-state drive (SSD), etc. For example, the computer program product can be implemented as a non-volatile storage medium storing a computer program, such as read-only memory, NAND flash memory, etc.
[0157] In one implementation, the computer program product can be an intangible product containing a computer program. For example, the computer program product can be implemented as a virtual digital product, such as an executable file, installation package, or other digital file storing the computer program.
[0158] Computer program code can be written in one or more programming languages. Examples of programming languages include C, Java, and C++. Program code can execute entirely on the user's computing device, partially on the user's computing device, or as a standalone software package. It can also execute partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, such as a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via an internet connection provided by a mobile network operator).
[0159] Computer programs can be carried or transmitted via signals such as electricity, magnetism, light, electromagnetic fields, and infrared radiation. Electronic devices can convert the signals carrying computer programs into digital signals, thereby running the computer programs. When a computer program runs on an electronic device, its code is used to cause the electronic device to execute (more specifically, to execute) the method steps of various exemplary embodiments of this disclosure, such as the skill combo recommendation method in the game described above.
[0160] Furthermore, in an exemplary embodiment of this disclosure, an electronic device capable of implementing the above-described method is also provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to perform an exemplary method of any of the above-described methods by executing the executable instructions.
[0161] The following is for reference. Figure 14 The electronic device is illustrated by way of a general-purpose computing device. It should be understood that... Figure 14 The electronic device 1400 shown is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments disclosed herein.
[0162] like Figure 14 As shown, the electronic device 1400 may include: a processor 1410, a memory 1420, a bus 1430, an I / O (input / output) interface 1440, and a network adapter 1450.
[0163] Memory 1420 may include volatile memory, such as RAM 1421 and cache unit 1422, and may also include non-volatile memory, such as ROM 1423. Memory 1420 may also include one or more program modules 1424, such program modules 1424 including, but not limited to: operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include an implementation of a network environment. For example, program module 1424 may include the modules in the above-described apparatus.
[0164] The processor 1410 may include one or more processing units, such as an AP (Application Processor), a modem processor, a GPU (Graphics Processing Unit), an ISP (Image Signal Processor), a controller, an encoder, a decoder, a DSP (Digital Signal Processor), a baseband processor, and / or an NPU (Neural-Network Processing Unit).
[0165] The processor 1410 can be used to execute executable instructions stored in the memory 1420 to perform method steps of various embodiments of this disclosure, such as... Figure 2 The steps are shown.
[0166] Bus 1430 is used to connect different components of electronic device 1400 and may include a data bus, an address bus and a control bus.
[0167] Electronic device 1400 can communicate with one or more external devices 1500 (such as keyboard, mouse, external controller, etc.) through I / O interface 1440.
[0168] Electronic device 1400 can communicate with one or more networks via network adapter 1450. For example, network adapter 1450 can provide mobile communication solutions such as 3G / 4G / 5G, or wireless communication solutions such as wireless LAN, Bluetooth, and near-field communication. Network adapter 1450 can communicate with other modules of electronic device 1400 via bus 1430.
[0169] In one embodiment, the electronic device 1400 further includes a display for displaying a graphical user interface.
[0170] although Figure 14As not shown in the diagram, other hardware and / or software modules may also be configured in the electronic device 1400, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (Redundant Arrays of Independent Disks) systems, tape drives, and data backup storage systems.
[0171] As can be seen from the above, the technical solutions disclosed herein can be implemented as methods, apparatus, systems, computer program products, storage media, electronic devices, etc. Those skilled in the art will understand that various aspects of this disclosure can be specifically implemented in the following forms: a completely hardware implementation, a completely software implementation (including firmware, microcode, etc.), or an implementation combining hardware and software aspects, which may be referred to as "circuit," "module," or "system," respectively.
[0172] It should be understood that this disclosure is not limited to the specific methods, steps, or structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. Those skilled in the art will readily conceive of other embodiments based on the specific implementations provided in this disclosure. Therefore, the specific implementations provided in this disclosure are merely exemplary, and the scope and spirit of this disclosure are indicated by the claims, and should cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary technical means in the art not disclosed in this disclosure.
Claims
1. A method for recommending skill combos in a game, characterized in that, include: Based on the information of virtual objects in the current game scene and the interaction relationships between virtual objects, a collaboration graph is constructed, and the collaboration graph is represented and encoded to obtain an aggregated embedding representation. Based on the current state attributes of each entity node in the collaboration graph, the skills of the player nodes are filtered to obtain the candidate skill set of the player nodes; Determine the link trigger source node from the player nodes, and based on the aggregated embedding representation, perform a link path search in the candidate skill set starting from the link trigger source node to obtain multiple candidate skill link paths. Based on the current state attributes of each entity node on each candidate skill linking path, the skill benefit index of the candidate skill linking path is determined, and path conflict detection is performed based on the skill benefit index and the candidate skill linking path, so as to determine the recommended skill linking path from the candidate skill linking paths according to the detection results.
2. The method according to claim 1, characterized in that, The step of constructing a collaboration graph based on virtual object information and the interaction relationships between virtual objects in the current game scene includes: The entity nodes and their node feature vectors are determined based on the virtual object information. The entity nodes include player nodes, enemy nodes, skill nodes, and game status nodes. Based on the interaction and association relationships between entity nodes, the associated edges and the associated edge feature vectors are determined, and the associated edge feature vectors are used to represent the collaborative relationships between entity nodes; The collaborative graph is constructed based on each entity node, node feature vector, associated edge, and associated edge feature vector.
3. The method according to claim 2, characterized in that, The method further includes: In response to the triggering of a preset event, the target node and target associated edge corresponding to the preset event are obtained in the collaboration graph; Based on the preset event, the node feature vector of the target node is updated, and the connection state and feature vector of the target associated edge are updated.
4. The method according to claim 2, characterized in that, The process of characterizing and encoding the cooperative graph to obtain an aggregated embedding representation includes: For each entity node, determine the node type of the entity node, and determine the corresponding preset projection matrix based on the node type; According to the preset projection matrix, the node feature vectors of the entity nodes are projected to obtain the initial embedding representation of the entity nodes. The initial embedding representations of each entity node have the same latent feature dimension. Based on the initial embedding representation of each entity node, a graph attention network is used to aggregate neighborhood features of the cooperative graph to obtain the aggregated embedding representation.
5. The method according to claim 4, characterized in that, The initial embedding representation based on each entity node is used to aggregate neighborhood features of the collaborative graph using a graph attention network to obtain the aggregated embedding representation, including: The initial embedding representation of each entity node is used as the input node feature of the first layer of the graph attention network; In the first layer of the graph attention network, the first attention weight between each entity node and its neighboring nodes is calculated, and the initial embedding representation of the neighboring nodes is weighted and aggregated according to the first attention weight to obtain the first layer aggregated embedding representation of each entity node. In the N+1th layer of the graph attention network, the Nth layer aggregated embedding representation is used as the input node feature of the current layer. The N+1th attention weight between each entity node and its neighboring nodes is calculated respectively. The Nth layer aggregated embedding representation of the neighboring nodes is weighted and aggregated according to the N+1th attention weight to obtain the N+1th layer aggregated embedding representation of each entity node, where N≥1. If the preset number of network layers is reached, the last layer's aggregated embedding representation will be used as the aggregated embedding representation for path search.
6. The method according to claim 1, characterized in that, The step of filtering player nodes' skills based on the current state attributes of each entity node in the collaboration graph to obtain a candidate skill set for the player nodes includes: The cooldown time of the player node's skills is verified, and a first candidate skill set that meets the preset cooldown constraints is selected. The preset cooldown conditions are used to indicate that the skill has completed its cooldown when the skill link path extends to the skill node. The resource consumption of the skills in the first candidate skill set is verified, and a second candidate skill set that meets the preset resource constraints is selected. The second candidate skill set is used to represent the amount of resources that the player node has to release skills. The spatial distance of the skills in the second candidate skill set is verified, and a third candidate skill set that meets the preset spatial constraints is selected. The preset spatial constraints are used to characterize that the spatial distance between the player node and the target enemy node meets the movement distance for releasing the skill. Based on the interception and / or shielding attributes of the target enemy node for skills, the candidate skill set of the player node is determined from the third candidate skill set.
7. The method according to claim 1, characterized in that, The step involves determining the link trigger source node from the player nodes, and based on the aggregated embedding representation, performing a link path search in the candidate skill set starting from the link trigger source node to obtain multiple candidate skill link paths, including: In response to the triggering of a target event, the entity node corresponding to the target event is obtained as the linked triggering source node; Using the linked trigger source node as the root node of the path search tree, the path branches are expanded downwards layer by layer, wherein: Under each path branch of the current search layer, skills that satisfy the preset physical state constraints are obtained from the candidate skill set as candidate expansion nodes. Based on the aggregated embedding representations corresponding to each candidate expansion node and its neighboring nodes, the local benefit score of each candidate expansion node is calculated. Among all the expanded path branches in the current search layer, the K path branches with the highest local benefit scores are obtained and expanded to the next layer. The remaining path branches are pruned and deleted, where K is the preset bundle width. Repeat the layer-by-layer expansion and pruning process until the preset expansion termination condition is met, at which point the search is terminated, and the remaining path branches are determined as the multiple candidate skill linkage paths.
8. The method according to claim 7, characterized in that, The step of obtaining skills that satisfy preset physical state constraints from the candidate skill set as candidate expansion nodes under each path branch of the current search layer includes: For the terminal skills of the path branch and the skills to be expanded in the candidate skill set, check whether the difference between the hit time of the skill to be expanded and the hit time of the terminal skill exceeds the remaining effective duration of the state applied by the terminal skill. If it exceeds, the skill to be expanded is removed. Verify whether the time windows of the same player node executing the terminal skill and the skill to be expanded overlap. If there is an overlap, remove the skill to be expanded. The skills that have not been removed and are to be expanded are selected as candidate expansion nodes for the current search layer.
9. The method according to claim 1, characterized in that, The skill benefit indicators include positive benefit indicators. Determining the skill benefit indicators for each candidate skill linking path based on the current state attributes of each entity node on each candidate skill linking path includes: Based on the damage attributes and skill synergy multiplier relationships of each skill node in the candidate skill synergy path, the cumulative expected value of the candidate skill synergy path is calculated as the first benefit indicator. Based on the control state type and duration applied to each skill node in the candidate skill linkage path, the control coverage benefit value is determined as the second benefit indicator. Based on the historical collaboration records between player nodes corresponding to adjacent skill nodes in the candidate skill synergy path, the player collaboration compatibility is determined as the third benefit indicator. The positive return indicator is determined based on the first return indicator, the second return indicator, and the third return indicator.
10. The method according to claim 9, characterized in that, The skill benefit index includes a negative penalty index. Determining the skill benefit index of each candidate skill linking path based on the current state attributes of each entity node on each candidate skill linking path further includes: Based on the current health status and current aggro status of the player nodes corresponding to each skill node in the candidate skill combo path, the survival risk value of executing the candidate skill combo path is determined as the first penalty indicator. The second penalty indicator is determined based on the resource consumption of each skill node in the candidate skill synergy path and the current available resources of the player node corresponding to the skill node. The spatial distance between the player node and the enemy node, the skill casting distance, the response time interval between adjacent skill nodes, and the duration of the state applied by the preceding skill are obtained for each skill node in the candidate skill synergy path. The execution window risk value of the candidate skill synergy path is determined as the third penalty indicator. The skill benefit index of the candidate skill linkage path is determined based on the positive benefit index, the first penalty index, the second penalty index, and the third penalty index.
11. The method according to claim 9, characterized in that, The step of performing path conflict detection based on the skill benefit index and the candidate skill synergy paths, and determining a recommended skill synergy path from the candidate skill synergy paths based on the detection results, includes: Each of the candidate skill linking paths is determined as a vertex, and the skill benefit index of each candidate skill linking path is used as the vertex weight. Conflict detection is performed on any two candidate skill linking paths. If there is a resource occupation conflict between the two candidate skill linking paths, a conflict edge is established between the two vertices corresponding to the two candidate skill linking paths to construct an undirected graph of path conflicts. Based on the path conflict undirected graph, at least one set of vertices containing non-adjacent fixed vertices is determined, and the recommended skill synergy path is determined according to the vertex weights of each vertex in the vertex subset.
12. The method according to claim 11, characterized in that, The resource occupancy conflict includes at least one of the following types: At least two candidate skill combo paths require the same player node to perform different skill actions at the same time; At least two candidate skill combo paths require the same player node to release the same skill within the same time period; At least two candidate skill synergy paths have overlapping execution time windows for at least two skill nodes; At least two candidate skill synergy paths contain battlefield states that are mutually exclusive or cannot coexist with the same enemy node.
13. The method according to any one of claims 1 to 12, characterized in that, The method further includes: Based on the recommended skill combo path, combo indication information is rendered between the entity nodes corresponding to the recommended skill combo path in the current game scene.
14. The method according to claim 13, characterized in that, The method further includes: In response to a target failure event occurring in the recommended skill synergy path, the aggregated embedding representation is updated based on the target failure event to obtain the updated aggregated embedding representation, and the currently available candidate skill set is determined. Based on the updated aggregated embedding representation, starting from the player node corresponding to the target failure event, a synergy path search is performed in the currently available candidate skill set to obtain multiple reference skill synergy paths. Based on the skill benefit index of the reference skill synergy path and the reference skill synergy path, path conflict detection is performed, and an alternative skill synergy path is determined from the reference skill synergy path according to the detection results. Render the combo instruction information between the entity nodes corresponding to the backup skill combo path in the current game scene.
15. A skill combo recommendation device in a game, characterized in that, include: The graph construction module is used to construct a collaboration graph based on the information of virtual objects in the current game scene and the interaction relationships between virtual objects, and to perform representation encoding on the collaboration graph to obtain an aggregated embedding representation. The skill filtering module is used to filter the skills of player nodes based on the current state attributes of each entity node in the collaboration graph, so as to obtain the candidate skill set of the player node. The path search module is used to determine the link trigger source node from the player nodes, and based on the aggregated embedding representation, perform a link path search in the candidate skill set starting from the link trigger source node to obtain multiple candidate skill link paths. The path determination module is used to determine the skill benefit index of the candidate skill linking path based on the current state attributes of each entity node on each candidate skill linking path, and to perform path conflict detection based on the skill benefit index and the candidate skill linking path, so as to determine the recommended skill linking path from the candidate skill linking paths according to the detection results.
16. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the method described in any one of claims 1 to 14.
17. An electronic device, characterized in that, include: processor; as well as Memory for storing the executable instructions of the processor; The processor is configured to perform the method of any one of claims 1 to 14 by executing the executable instructions.
