Jump to content

Elin:Code Analysis/Basics: Difference between revisions

no edit summary
No edit summary
Line 23: Line 23:
** If character is not in PC faction, HP is further amplified by the rarity of character.
** If character is not in PC faction, HP is further amplified by the rarity of character.
*** If normal, 100%; if superior, 400%; if legendary, 700%, if mythical, 1000%, if artifact, 1300%.
*** If normal, 100%; if superior, 400%; if legendary, 700%, if mythical, 1000%, if artifact, 1300%.
** The rarity of character is '''under investigation''', but probably apply to boss monsters in nefias.
** The rarity of character is bosses and evolved monsters are legendary.
* This value is finally modified by the Lonelysoul feat if the character is PC.
* This value is finally modified by the Lonelysoul feat if the character is PC.


Line 44: Line 44:
** If character is not in PC faction, HP is further amplified by the rarity of character.
** If character is not in PC faction, HP is further amplified by the rarity of character.
*** If normal, 100%; if superior, 350%; if legendary, 600%, if mythical, 850%, if artifact, 1100%.
*** If normal, 100%; if superior, 350%; if legendary, 600%, if mythical, 850%, if artifact, 1100%.
** The rarity of character is '''under investigation''', but probably apply to boss monsters in nefias.
** The rarity of character is bosses and evolved monsters are legendary.
* This value is finally modified by the Lonelysoul feat if the character is PC.
* This value is finally modified by the Lonelysoul feat if the character is PC.
==Base ability of Nefia bosses & Evolved==
<syntaxhighlight lang="c#" line="1">
    public Rarity rarity = Rarity.Random;
public static SpawnSetting Evolved(int fixedLv = -1)
{
return new SpawnSetting
{
fixedLv = fixedLv,
rarity = Rarity.Legendary,
forcedHostility = Hostility.Neutral,
isEvolved = true,
tries = 10000
};
}
public static SpawnSetting Boss(int filterLv, int fixedLv = -1)
{
return new SpawnSetting
{
filterLv = filterLv - 2,
fixedLv = fixedLv,
rarity = Rarity.Legendary,
isBoss = true,
tries = 10000,
levelRange = 5,
forcedHostility = Hostility.Enemy
};
}
</syntaxhighlight>
* Nefia bosses and Evolved Monsters are generated at the rarity of Rarity.Legendary. Refering to the result from above analysis, '''the generated monster will have 700% Maximum HP and 600% Maximum MP of the normal version of the monster'''. This is probably '''not the only buff''' to Nefia boss abilities.
* The Nefia boss will always be selected from monsters at most -7 to +3 levels from the depth of the nefia difficulty ('''Need confirmation''').


==Maximum Stamina==
==Maximum Stamina==
355

edits