GetMostDangerousClass(struct)

Use the four archetypes to determine the most dangerous group type facing the NPC.

string GetMostDangerousClass(
    struct sEnemiesCount
);

Parameters

sEnemiesCount

A structure that contains a breakdown of the 4 basic class groups and each of their total levels.


Description

Returns a string representing one of the four basic class groups, whose sum of total levels are the greatest. Gives the fighter group a slight edge and considers them slightly more dangerous than the rest of the class groups.



Remarks

Returns 1 of four possible classes:
FIGHTER
MAGE
CLERIC
MONSTER

This function will compare the total number of levels in the sEnemies Structure of each of the 4 basic class groups it can hold and return the one that has the most amount of levels, giving fighters a 3% increase in levels before making the determination.


Version

1.22

See Also

functions: GetMatchCompatibility | TalentAdvancedProtectSelf
categories: Combat Information Functions | Core AI Functions | Targeting Functions


 author: John Shuell
 Send comments on this topic.