Method and device for switching skill group of virtual role, storage medium and computer device

By acquiring real-time environmental data of virtual battle scenarios and dynamically adjusting the skill sets of virtual characters, the problem of resource waste and insufficient strategy caused by fixed skill sets of virtual characters is solved, resulting in more efficient combat operations and improved experience.

CN123148652APending Publication Date: 2026-11-24GUANGZHOU YIWAN NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611544944.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-30
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

In existing technologies, the skill sets and faction configurations of virtual characters are fixed, which requires players to spend a lot of resources when joining a new faction. This results in low operational efficiency and limited strategic operation space, making it impossible to form diverse combat effects and reducing the overall experience.

Method used

It acquires real-time environmental data of the virtual battle scene, matches the current skill set of each virtual character in the battle lineup under the current environmental data, responds to the faction switching command, matches skill combinations through the candidate skill set, and dynamically adjusts the skill set of the target virtual character.

Benefits of technology

It enhances the strategic operation space and diversity in the combat process, improves the efficiency of players' resource investment and operation experience, and breaks the limitations of traditional fixed skill sets.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123148652A_ABST
    Figure CN123148652A_ABST
Patent Text Reader

Abstract

The method, device, storage medium, and computer equipment for switching skill sets of virtual characters provided in this application determine the current skill set of each virtual character in the battle lineup in real time under the current environmental data of the virtual battle scene during combat, so that the available skills of the character always remain adapted to the current environmental conditions. This application supports switching of the faction of characters during combat. If a faction switching command for a target virtual character is triggered, the faction of that character is switched to the faction of the target character. At the same time, the candidate skill set corresponding to the target character is determined according to the faction of the target character, and the skill combination is matched in the candidate skill set based on the current environmental data and the current skill sets of other characters to select the target skill set that is best adapted to the current battle scene and lineup. The current skill set of the character is then switched to the target skill set. In this way, the diversity of combat effects can be improved through the player's real-time decision-making during combat, thereby improving the efficiency of the player's resource investment operation in the long run and improving the player's operating experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of game technology, and in particular to a method, apparatus, storage medium, and computer device for switching skill sets of a virtual character. Background Technology

[0002] With the continuous development of game technology, virtual characters in combat games are gradually becoming richer in character roles, faction mechanisms, and skill configurations, significantly improving the strategic depth and playability of the games.

[0003] Currently, the game features multiple factions with strengths and weaknesses against each other. Virtual characters are fixedly configured with a skill set including multiple skills and belong to a specific faction. Before battle, players can select appropriate skills for their characters based on the enemy lineup or their own tactical preferences, and then control their virtual characters to unleash these skills during combat. However, when a new faction appears, players need to re-develop characters within that faction before adding them to their existing team. This requires significant resources, reducing player efficiency in the long run. Furthermore, the fixed skill set configuration limits strategic options during battles, hindering diverse combat effects and diminishing the overall experience. Summary of the Invention

[0004] The purpose of this application is to address at least one of the aforementioned technical defects, particularly the fixed skill sets and faction configurations of virtual characters in existing technologies. For players, reinvesting in a new faction requires a significant amount of resources, which reduces player operational efficiency in the long run and limits strategic options during combat, hindering the creation of diverse combat effects and diminishing the overall experience.

[0005] This application provides a method for switching skill sets of a virtual character, the method comprising: Real-time acquisition of current environmental data in the virtual battle scene during the battle; Match the current skill set of each virtual character in the battle lineup under the current environment data; In response to the faction switching command of the target virtual character, the current faction of the target virtual character is switched to the corresponding target character faction, and the candidate skill set corresponding to the target virtual character is determined according to the target character faction; Based on the current environment data and the current skill sets of other virtual characters in the battle lineup, skill combination matching is performed in the candidate skill set to obtain the target skill set, and the current skill set of the target virtual character is switched to the target skill set.

[0006] Optionally, the real-time acquisition of current environmental data of the virtual combat scene during the combat process includes: The system retrieves scene type and terrain data of the virtual battle scene from the scene database, and monitors the weather and time data of the virtual battle scene in real time. The current environmental data of the virtual battle scene during the battle is generated based on the scene type, terrain data, weather data, and time data.

[0007] Optionally, the current skill set of each virtual character in the matched battle lineup under the current environment data includes: Determine the current character faction of each virtual character in the battle lineup combination, and obtain the set of candidate skills corresponding to each virtual character in its current character faction; Based on the preset skill synergy mechanism and the current environment data, the suitability of each candidate skill set is screened to obtain the current skill set of each virtual character under the current environment data.

[0008] Optionally, the adaptation screening of each candidate skill set based on the preset skill synergy mechanism and the current environment data to obtain the current skill set of each virtual character under the current environment data includes: The skill synergy relationships between different candidate skill sets are determined based on a pre-set skill synergy mechanism. Based on the skill synergy relationships, multiple candidate skill combinations and synergistic bonuses in each candidate skill combination are determined; wherein, each candidate skill in each candidate skill combination comes from a different set of candidate skills; Determine the environmental impact factor of each candidate skill in each candidate skill set under the current environmental data, and calculate the environmental impact effect of each candidate skill based on each environmental impact factor; Based on the synergistic bonus effect of each candidate skill combination and the environmental impact effect of each candidate skill, a comprehensive evaluation of each candidate skill set is conducted to select the current skill set for the corresponding virtual character from each candidate skill set.

[0009] Optionally, the comprehensive evaluation of each candidate skill set based on the synergistic bonus effect of each candidate skill combination and the environmental impact effect of each candidate skill, to select the current skill set of the corresponding virtual character from each candidate skill set, includes: The modified skill parameters for each candidate skill are calculated based on the initial skill parameters and environmental impact effects of each candidate skill. Based on the preset number of selections and the synergistic bonus effect of each candidate skill combination, the modified skill parameters of each candidate skill are optimized collaboratively in each candidate skill set to select the current skill group of the corresponding virtual character from each candidate skill combination.

[0010] Optionally, before responding to the faction switching command of the target virtual character, the method further includes: In response to the user's triggering operation on the faction switching control corresponding to the target virtual character, the list of available factions for the target virtual character is displayed, and the current faction of the target virtual character is highlighted in the list of available factions; Receive the target character faction selected by the user from the list of available factions, and generate a faction switching command based on the target character faction.

[0011] Optionally, determining the candidate skill set corresponding to the target virtual character based on the target character's faction includes: Determine the active skill type and passive skill type of the target virtual character within the target character faction; Based on the active skill type and the passive skill type, a set of candidate skills corresponding to the target virtual character is obtained by filtering from a preset character skill library.

[0012] Optionally, the step of filtering a set of candidate skills corresponding to the target virtual character from a preset character skill library based on the active skill type and the passive skill type includes: Extract all skill data corresponding to the target virtual character from the preset character skill library; From the full set of skill data, a first set of skills corresponding to the active skill type and a second set of skills corresponding to the passive skill type are obtained; The first skill set and the second skill set are integrated to obtain a candidate skill set corresponding to the target virtual character.

[0013] Optionally, the step of matching skill combinations in the candidate skill set based on the current environment data and the current skill sets of other virtual characters in the battle lineup to obtain the target skill set includes: Obtain the current skill sets of other virtual characters in the battle lineup combination, and determine the skill synergy relationship between each candidate skill in the candidate skill set and the current skill sets of the other virtual characters; Based on the skill synergy relationships and the current environment data, a comprehensive parameter evaluation is performed on each candidate skill in the candidate skill set to obtain the parameter evaluation results. Based on the parameter evaluation results, a number of skills corresponding to the preset selection number are selected from the candidate skill set to form a target skill group.

[0014] Optionally, the step of comprehensively evaluating the parameters of each candidate skill in the candidate skill set based on the skill synergy relationship and the current environment data to obtain the parameter evaluation result includes: The synergistic bonus effect of each candidate skill in the candidate skill set is determined based on the skill synergy relationship, and the environmental impact effect of each candidate skill is determined based on the current environmental data. Obtain the initial skill parameters of each candidate skill, and then adjust the corresponding initial skill parameters according to the synergistic bonus effect and environmental influence effect of each candidate skill to obtain the comprehensive skill parameters; The parameter evaluation results of the candidate skill set are generated based on the comprehensive skill parameters of each candidate skill.

[0015] Optionally, after switching the current skill set of the target virtual character to the target skill set, the method further includes: Update the target character's faction and skill set to the lineup browsing interface of the battle lineup combination, as the target virtual character's new current character faction and skill set.

[0016] Optionally, the method further includes: During the battle in the virtual battle scene, if a change in the current environment data is detected, the current skill set of each virtual character is rematched based on the changed current environment data and the current character faction of each virtual character in the battle lineup combination.

[0017] This application also provides a skill set switching device for a virtual character, including: The data acquisition module is used to acquire real-time environmental data of the virtual combat scene during the combat process; The skill set matching module is used to match the current skill set of each virtual character in the battle lineup under the current environment data. The set determination module is used to respond to the faction switching command of the target virtual character, switch the current character faction of the target virtual character to the corresponding target character faction, and determine the candidate skill set corresponding to the target virtual character based on the target character faction; The skill group switching module is used to perform skill group matching in the candidate skill set based on the current environment data and the current skill groups of other virtual characters in the battle lineup, to obtain the target skill group, and to switch the current skill group of the target virtual character to the target skill group.

[0018] This application also provides a storage medium storing computer-readable instructions that, when executed by one or more processors, cause the one or more processors to perform the steps of the virtual character skill group switching method as described in any of the above embodiments.

[0019] This application also provides a computer device, including: one or more processors, and memory; The memory stores computer-readable instructions, which, when executed by the one or more processors, perform the steps of the virtual character skill group switching method as described in any of the above embodiments.

[0020] As can be seen from the above technical solutions, the embodiments of this application have the following advantages: The method, device, storage medium, and computer equipment for switching skill sets of virtual characters provided in this application can acquire the current environmental data of the virtual battle scene in real time during combat, and then match the current skill set of each virtual character in the battle lineup under the real-time environmental data, so that the available skills of the virtual characters are always adapted to the environmental conditions of the current scene. This application supports the switching of virtual characters' factions during combat. If a faction switching command for a target virtual character is triggered, the current faction of the target virtual character can be switched to the corresponding target character faction, thereby expanding the player's strategic operation space. At the same time, the candidate skill set corresponding to the target virtual character is determined according to the target character faction, which serves as the skill selection range. Here, based on the current environmental data and the current skill sets of other virtual characters in the battle lineup, skill combination matching can be performed in the candidate skill set to select the target skill set that is best adapted to the current battle scene and lineup, and the current skill set of the target virtual character can be switched to the target skill set. This can improve the diversity of combat effects through the player's real-time decision-making during combat, and in the long run, improve the efficiency of the player's resource investment and enhance the player's operating experience. Attached Figure Description

[0021] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0022] Figure 1 A schematic diagram of an application architecture provided for an embodiment of this application; Figure 2 A flowchart illustrating a skill group switching method provided in an embodiment of this application; Figure 3 A schematic diagram of an interface for a faction synergy rule provided in an embodiment of this application; Figure 4 A flowchart illustrating a current skill group selection process provided for an embodiment of this application; Figure 5 A schematic diagram of an interface for a list of selectable factions provided in this application; Figure 6 A flowchart illustrating a candidate skill set screening process provided in an embodiment of this application; Figure 7 A schematic diagram of a lineup browsing interface provided in an embodiment of this application; Figure 8 This is a schematic diagram of the structure of a skill group switching device provided in an embodiment of this application; Figure 9 This is a schematic diagram of the internal structure of a computer device provided in an embodiment of this application. Detailed Implementation

[0023] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0024] Currently, the game features multiple factions with strengths and weaknesses against each other. Virtual characters are equipped with a skill set and a faction, including multiple skills. Before battle, players can select appropriate skills for their characters based on the enemy lineup or their own tactical preferences, and then control their virtual characters to unleash these skills during combat. However, when a new faction appears, players need to re-develop characters within that faction before adding them to their existing lineup. This requires significant resources, reducing resource efficiency in the long run. Furthermore, the fixed skill configurations of virtual characters during combat limit strategic options, hindering diverse combat effects and diminishing the overall experience.

[0025] It should be noted that the skill set switching method for virtual characters in this application can be applied to various types of combat game scenarios, such as multiplayer online competitive scenarios, turn-based combat scenarios, card combat scenarios, open-world combat scenarios, dungeon challenge scenarios, and faction-based combat scenarios. It can also be applied to other interactive scenarios with character development, faction switching, and skill synergy mechanisms. Virtual characters can have different character factions, character roles, active skill types, and passive skill types. Skill sets can include one or more active skills and / or passive skills. Players can change the range of available skills for virtual characters through character development, quest rewards, event acquisition, faction switching, etc. This application does not specifically limit its application scenarios or skill types.

[0026] Furthermore, before describing the specific implementation process of this application, the application environment of this application will first be described. Please refer to [link / reference needed]. Figure 1 , Figure 1 A schematic diagram of an application architecture provided for an embodiment of this application; Figure 1 The application architecture includes server 110 and client 120. Server 110 can be of various types, such as a game server or application server. It can be used to store character skill libraries, scene databases, skill synergy mechanisms, battle lineup combination data, etc., and to process player requests and execute the core logic of virtual character skill group switching. Furthermore, server 110 can be a standalone physical server, a server cluster composed of multiple physical servers, or a distributed system. It can also be a cloud server that provides 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. Client 120 can be a terminal device such as a smartphone, tablet, personal computer, or smartwatch. Players interact with the game system through the graphical user interface of client 120, such as triggering the faction switching control, viewing the list of available factions, and viewing the character faction and current skill group in the lineup browsing interface. Server 110 and client 120 establish a communication connection through the network to achieve real-time data transmission and synchronization. For example, client 120 sends a faction switching command to server 110, and server 110 returns the target skill group and updates the lineup browsing interface.

[0027] It is understood that the above-mentioned method for switching skill sets of virtual characters can run on personal mobile terminals, on server 110, or on third-party devices to provide skill set switching for virtual characters. The specific method for switching skill sets of virtual characters can run as a program on the above-mentioned devices, or as a system component of the above-mentioned devices, or as a cloud service program. The specific operating mode depends on the actual scenario and is not limited here.

[0028] The specific implementation methods of this application will be described in detail below. For ease of understanding, the effectiveness evaluation method for virtual items proposed in this application will be explained in detail below with reference to the accompanying drawings. Please refer to the drawings. Figure 2 , Figure 2 A flowchart illustrating a skill group switching method provided in this application embodiment may specifically include the following steps: S110: Real-time acquisition of current environmental data of the virtual battle scene during the battle.

[0029] In this step, when players enter the virtual battle scene to fight, the game system can obtain the current environmental data of the virtual battle scene in real time, which serves as the basis for subsequent skill adaptation and adjustment.

[0030] The virtual combat scenario refers to the virtual environment in which the player is currently interacting in combat; the combat process refers to the continuous process from the start to the end of the combat interaction, including but not limited to character actions, skill releases, faction switching, and turn progression after the start of the combat. Furthermore, current environmental data can be used to characterize the environmental conditions of the virtual combat scenario at the current moment; through real-time acquisition, this application can continuously monitor the dynamic changes of the current environmental data during the combat process.

[0031] Specifically, once the virtual battle scene enters the combat phase, the game system can acquire the current environmental data of the virtual battle scene according to a preset acquisition period. This current environmental data can be read from the game system, cache, combat engine, or preset storage area by the server, or it can be collected by the client and uploaded to the server, or it can be acquired collaboratively by the server and client. The preset acquisition period can be set or dynamically adjusted based on at least one of the following: game type, combat real-time requirements, scene complexity, device performance, or server load; there are no restrictions on this. For example, in battle scenes with high real-time requirements, the game system can use a shorter acquisition period, while in turn-based or less real-time-required battle scenes, the game system can use a longer acquisition period.

[0032] Furthermore, in addition to acquiring data according to a preset collection cycle, this application can also trigger acquisition when an environmental change event is detected in the virtual battle scene. Examples include events such as players triggering weather-changing mechanisms, battles progressing to specific time points, or teams moving to different terrain areas. After detecting the environmental change event, the game system can acquire updated current environmental data, ensuring the timeliness and accuracy of the current environmental data during battle.

[0033] Understandably, by acquiring real-time environmental data, the game system can provide a data foundation for matching each virtual character with its current skill set under the current environmental data, enabling the available skills of virtual characters to adapt to changes in environmental conditions during combat, thereby enhancing the diversity of combat effects.

[0034] S120: Matches the current skill set of each virtual character in the battle lineup under the current environment data.

[0035] In this step, after obtaining the current environment data through step S110, the game system can match the current skill set of each virtual character in the battle lineup under the real-time environment data, so that the available skills of the virtual characters are always adapted to the environmental conditions of the current scene.

[0036] The battle lineup refers to the set of virtual characters that the player selects to fight during the current battle, which may include one or more virtual characters. The current skill set refers to the set of skills that a virtual character can use at the current moment, which may include one or more skills.

[0037] Specifically, the game system can pre-store skill configuration data for each virtual character. This skill configuration data can include information such as the available skills, skill attributes, applicable conditions, and effect parameters of the virtual character. Therefore, after obtaining the current environment data, the game system can search, compare, or calculate the corresponding skill configuration data for each virtual character in the battle lineup based on the current environment data, thereby determining the most effective skill set for that virtual character under the current environment data.

[0038] Furthermore, the skill matching in this application can be achieved through at least one of the following methods: preset mapping relationship, rule engine, scoring model, or machine learning model. As long as the appropriate skill set for each virtual character can be determined based on the current environment data, the specific matching method is not limited here. In addition, the matching process can be performed separately for all virtual characters in the battle lineup, sequentially according to a preset order, or in parallel to improve matching efficiency.

[0039] Understandably, the introduction of environmental data correlation matching in this application can ensure that the current skill set of each virtual character in the battle lineup is always compatible with the current environmental data, thereby improving the flexibility of strategy adjustment and the diversity of battle effects during the battle. In the long run, this improves the efficiency of players' resource investment and enhances the player's operating experience.

[0040] S130: In response to the faction switching command of the target virtual character, switch the current faction of the target virtual character to the corresponding target character faction, and determine the set of candidate skills corresponding to the target virtual character based on the target character faction.

[0041] In this step, after determining the current skill set of each virtual character through step S120, if the player triggers a faction switching command for any target virtual character during the battle, the game system can switch the current character faction of the target virtual character to the corresponding target character faction based on the faction switching command, thereby expanding the player's strategic operation space. At the same time, the system determines the candidate skill set corresponding to the target virtual character based on the target character faction, which serves as the skill selection range.

[0042] Among them, the target character faction refers to the faction type that the player selects to switch to when choosing a target virtual character through interactive operations, the target virtual character refers to the virtual character corresponding to the faction switching operation triggered by the player, and the candidate skill set is the set of all skills that the target virtual character can use under the target character faction, which is used to provide a filtering range for subsequent skill combination matching.

[0043] It should be noted that in this application, the same virtual character can be configured with at least two different selectable character factions, with different faction-specific skill compatibility ranges and faction synergy rules. (Illustratively, as shown...) Figure 3 As shown, Figure 3 A schematic diagram of an interface for a faction synergy rule provided in an embodiment of this application; Figure 3 In the example game scenario, the virtual characters' factions can include Faction 1, Faction 2, Faction 3, and Faction 4. These four factions have a rock-paper-scissors relationship, such as increasing enemy damage and / or reducing friendly damage. Furthermore, having multiple virtual characters of the same faction in the battle lineup at the same time can grant additional attribute bonuses. Based on this, players can flexibly switch between the existing factions of a virtual character in the battle scene, thereby preventing a single enemy lineup from becoming too powerful and lacking a natural counter, which would lead to monotonous battle effects and a loss of strategy in the later stages of the game.

[0044] Specifically, when the game system receives a faction-switching command triggered by a player, it first parses the command to determine the target virtual character and the faction of the selected target character to be switched to. Then, the game system updates the target virtual character's current faction to the target character's faction, completing the faction switch. It then searches the preset character skill library for skill data corresponding to the target virtual character based on the target character's faction, thereby determining the candidate skill set for the target virtual character within the target character's faction. During this process, the determination of the candidate skill set can be performed simultaneously with or after the faction switch; this application does not limit this process.

[0045] Understandably, by responding to player-triggered faction switching commands, this application can dynamically adjust the faction affiliation of a target virtual character during combat, while simultaneously generating a set of candidate skills for that virtual character, providing a foundation for subsequent skill set adaptation. This expands the strategic choices available to players during combat, breaking the traditional fixed limitation that faction and skill configuration can only be completed before combat.

[0046] S140: Based on the current environment data and the current skill sets of other virtual characters in the battle lineup, perform skill combination matching in the candidate skill set to obtain the target skill set, and switch the current skill set of the target virtual character to the target skill set.

[0047] In this step, after determining the candidate skill combination of the target virtual character through step S130, the game system can perform skill combination matching in the candidate skill set based on the current environment data and the current skill sets of other virtual characters in the battle lineup. From this, the system can select the target skill set that best matches the current battle scene and lineup, and switch the target virtual character's current skill set to the target skill set. This allows the diversity of battle effects to be improved through the player's real-time decision-making during the battle.

[0048] Specifically, after obtaining the candidate skill set corresponding to the target virtual character, the game system can acquire current environment data and the current skill sets of other virtual characters in the battle lineup. Using this information as a matching basis, the system searches, compares, or calculates within the candidate skill set to determine one or more candidate skills that constitute the target skill set. Skill set matching can be achieved through at least one of the following methods: preset matching rules, scoring mechanisms, weight calculation, or model prediction. The goal is simply to determine the target skill set from the candidate skill set by combining current environment data with the current skill sets of other virtual characters; no specific limitations are placed on the matching method for skill sets here.

[0049] Furthermore, after obtaining the target skill set, the game system can directly replace the target virtual character's current skill set with the target skill set, or it can perform the switch according to preset switching conditions or timing. For example, in turn-based combat scenarios, this application can wait until the target virtual character's current turn ends before performing the switch, or complete the switch before the target virtual character's next turn begins, thus ensuring the logical continuity of the combat flow. In real-time combat scenarios, this application can immediately perform the skill set switch operation after the faction switching command is triggered, ensuring that skill adjustments can take effect as soon as possible, meeting the player's needs for real-time strategic decision-making. The switching timing here can be preset according to the game's combat rules and gameplay type; this application does not impose specific limitations.

[0050] Understandably, this application combines current environmental data with the existing skill configurations of other characters in battle, allowing the target virtual character after switching factions to be directly adapted to the current combat environment and overall lineup. This eliminates the need for players to manually select skills one by one, expanding the strategic space without adding extra operational burden to players, thus balancing strategic depth and operational experience.

[0051] In one specific implementation, when a player triggers a faction-switching command for one of the virtual characters in a turn-based faction battle game, the game system can switch the virtual character's faction from faction one to faction two. At this time, the virtual character's candidate skill set is updated to the exclusive skill pool of faction two. The game system can perform an adaptability score based on the rainy weather of the current battle scene and the current skill sets of the other two virtual characters from faction two in the battle lineup. Finally, it selects the target skill set that can trigger skill synergy bonuses and adapts to the damage amplification rules of the rainy weather environment. After the current round ends, the virtual character's original skill set is switched to the target skill set. The virtual character can then use the skills in the target skill set to complete the combat operation in the next action round, achieving attribute restraint against the core character of the enemy faction one, thereby improving the overall battle win rate.

[0052] In the above embodiments, during the battle, the current environmental data of the virtual battle scene can be acquired in real time, and then the current skill set of each virtual character in the battle lineup can be matched under the real-time environmental data, so that the available skills of the virtual characters are always adapted to the environmental conditions of the current scene. This application supports the switching of virtual characters' factions during the battle. If a faction switching command for a target virtual character is triggered, the current character faction of the target virtual character can be switched to the corresponding target character faction, thereby expanding the player's strategic operation space. At the same time, the candidate skill set corresponding to the target virtual character is determined according to the target character faction, which serves as the skill selection range. Here, based on the current environmental data and the current skill sets of other virtual characters in the battle lineup, skill combination matching can be performed in the candidate skill set to select the target skill set that best matches the current battle scene and lineup. The current skill set of the target virtual character can then be switched to the target skill set. This allows the player to improve the diversity of battle effects through real-time decision-making during the battle, thereby improving the efficiency of the player's resource investment operation in the long run and enhancing the player's operating experience.

[0053] In one embodiment, the process of acquiring the current environmental data of the virtual battle scene in real time during the battle in step S110 may include: S111: Obtain scene type and terrain data of virtual battle scenes from the scene database, and monitor weather and time data of virtual battle scenes in real time.

[0054] S112: Generates current environmental data of the virtual battle scene during the battle based on scene type, terrain data, weather data, and time data.

[0055] In this embodiment, after a player enters a virtual battle scene, the game system can obtain the scene type and terrain data of the virtual battle scene from the scene database, as well as the weather and time data of the virtual battle scene in real time. Then, it can generate the current environmental data of the virtual battle scene during the battle based on the scene type, terrain data, weather data and time data, as the basis for subsequent skill adaptation and adjustment.

[0056] Understandably, the current environmental data of a virtual combat scenario is not determined by a single parameter, but rather by a combination of scenario type, terrain data, weather data, and time data. This results in the current environmental data encompassing both the static attributes of the scenario itself and the dynamic environmental conditions that change in real time during the combat. Specifically, scenario type can characterize the category of the virtual combat scenario, such as forest, city, water, snow, desert, or indoor scenarios; terrain data can characterize the terrain distribution and attributes within the virtual combat scenario, such as flat land, slopes, highlands, depressions, and obstacle distribution; weather data can characterize the weather state of the virtual combat scenario at the current moment, such as sunny, rainy, snowy, foggy, or windy; and time data can characterize the time state of the virtual combat scenario at the current moment, such as day, night, dusk, or dawn.

[0057] Specifically, scene type and terrain data can be pre-stored in a scene database. When a player enters a virtual battle scene, the game system can retrieve the corresponding scene type and terrain data from the scene database using scene identifiers, battle scene numbers, or map numbers. Weather and time data can be monitored in real-time by at least one of the following during the battle: the battle engine, the scene management module, the timer, or the environment simulation module. In this application, weather and time data can be collected according to a preset cycle, or collection can be triggered when weather change events or time progression events are detected.

[0058] Furthermore, after acquiring scene type, terrain data, weather data, and time data, the game system can combine, associate, or encapsulate these data to form a data set or data object that can characterize the current environmental conditions of the virtual combat scene. For example, the game system can treat scene type and terrain data as the static environment component, and weather and time data as the dynamic environment component. The static and dynamic environment components can then be integrated according to a preset data structure. The resulting current environment data can reflect both the inherent environmental characteristics of the virtual combat scene and the real-time changes in environmental conditions during combat, providing an accurate data foundation for subsequent skill matching of virtual characters.

[0059] In one embodiment, the process of matching the current skill set of each virtual character in the battle lineup under the current environment data in step S120 may include: S121: Determine the current character faction of each virtual character in the battle lineup and obtain the set of candidate skills for each virtual character in its current character faction.

[0060] S122: Based on the preset skill synergy mechanism and current environment data, perform adaptability screening on each candidate skill set to obtain the current skill set of each virtual character under the current environment data.

[0061] In this embodiment, after obtaining the current environment data of the virtual game scene, the game system can determine the current character faction of each virtual character in the battle lineup combination, and obtain the candidate skill set corresponding to each virtual character in its current character faction. Then, based on the preset skill synergy mechanism and the current environment data, the system performs adaptability screening on each candidate skill set, and generates a current skill set for each virtual character that matches the current environment data.

[0062] The skill synergy mechanism refers to the pre-defined rules for synergistic bonuses between different skills. It can trigger different attribute buffs, skill effect enhancements, or special skill unlocks for skill combinations of virtual characters from different factions and with different roles within the same battle lineup, thereby increasing the strategic depth of lineup combinations. It should be noted that the skill synergy mechanism in this application can be pre-configured according to game design, and may include, but is not limited to, synergistic relationships such as skill type combinations, character class combinations, and faction combinations. Current environmental data can affect the effectiveness of skills; for example, some skills may be enhanced or weakened under specific weather or terrain conditions. Therefore, current environmental data can also be used as a filtering criterion.

[0063] Specifically, based on the player-assigned battle lineup, the game system can first determine the current character faction selected by the player or automatically by the system for each virtual character in that lineup. Then, it can obtain the candidate skill set for each virtual character within that current faction. Next, the game system can combine a preset skill synergy mechanism with current environment data to perform a suitability screening of each virtual character's candidate skill set. The purpose of this suitability screening is to select skills from the candidate skill set that not only meet the requirements of the current environment data but also form skill synergies with other virtual characters in the battle lineup, thereby obtaining the current skill set that yields the best skill release effect for each virtual character under the current environment data.

[0064] Understandably, the current skill set obtained by combining the skill synergy mechanism and current environment data from the candidate skill set of each virtual character through adaptability screening can not only be adapted to the virtual character's own character faction, but also to the environmental conditions of the current battle scene and the overall skill synergy of the team. This provides an accurate skill set basis for responding to faction switching commands and matching skill combinations, thereby improving the flexibility of strategy adjustments and the diversity of battle effects during the battle.

[0065] In one embodiment, such as Figure 4 As shown, Figure 4 A flowchart illustrating a current skill group selection process provided for an embodiment of this application; Figure 4 In step S122, the process of performing adaptability screening on each candidate skill set based on a preset skill synergy mechanism and current environment data to obtain the current skill set of each virtual character under the current environment data may include: S1221: Determine the skill synergy relationships between different candidate skill sets based on a preset skill synergy mechanism.

[0066] S1222: Determine multiple candidate skill combinations and synergistic bonuses for each candidate skill combination based on skill synergy relationships; wherein, each candidate skill in each candidate skill combination comes from a different set of candidate skills.

[0067] S1223: Determine the environmental impact factor of each candidate skill in each candidate skill set under the current environmental data, and calculate the environmental impact effect of each candidate skill based on each environmental impact factor.

[0068] S1224: Based on the synergistic bonus effect of each candidate skill combination and the environmental impact effect of each candidate skill, a comprehensive evaluation is performed on each candidate skill set to select the current skill set of the corresponding virtual character from each candidate skill set.

[0069] In this embodiment, during skill compatibility screening, the game system can first determine the skill synergy relationships between different candidate skill sets based on a preset skill synergy mechanism. Then, based on the skill synergy relationships, it can determine multiple candidate skill combinations and the synergistic bonus effects of each candidate skill combination. Subsequently, it can determine the environmental impact factor of each candidate skill in each candidate skill set under the current environmental data, and calculate the environmental impact effect of each candidate skill based on each environmental impact factor. Finally, the game system can comprehensively evaluate each candidate skill set based on the synergistic bonus effects of each candidate skill combination and the environmental impact effect of each candidate skill, so as to select the current skill set of the corresponding virtual character from each candidate skill set.

[0070] Each candidate skill combination includes at least two candidate skills, each from a different candidate skill set. In other words, a candidate skill combination can be understood as a skill pairing scheme that crosses characters and candidate skill sets. To elaborate, since each virtual character in the battle lineup corresponds to a different candidate skill set, there may be synergy relationships between skills in different candidate skill sets. For example, using a candidate skill of one virtual character simultaneously with a candidate skill of another virtual character can trigger additional synergy effects. Based on the pre-set skill synergy mechanism in the game, the game system can determine the skill synergy relationships between different candidate skill sets, and accordingly determine multiple candidate skill combinations and the corresponding synergy bonus effects for each candidate skill combination. These synergy bonus effects can be used to represent the additional benefits that the candidate skill combination can bring in terms of synergy, such as attribute increases, effect enhancements, or triggering special collaborations.

[0071] Furthermore, current environmental data can also influence the actual performance of candidate skills. Therefore, for each candidate skill in each set of candidate skills, the game system can determine its environmental impact factor under the current environmental data. This environmental impact factor can be used to characterize the degree or direction of the influence of the current environmental data on the effectiveness of the candidate skill. For example, some skills may be more effective under specific weather, terrain, or time conditions, while others may be less effective. If a candidate skill is more effective in the current environment, the environmental impact factor is greater than 1; if it is less effective, the environmental impact factor is less than 1; and if it is unaffected by the environment, the environmental impact factor is equal to 1. Based on each environmental impact factor, the game system can calculate the environmental impact effect of each candidate skill, thereby quantifying environmental factors into indicators that can be used for evaluation.

[0072] Specifically, after obtaining the synergistic bonus effects of each candidate skill combination and the environmental impact effects of each candidate skill, the game system can conduct a comprehensive evaluation of each candidate skill set. That is, it simultaneously considers the synergistic effects between skills and the effects of skills being affected by the current environment, comprehensively evaluates each candidate skill in the candidate skill set, and thus selects the current skill set that is suitable for the current environmental data and lineup matching from each candidate skill set.

[0073] Understandably, this application, through a comprehensive evaluation of synergistic bonus effects and environmental impact effects, can objectively and accurately rank all candidate skills for suitability, ensuring that the selected skill set can trigger the strongest skill synergy and adapt to the environmental conditions of the current virtual battle scene to the greatest extent. This fully leverages the combat benefits brought by lineup matching and environmental adaptation, further enhancing the depth of combat strategies and the diversity of combat effects. In the long run, this improves the efficiency of players' resource investment and enhances their operational experience.

[0074] In one embodiment, step S1224, which involves comprehensively evaluating each candidate skill set based on the synergistic effect of each candidate skill combination and the environmental impact of each candidate skill, to select the current skill set for the corresponding virtual character from each candidate skill set, may include: S2241: Calculate the modified skill parameters for each candidate skill based on the initial skill parameters and environmental effects of each candidate skill.

[0075] S2242: Based on the preset number of selections and the synergistic bonus effect of each candidate skill combination, the modified skill parameters of each candidate skill are optimized collaboratively in each candidate skill set to select the current skill group of the corresponding virtual character from each candidate skill combination.

[0076] In this embodiment, during skill selection, the game system can first obtain the initial skill parameters of each candidate skill, and then calculate the modified skill parameters of each candidate skill based on the initial skill parameters and environmental influence effects. Then, based on the preset number of selections and the synergistic bonus effect of each candidate skill combination, the modified skill parameters of each candidate skill can be optimized in each candidate skill set to select the current skill group of the corresponding virtual character from each candidate skill combination.

[0077] The initial skill parameters refer to the pre-configured basic attribute parameters of the candidate skills themselves, including basic attributes such as base skill damage, cooldown rounds, cost, and effective range. These initial skill parameters do not change with the environment and are stored in the skill configuration data of the character's skill library, which can be directly retrieved when calculations are needed. The preset selection number refers to the maximum number of skills that each virtual character's current skill group can accommodate. This value can be preset according to the game's skill configuration rules. Each virtual character's current skill group needs to select no more than the preset selection number of candidate skills from the candidate skill set.

[0078] Specifically, the game system can use environmental influences as a correction factor to positively or negatively adjust the initial skill parameters, resulting in modified skill parameters that better reflect the actual combat scenario. After parameter correction, the game system will conduct collaborative optimization among the candidate skill sets based on a preset number of selected skills. During collaborative optimization, the game system can use the modified skill parameters of each candidate skill as a basis, while also considering the synergistic bonus effects of various candidate skill combinations, to jointly search for the skill pairing that achieves the optimal overall effect, thereby selecting the corresponding current skill set for each virtual character.

[0079] Furthermore, the collaborative optimization in this application can be implemented using methods such as traversal search, dynamic programming, greedy algorithms, or heuristic algorithms. During the collaborative optimization process, candidate skills with higher modified skill parameters and the ability to form synergistic effects with the skills of other virtual characters can be prioritized, thereby obtaining the current skill group with the best overall adaptability while meeting the preset selection limit.

[0080] Understandably, this application, by combining environmental impact effects and synergy bonus effects to conduct overall synergistic optimization of each candidate skill set, can simultaneously incorporate environmental adaptability and lineup synergy adaptability into the skill selection evaluation system, and can also ensure that the overall combat benefits of the selected current skill set reach the optimal level, further improving the accuracy of skill matching results and the rationality of strategies.

[0081] In one embodiment, step S130, prior to responding to the faction switching command of the target virtual character, may further include: S131: In response to the user's trigger operation on the faction switching control corresponding to the target virtual character, display the list of selectable factions for the target virtual character, and highlight the current faction of the target virtual character in the list of selectable factions.

[0082] S132: Receive the target character faction selected by the user from the list of available factions, and generate a faction switching command based on the target character faction.

[0083] In this embodiment, in a virtual battle scenario, if the game system detects that the user triggers the faction switching control corresponding to the target virtual character, it can display a list of selectable factions for the target virtual character and highlight the current faction of the target virtual character in the list of selectable factions; when the user selects the target character faction from the list of selectable factions, the game system can generate a faction switching command based on the target character faction.

[0084] The faction switching control refers to the interactive control set in the game interface to trigger the faction switching operation of the target virtual character. It can be presented as a button, icon, slider, or menu item. The selectable faction list refers to the set of all switchable factions of the target virtual character. This set is generated by the game system based on the target virtual character's preset faction configuration and the faction rules of the current battle. It only includes selectable factions that meet the switching rules; factions that are not allowed to be switched will not be included in the list.

[0085] Specifically, when a player wishes to switch factions of a target virtual character, they can perform a trigger operation on the faction switching control corresponding to the target virtual character, such as clicking, long-pressing, double-tapping, swiping, or dragging. In response to this trigger operation, the game interface can pop up a list containing all available factions. To help users easily identify the currently selected faction, the game system can highlight the target virtual character's current faction. Highlighting methods can include changing font color, filling the background, thickening the border, adding a marker, etc., making it easy for users to intuitively distinguish between selected and unselected factions, reducing the probability of accidental selection. Subsequently, the player can select a faction from the list of available factions as the target faction. Upon receiving this selection, the system can generate a faction switching command based on the target faction, triggering the subsequent process of switching the target virtual character's current faction to the target faction.

[0086] Furthermore, the list of selectable factions can be displayed in the game interface as a pop-up window, drop-down menu, sidebar, or floating panel, and can be updated in real time based on user actions. The list can also display information such as the faction name, icon, attributes, or switching conditions for each character's faction, allowing players to make a selection after fully understanding the information. If the target virtual character does not currently meet the conditions for switching to a particular faction, that faction can be grayed out or marked as unselectable in the list of selectable factions, thus preventing accidental player actions.

[0087] Indicatively, such as Figure 5 As shown, Figure 5 This application provides an interface illustration of an optional faction list; in Figure 5 In the example selection interface of the optional faction list, the virtual character is initially in faction one. The faction name and faction attribute identifier are highlighted in the optional faction list with a bold border. The other optional factions two and four are displayed with a default white background. At the same time, since the virtual character has not yet met the unlock conditions for faction three, the faction three switching option is displayed in gray and cannot be selected by the player.

[0088] Understandably, this application provides users with a clear and intuitive interaction path for switching factions by triggering interactive controls to display a list of selectable factions and highlight the current faction. This reduces the learning cost and operational complexity of faction switching operations and enhances the game's interactive experience.

[0089] In one embodiment, the process of determining the candidate skill set corresponding to the target virtual character based on the target character's faction in step S130 may include: S133: Determine the active skill type and passive skill type of the target virtual character within the target character faction.

[0090] S134: Select a set of candidate skills corresponding to the target virtual character from the preset character skill library based on the active skill type and passive skill type.

[0091] In this embodiment, when determining the candidate skill set corresponding to the target virtual character, the game system can first determine the active skill type and passive skill type of the target virtual character in the target character faction, and then filter the candidate skill set corresponding to the target virtual character from the preset character skill library according to the active skill type and passive skill type.

[0092] Active skills refer to skills that require active activation by the player to achieve specific combat effects. They can be categorized into different combat function types such as offensive active skills, defensive active skills, support active skills, or control active skills. Passive skills refer to skills that do not require active activation by the player but automatically take effect when preset conditions are met, providing attribute bonuses or special effects to the target virtual character. Examples include attribute-boosting passive skills, status-triggered passive skills, or aura-type passive skills.

[0093] It should be noted that different characters have different active and passive skill types. For example, in a game scenario, when a character belongs to faction one, their active skill type is a support / output type, and their passive skill type is an aura type. When a character belongs to faction two, their active skill type is an attack type, and their passive skill type is an attribute-boosting type.

[0094] Furthermore, the character skill library refers to all the skills that each virtual character has unlocked in the current game progress, and each skill can be labeled with its skill type. Each skill stores attribute information such as skill identifier, skill type, and basic parameters, all of which can be used as filtering conditions for quick retrieval and access to the character skill library.

[0095] Specifically, after the target virtual character completes the faction switch, the game system can query the skill configuration rules corresponding to the new target character faction, and then determine the active and passive skill types that the target virtual character is allowed to use under the new faction. Then, using the corresponding active and passive skill types as filtering conditions, the system performs a search operation in the character skill library, extracts all skills that meet the filtering conditions, and these skills together constitute the candidate skill set corresponding to the target virtual character under the target character faction.

[0096] Understandably, this application, by combining the active and passive skill types corresponding to the target character's faction to filter the candidate skill set, can accurately match the skill system of different faction positions, ensuring that the skill attributes of the target virtual character are consistent with the faction position after switching factions, avoiding the problem of skill functions not matching faction positions, and providing an accurate candidate range basis for subsequent skill adaptation screening.

[0097] In one embodiment, such as Figure 6 As shown, Figure 6 A flowchart illustrating a candidate skill set screening process provided in an embodiment of this application; Figure 6 In step S134, the process of selecting a set of candidate skills corresponding to the target virtual character from a preset character skill library based on active skill type and passive skill type may include: S1341: Extract all skill data corresponding to the target virtual character from the preset character skill library.

[0098] S1342: Filter from the full set of skill data to obtain the first set of skills corresponding to the active skill type and the second set of skills corresponding to the passive skill type.

[0099] S1343: Integrate the first skill set and the second skill set to obtain a candidate skill set corresponding to the target virtual character.

[0100] In this embodiment, when filtering skills from the candidate skill set, the game system can first extract all skill data corresponding to the target virtual character from the preset character skill library, and then filter from the all skill data to obtain a first skill set corresponding to the active skill type and a second skill set corresponding to the passive skill type. Then, the first skill set and the second skill set can be integrated to obtain a candidate skill set corresponding to the target virtual character.

[0101] Specifically, the full skill data refers to the set of all skills unlocked by the virtual character at the current game progress. After extracting the full skill data of the target virtual character from the character skill library, the game system can, based on the pre-labeled skill type of each skill, categorize all skills belonging to the target's active skill type into the first skill set and all skills belonging to the target's passive skill type into the second skill set. Subsequently, the game system can integrate the first and second skill sets, for example, by merging the two sets, removing duplicates, or arranging them in a preset order, to obtain the candidate skill set of the target virtual character within the target character faction.

[0102] Understandably, this application can accurately extract the full skill data of the target virtual character from the character skill library, and filter out the first skill set and the second skill set according to the active skill type and the passive skill type, respectively, and then integrate them to obtain the candidate skill set. This allows the candidate skill set to fully cover the active and passive skills available to the target virtual character in the target character faction, providing a complete and accurate skill selection range for subsequent skill combination matching.

[0103] In one embodiment, step S140, which involves matching skill combinations in the candidate skill set based on current environmental data and the current skill sets of other virtual characters in the battle lineup, to obtain the target skill set, may include: S141: Obtain the current skill sets of other virtual characters in the battle lineup, and determine the skill synergy relationship between each candidate skill in the candidate skill set and the current skill sets of other virtual characters.

[0104] S142: Based on skill synergy relationships and current environmental data, perform a comprehensive parameter evaluation on each candidate skill in the candidate skill set to obtain the parameter evaluation results.

[0105] S143: Based on the parameter evaluation results, select a number of skills from the candidate skill set that correspond to the preset selection number to form a target skill group.

[0106] In this embodiment, during skill matching, the game system can first obtain the current skill sets of other virtual characters in the battle lineup, and determine the skill synergy relationship between each candidate skill in the candidate skill set and the current skill sets of other virtual characters. Then, based on the skill synergy relationship and the current environment data, the system can perform a comprehensive parameter evaluation on each candidate skill in the candidate skill set to obtain the parameter evaluation result. Then, based on the parameter evaluation result, the system can select a number of skills from the candidate skill set that correspond to the preset selection number to form a target skill set.

[0107] Specifically, after obtaining the set of candidate skills corresponding to the target character's faction, the game system can first acquire the current skill sets of other virtual characters in the battle lineup. Then, for each candidate skill in the set, the system determines its skill synergy relationship with the skills already carried in the current skill sets of other virtual characters. This skill synergy relationship can be queried through a pre-set skill synergy mechanism in the system, thus clarifying whether there are synergies, conflicts, or benefits between each candidate skill and the skills already carried in the current skill sets of other virtual characters. Subsequently, the game system can perform a comprehensive parameter evaluation of each candidate skill in the set based on the determined skill synergy relationships and current environmental data. During the comprehensive parameter evaluation process, the game system can use skill synergy relationships and current environmental data as evaluation criteria to score, rank, or weight each candidate skill in the set, thereby obtaining the parameter evaluation result. This parameter evaluation result can be used to characterize the merits of each candidate skill after comprehensively considering lineup synergy and environmental adaptability.

[0108] Furthermore, the game system can select a number of skills from the candidate skill set corresponding to a preset selection number based on the parameter evaluation results, forming a target skill group. For example, the game system can sort the candidate skills from highest to lowest according to the parameter evaluation results, and select the preset selection number of top-ranked candidate skills to form the target skill group. If there are candidate skills with the same parameter evaluation results, further filtering can be performed based on auxiliary conditions such as skill type, skill cooldown time, or skill cost to ensure the overall suitability of the target skill group.

[0109] Understandably, the method of selecting the target virtual character with the optimal target skill set by combining the existing skill sets of other virtual characters in the current battle lineup can not only match the target character's faction, but also form a good synergy with the skills of other virtual characters in the battle lineup, and adapt to the environmental conditions of the current battle scene, thereby improving the accuracy of skill set switching and the diversity of battle effects.

[0110] In one embodiment, the process of performing a comprehensive parameter evaluation on each candidate skill in the candidate skill set based on skill synergy relationships and current environmental data to obtain the parameter evaluation result in step S143 may include: S1431: Determine the synergistic bonus effect of each candidate skill in the candidate skill set based on skill synergy relationships, and determine the environmental impact effect of each candidate skill based on current environmental data.

[0111] S1432: Obtain the initial skill parameters of each candidate skill, and adjust the corresponding initial skill parameters according to the synergistic bonus effect and environmental influence effect of each candidate skill to obtain the comprehensive skill parameters.

[0112] S1433: Parameter evaluation results for generating a set of candidate skills based on the comprehensive skill parameters of each candidate skill.

[0113] In this embodiment, when evaluating the comprehensive parameters of each candidate skill in the candidate skill set, the game system can first determine the synergistic bonus effect of each candidate skill based on skill synergy relationships, and determine the environmental impact effect of each candidate skill based on current environmental data. Then, it can obtain the initial skill parameters of each candidate skill, and correct the corresponding initial skill parameters according to the synergistic bonus effect and environmental impact effect of each candidate skill to obtain comprehensive skill parameters. Finally, it can generate the parameter evaluation result of the candidate skill set based on the comprehensive skill parameters of each candidate skill.

[0114] Specifically, when determining synergy bonuses, the game system can sequentially check whether each candidate skill in the candidate skill set has a skill synergy relationship with the existing skill sets of other virtual characters in the current battle lineup. If no synergy relationship exists, it means that the candidate skill cannot gain additional benefits from the existing lineup, and its synergy bonus effect can be recorded as zero. If a skill synergy relationship exists, the synergy bonus effect that the candidate skill can obtain can be determined according to preset synergy rules. This synergy bonus effect can be expressed in the form of numerical values, coefficients, or levels, such as a percentage increase in attack power, a multiplier for skill effect enhancement, or an increase in trigger probability. When determining environmental impact effects, the game system can query preset environmental rules based on current environmental data to obtain the environmental impact effect of each candidate skill in the current environment. This environmental impact effect can also be expressed in the form of numerical values, coefficients, or levels, such as a 20% increase in the effect of water-based skills in rainy weather, or a reduction in the effect of vision-based skills in nighttime weather.

[0115] Next, the game system can read the initial skill parameters of each candidate skill from the skill configuration data in the character skill library. Then, based on the synergy bonus effect and environmental influence effect of each candidate skill, the system adjusts the corresponding initial skill parameters. The method of parameter adjustment can be set according to the actual game rules. For example, the synergy bonus effect and environmental influence effect can be used as adjustment coefficients multiplied by the initial skill parameters, or they can be used as adjustment amounts to perform addition and subtraction operations on the initial skill parameters, thereby obtaining the comprehensive skill parameters of the candidate skill. In addition, the game system can also combine the synergy bonus effect and environmental influence effect according to preset weights before adjusting the initial skill parameters. No specific limitations are made on the method of initial skill parameter adjustment here.

[0116] Furthermore, the game system can use the comprehensive skill parameters obtained after modifying each candidate skill as the evaluation basis to generate corresponding parameter evaluation results. The higher the comprehensive skill parameters of a candidate skill, the better its adaptability in the current scenario. For example, the game system can sort the comprehensive skill parameters of each candidate skill according to their numerical values ​​and use the generated sorted list as the parameter evaluation result. This allows the system to select a number of skills from the candidate skill set that correspond to the preset selection number based on the sorted list, forming a target skill group.

[0117] Understandably, this application modifies the initial skill parameters of candidate skills by using synergistic and environmental effects to obtain comprehensive skill parameters. This can accurately quantify the actual adaptability of different candidate skills in the current lineup and environment, providing an objective and accurate decision-making basis for subsequent skill selection and further improving the adaptability accuracy of the target skill group.

[0118] In one embodiment, after switching the target virtual character's current skill set to the target skill set in step S140, the method may further include: S144: Updates the target character's faction and skill set to the lineup browsing interface of the battle lineup combination, as the target virtual character's new current character faction and current skill set.

[0119] In this embodiment, after switching the target virtual character's current skill set to the target skill set, the game system can also update the target character's faction and target skill set in the lineup browsing interface of the battle lineup combination, as the target virtual character's new current character faction and current skill set, to ensure that the information displayed on the interface is consistent with the actual faction and skill configuration status.

[0120] The lineup browsing interface refers to the interface used to display the current character faction and skill set of each virtual character in the battle lineup. This interface can be displayed on the side, at the bottom, or in a separate panel of the game's battle interface, allowing players to check the current lineup configuration at any time during battle.

[0121] Specifically, when the target virtual character's current skill set is switched to the target skill set, the game system can obtain the target character's faction and target skill set corresponding to this switch, and write this information into the lineup data of the battle lineup combination, simultaneously triggering an update of the lineup browsing interface. (Illustratively, as shown...) Figure 7 As shown, Figure 7This is a schematic diagram of a lineup browsing interface provided in an embodiment of this application. When the lineup browsing interface is updated, the game system can replace the faction identifier, faction name, or faction icon corresponding to the target virtual character in the lineup browsing interface with the target character's faction, and replace the skill group identifier, skill icon, or skill name with the target skill group. If there are multiple virtual characters in the battle lineup, the lineup browsing interface can display the current character faction and current skill group of each virtual character separately. This update only replaces the display content corresponding to the target virtual character; the display content of other virtual characters remains unchanged.

[0122] Understandably, this application promptly updates the configuration information to the lineup browsing interface after completing the faction and skill set switch. This ensures that the information displayed on the interface is consistent with the actual configuration status of the target virtual character, allowing players to easily view the faction distribution and skill configuration of their current lineup at any time. It also facilitates players to further adjust the faction and skill set configuration based on the battle results.

[0123] In one embodiment, the method may further include: S150: During the battle in the virtual battle scene, if a change in the current environmental data is detected, the current skill set of each virtual character is rematched based on the changed current environmental data and the current character faction of each virtual character in the battle lineup.

[0124] In this embodiment, during the battle in the virtual combat scenario, the game system can monitor various environmental parameters in the scene in real time. When changes are detected in the current environmental data, such as changes in weather type, scene terrain switching, or day-night cycle conversion, a new round of automatic skill group matching process is triggered. The game system can re-execute the above-mentioned process of candidate skill set screening, comprehensive parameter evaluation, and skill group selection for each virtual character in the battle lineup, based on the changed current environmental data and the current character faction corresponding to the virtual character. Finally, it will re-match each virtual character with a current skill group that is suitable for the new environment, and complete the real-time automatic skill group switching.

[0125] For example, if the virtual battle scene was originally a sunny environment, and a fire-type damage dealer was equipped with a high-damage fire-type skill set, when the weather changes from sunny to rainy during the battle, the effect of water-type skills will be enhanced by the environment, while the effect of fire-type skills will be weakened. At this time, the game system will re-match the skill sets of each virtual character in the battle lineup based on the changed rainy environment data and their current character faction. This will adjust the skill set of the fire-type damage dealer to be more suitable for the rainy environment, and at the same time, increase the priority of adapting water-type skills for water-type support virtual characters, thus completing the real-time automatic update of the skill sets of the entire lineup.

[0126] Understandably, this application can automatically re-match the current skill set for all virtual characters in battle based on changes in environmental data during the battle, so that the skill configuration of the virtual characters can always adapt to the current battle environment without the need for players to manually pause the battle to adjust the skills. This ensures the environmental adaptability of the skill configuration without interrupting the continuity of the battle process, further improving the game interaction experience and the flexibility of the battle strategy.

[0127] The skill group switching device provided in the embodiments of this application is described below. The skill group switching device described below and the skill group switching method described above can be referred to in correspondence.

[0128] In one embodiment, such as Figure 8 As shown, Figure 8 This application provides a schematic diagram of a skill group switching device according to an embodiment of the present application. The present application also provides a skill group switching device, including a data acquisition module 210, a skill group matching module 220, a set determination module 230, and a skill group switching module 240, specifically comprising the following: The data acquisition module 210 is used to acquire the current environmental data of the virtual battle scene in real time during the battle.

[0129] The skill set matching module 220 is used to match the current skill set of each virtual character in the battle lineup under the current environment data.

[0130] The set determination module 230 is used to respond to the faction switching command of the target virtual character, switch the current character faction of the target virtual character to the corresponding target character faction, and determine the candidate skill set corresponding to the target virtual character based on the target character faction.

[0131] The skill group switching module 240 is used to match skill groups in the candidate skill set based on the current environment data and the current skill groups of other virtual characters in the battle lineup, to obtain the target skill group, and to switch the current skill group of the target virtual character to the target skill group.

[0132] In the above embodiments, during the battle, the current environmental data of the virtual battle scene can be acquired in real time, and then the current skill set of each virtual character in the battle lineup can be matched under the real-time environmental data, so that the available skills of the virtual characters are always adapted to the environmental conditions of the current scene. This application supports the switching of virtual characters' factions during the battle. If a faction switching command for a target virtual character is triggered, the current character faction of the target virtual character can be switched to the corresponding target character faction, thereby expanding the player's strategic operation space. At the same time, the candidate skill set corresponding to the target virtual character is determined according to the target character faction, which serves as the skill selection range. Here, based on the current environmental data and the current skill sets of other virtual characters in the battle lineup, skill combination matching can be performed in the candidate skill set to select the target skill set that best matches the current battle scene and lineup. The current skill set of the target virtual character can then be switched to the target skill set. This allows the player to improve the diversity of battle effects through real-time decision-making during the battle, thereby improving the efficiency of the player's resource investment operation in the long run and enhancing the player's operating experience.

[0133] In one embodiment, the data acquisition module 210 may include: The data acquisition submodule is used to obtain scene type and terrain data of virtual battle scenes from the scene database, as well as to monitor weather and time data of virtual battle scenes in real time.

[0134] The data generation submodule is used to generate current environmental data of the virtual combat scene during the combat process based on scene type, terrain data, weather data, and time data.

[0135] In one embodiment, the skill group matching module 220 may include: The collection acquisition submodule is used to determine the current character faction of each virtual character in the battle lineup and to obtain the set of candidate skills corresponding to each virtual character in its current character faction.

[0136] The skill filtering submodule is used to perform adaptability filtering on each candidate skill set based on the preset skill synergy mechanism and current environment data, so as to obtain the current skill set of each virtual character under the current environment data.

[0137] In one embodiment, the skills screening submodule may include: The Bond Determination Unit is used to determine the bond relationships between different candidate skill sets based on a preset skill bond mechanism.

[0138] The bonus effect determination unit is used to determine multiple candidate skill combinations and the synergistic bonus effects in each candidate skill combination based on skill synergy relationships; wherein, each candidate skill in each candidate skill combination comes from a different set of candidate skills.

[0139] The impact effect calculation unit is used to determine the environmental impact factor of each candidate skill in each candidate skill set under the current environmental data, and to calculate the environmental impact effect of each candidate skill based on each environmental impact factor.

[0140] The effect evaluation unit is used to comprehensively evaluate each candidate skill set based on the synergistic bonus effect of each candidate skill combination and the environmental impact effect of each candidate skill, so as to select the current skill set of the corresponding virtual character from each candidate skill set.

[0141] In one embodiment, the effect evaluation unit may include: The parameter correction subunit is used to calculate the corrected skill parameters for each candidate skill based on the initial skill parameters and environmental effects of each candidate skill.

[0142] The collaborative optimization subunit is used to collaboratively optimize the modified skill parameters of each candidate skill in each candidate skill set based on the preset number of selections and the collaborative bonus effect of each candidate skill combination, so as to select the current skill group of the corresponding virtual character from each candidate skill combination.

[0143] In one embodiment, the set determination module 230 may include: The list display submodule is used to respond to the user's trigger operation on the faction switching control corresponding to the target virtual character, display the list of available factions for the target virtual character, and highlight the current faction of the target virtual character in the list of available factions.

[0144] The instruction generation submodule is used to receive the target character faction selected by the user from the list of available factions, and generate a faction switching instruction based on the target character faction.

[0145] In one embodiment, the set determination module 230 may further include: The Type Determination submodule is used to determine the active skill type and passive skill type of the target virtual character within the target character faction.

[0146] The skill filtering submodule is used to filter the set of candidate skills corresponding to the target virtual character from the preset character skill library based on the active skill type and passive skill type.

[0147] In one embodiment, the skills screening submodule may include: The data extraction unit is used to extract the full set of skill data corresponding to the target virtual character from the preset character skill library.

[0148] The set filtering unit is used to filter out the first set of skills corresponding to active skill types and the second set of skills corresponding to passive skill types from the full set of skill data.

[0149] The integration unit is used to integrate the first skill set and the second skill set to obtain a candidate skill set corresponding to the target virtual character.

[0150] In one embodiment, the skill group switching module 240 may include: The Relationship Determination Submodule is used to obtain the current skill sets of other virtual characters in the battle lineup and determine the skill synergy relationship between each candidate skill in the candidate skill set and the current skill sets of other virtual characters.

[0151] The parameter evaluation submodule is used to perform a comprehensive parameter evaluation on each candidate skill in the candidate skill set based on skill synergy relationships and current environmental data, and obtain the parameter evaluation results.

[0152] The skill selection submodule is used to select a number of skills from the candidate skill set that correspond to the preset selection number based on the parameter evaluation results, forming a target skill group.

[0153] In one embodiment, the process of performing a comprehensive parameter evaluation on each candidate skill in the candidate skill set based on skill synergy relationships and current environmental data to obtain the parameter evaluation result in step S143 may include: The effect determination unit is used to determine the synergistic bonus effect of each candidate skill in the candidate skill set based on skill synergy relationships, and to determine the environmental impact effect of each candidate skill based on current environmental data.

[0154] The skill parameter correction unit is used to obtain the initial skill parameters of each candidate skill, and to correct the corresponding initial skill parameters according to the synergistic bonus effect and environmental influence effect of each candidate skill to obtain the comprehensive skill parameters.

[0155] The parameter comprehensive evaluation unit is used to generate parameter evaluation results for the candidate skill set based on the comprehensive skill parameters of each candidate skill.

[0156] In one embodiment, after switching the target virtual character's current skill set to the target skill set in step S140, the method may further include: The lineup update submodule is used to update the target character's faction and skill set in the lineup browsing interface of the battle lineup combination, as the target virtual character's new current character faction and current skill set.

[0157] In one embodiment, the apparatus may further include: The skill set update module is used to re-match each virtual character's current skill set based on the changed environmental data and the current character faction of each virtual character in the battle lineup during the battle in the virtual battle scene.

[0158] In one embodiment, this application also provides a storage medium storing computer-readable instructions that, when executed by one or more processors, cause the one or more processors to perform the steps of the skill group switching method as described in any of the above embodiments.

[0159] In one embodiment, this application also provides a computer device storing computer-readable instructions that, when executed by one or more processors, cause the one or more processors to perform the steps of the skill group switching method as described in any of the above embodiments.

[0160] Indicatively, such as Figure 9 As shown, Figure 9 This is a schematic diagram of the internal structure of a computer device 300 provided in an embodiment of this application. The computer device 300 can be provided as a server. (Refer to...) Figure 9 The computer device 300 includes a processing component 302, which further includes one or more processors, and memory resources represented by memory 301 for storing instructions, such as application programs, that can be executed by the processing component 302. The application programs stored in memory 301 may include one or more modules, each corresponding to a set of instructions. Furthermore, the processing component 302 is configured to execute instructions to perform the skill group switching method of any of the above embodiments.

[0161] The computer device 300 may also include a power supply component 303 configured to perform power management of the computer device 300, a wired or wireless network interface 304 configured to connect the computer device 300 to a network, and an input / output (I / O) interface 305. The computer device 300 may operate on an operating system stored in memory 301, such as Windows Server™, Mac OS X™, Unix™, Linux™, Free BSD™, or similar.

[0162] Those skilled in the art will understand that Figure 9The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0163] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0164] The various embodiments in this specification are described in a progressive manner. Each embodiment focuses on the differences from other embodiments. The various embodiments can be combined as needed, and the same or similar parts can be referred to each other.

[0165] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A skill group switching method of a virtual character, characterized by, The method includes: Real-time acquisition of current environmental data in the virtual battle scene during the battle; Match the current skill set of each virtual character in the battle lineup under the current environment data; In response to the faction switching command of the target virtual character, the current faction of the target virtual character is switched to the corresponding target character faction, and the candidate skill set corresponding to the target virtual character is determined according to the target character faction; Based on the current environment data and the current skill sets of other virtual characters in the battle lineup, skill combination matching is performed in the candidate skill set to obtain the target skill set, and the current skill set of the target virtual character is switched to the target skill set. 2.The skill group switching method of a virtual character according to claim 1, wherein, The real-time acquisition of current environmental data of the virtual combat scene during the combat process includes: The system retrieves scene type and terrain data of the virtual battle scene from the scene database, and monitors the weather and time data of the virtual battle scene in real time. The current environmental data of the virtual battle scene during the battle is generated based on the scene type, terrain data, weather data, and time data. 3.The skill group switching method of a virtual character according to claim 1, wherein, The current skill set of each virtual character in the matched battle lineup under the current environment data includes: Determine the current character faction of each virtual character in the battle lineup combination, and obtain the set of candidate skills corresponding to each virtual character in its current character faction; Based on the preset skill synergy mechanism and the current environment data, the suitability of each candidate skill set is screened to obtain the current skill set of each virtual character under the current environment data. 4.The skill group switching method of a virtual character according to claim 3, wherein, The adaptation screening of each candidate skill set based on the preset skill synergy mechanism and the current environment data yields the current skill set of each virtual character under the current environment data, including: The skill synergy relationships between different candidate skill sets are determined based on a pre-set skill synergy mechanism. Based on the skill synergy relationships, multiple candidate skill combinations and synergistic bonuses in each candidate skill combination are determined; wherein, each candidate skill in each candidate skill combination comes from a different set of candidate skills; Determine the environmental impact factor of each candidate skill in each candidate skill set under the current environmental data, and calculate the environmental impact effect of each candidate skill based on each environmental impact factor; Based on the synergistic bonus effect of each candidate skill combination and the environmental impact effect of each candidate skill, a comprehensive evaluation of each candidate skill set is conducted to select the current skill set for the corresponding virtual character from each candidate skill set. 5.The skill group switching method of a virtual character according to claim 4, wherein, The comprehensive evaluation of each candidate skill set based on the synergistic bonus effect of each candidate skill combination and the environmental impact effect of each candidate skill, in order to select the current skill set of the corresponding virtual character from each candidate skill set, includes: The modified skill parameters for each candidate skill are calculated based on the initial skill parameters and environmental impact effects of each candidate skill. Based on the preset number of selections and the synergistic bonus effect of each candidate skill combination, the modified skill parameters of each candidate skill are optimized collaboratively in each candidate skill set to select the current skill group of the corresponding virtual character from each candidate skill combination. 6.The skill group switching method of a virtual character according to claim 1, wherein, Prior to responding to the faction switching command of the target virtual character, the method also includes: In response to the user's triggering operation on the faction switching control corresponding to the target virtual character, the list of available factions for the target virtual character is displayed, and the current faction of the target virtual character is highlighted in the list of available factions; Receive the target character faction selected by the user from the list of available factions, and generate a faction switching command based on the target character faction.

7. The method for switching skill sets of a virtual character according to claim 1, characterized in that, The step of determining the candidate skill set corresponding to the target virtual character based on the target character's faction includes: Determine the active skill type and passive skill type of the target virtual character within the target character faction; Based on the active skill type and the passive skill type, a set of candidate skills corresponding to the target virtual character is obtained by filtering from a preset character skill library.

8. The method for switching skill sets of a virtual character according to claim 7, characterized in that, The step of selecting a set of candidate skills corresponding to the target virtual character from a preset character skill library based on the active skill type and the passive skill type includes: Extract all skill data corresponding to the target virtual character from the preset character skill library; From the full set of skill data, a first set of skills corresponding to the active skill type and a second set of skills corresponding to the passive skill type are obtained; The first skill set and the second skill set are integrated to obtain a candidate skill set corresponding to the target virtual character.

9. The method for switching skill sets of a virtual character according to claim 1, characterized in that, The method involves matching skill combinations within the candidate skill set based on the current environment data and the current skill sets of other virtual characters in the battle lineup, to obtain the target skill set, including: Obtain the current skill sets of other virtual characters in the battle lineup combination, and determine the skill synergy relationship between each candidate skill in the candidate skill set and the current skill sets of the other virtual characters; Based on the skill synergy relationships and the current environment data, a comprehensive parameter evaluation is performed on each candidate skill in the candidate skill set to obtain the parameter evaluation results. Based on the parameter evaluation results, a number of skills corresponding to the preset selection number are selected from the candidate skill set to form a target skill group.

10. The method for switching skill sets of a virtual character according to claim 9, characterized in that, The step of comprehensively evaluating the parameters of each candidate skill in the candidate skill set based on the skill synergy relationship and the current environment data to obtain the parameter evaluation result includes: The synergistic bonus effect of each candidate skill in the candidate skill set is determined based on the skill synergy relationship, and the environmental impact effect of each candidate skill is determined based on the current environmental data. Obtain the initial skill parameters of each candidate skill, and then adjust the corresponding initial skill parameters according to the synergistic bonus effect and environmental influence effect of each candidate skill to obtain the comprehensive skill parameters; The parameter evaluation results of the candidate skill set are generated based on the comprehensive skill parameters of each candidate skill.

11. The method for switching skill sets of a virtual character according to claim 1, characterized in that, After switching the current skill set of the target virtual character to the target skill set, the method further includes: Update the target character's faction and skill set to the lineup browsing interface of the battle lineup combination, as the target virtual character's new current character faction and skill set.

12. The method for switching skill sets of a virtual character according to claim 1, characterized in that, The method further includes: During the battle in the virtual battle scene, if a change in the current environment data is detected, the current skill set of each virtual character is rematched based on the changed current environment data and the current character faction of each virtual character in the battle lineup combination.

13. A skill set switching device for a virtual character, characterized in that, include: The data acquisition module is used to acquire real-time environmental data of the virtual combat scene during the combat process; The skill set matching module is used to match the current skill set of each virtual character in the battle lineup under the current environment data. The set determination module is used to respond to the faction switching command of the target virtual character, switch the current character faction of the target virtual character to the corresponding target character faction, and determine the candidate skill set corresponding to the target virtual character based on the target character faction; The skill group switching module is used to perform skill group matching in the candidate skill set based on the current environment data and the current skill groups of other virtual characters in the battle lineup, to obtain the target skill group, and to switch the current skill group of the target virtual character to the target skill group.

14. A storage medium, characterized in that: The storage medium stores computer-readable instructions that, when executed by one or more processors, cause the one or more processors to perform the steps of the skill group switching method for a virtual character as described in any one of claims 1 to 12.

15. A computer device, characterized in that, include: One or more processors, and memory; The memory stores computer-readable instructions that, when executed by the one or more processors, perform the steps of the virtual character skill group switching method as described in any one of claims 1 to 12.