|
OpenEnroth 135c41f
|
#include <cstdint>#include <array>#include <string>#include "Engine/Objects/ItemEnums.h"#include "Engine/Objects/CharacterEnums.h"#include "Engine/Objects/SpriteEnums.h"#include "Engine/Time/Duration.h"#include "Library/Geometry/Vec.h"#include "Utility/IndexedArray.h"#include "SpellEnums.h"Classes | |
| struct | SpellInfo |
| struct | SpellStats |
| class | SpellData |
| struct | SpellBookIconPos |
Functions | |
| int | CalcSpellDamage (SpellId uSpellID, int spellLevel, Mastery skillMastery, int currentHp) |
| bool | IsSpellQuickCastableOnShiftClick (SpellId uSpellID) |
| void | eventCastSpell (SpellId uSpellID, Mastery skillMastery, int skillLevel, Vec3f from, Vec3f to) |
| void | armageddonProgress () |
Variables | |
| SpellStats * | pSpellStats |
| IndexedArray< std::array< struct SpellBookIconPos, 12 >, MAGIC_SCHOOL_FIRST, MAGIC_SCHOOL_LAST > | pIconPos |
| const IndexedArray< SpriteId, SPELL_FIRST_WITH_SPRITE, SPELL_LAST_WITH_SPRITE > | SpellSpriteMapping |
| IndexedArray< SpellData, SPELL_FIRST_REGULAR, SPELL_LAST_REGULAR > | pSpellDatas |
| const IndexedArray< uint16_t, SPELL_FIRST_WITH_SPRITE, SPELL_LAST_WITH_SPRITE > | SpellSoundIds |
| void armageddonProgress | ( | ) |
| void eventCastSpell | ( | SpellId | uSpellID, |
| Mastery | skillMastery, | ||
| int | skillLevel, | ||
| Vec3f | from, | ||
| Vec3f | to | ||
| ) |
Function for processing spells cast from game scripts.
| bool IsSpellQuickCastableOnShiftClick | ( | SpellId | uSpellID | ) |
|
extern |
|
extern |
Description of spells.
Mana Novice
| Mana Expert
| | Mana Master
| | | Mana Grandmaster
| | | | Recovery Novice
| | | | | Recovery Expert
| | | | | | Recovery Master
| | | | | | | Recovery Grandmaster
| | | | | | | | Base Damage
| | | | | | | | | Bonus Skill Damage
| | | | | | | | | | Flags
| | | | | | | | | | | Required skill mastery
| | | | | | | | | | | |
|
extern |
|
extern |
|
extern |