[Server] Use consistent order for script functions for Spells

Fix a small typo.
pull/593/head
David Cernat 4 years ago
parent 1f3a17eff7
commit 85ab67fff4

@ -73,20 +73,20 @@ public:
static unsigned int GetSpellbookChangesAction(unsigned short pid) noexcept;
/**
* \brief Get the action type used in a player's latest spells active changes.
* \brief Get the number of indexes in a player's latest spells active changes.
*
* \param pid The player ID whose spells active changes should be used.
* \return The action type (0 for SET, 1 for ADD, 2 for REMOVE).
* \return The number of indexes for spells active changes.
*/
static unsigned int GetSpellsActiveChangesAction(unsigned short pid) noexcept;
static unsigned int GetSpellsActiveChangesSize(unsigned short pid) noexcept;
/**
* \brief Get the number of indexes in a player's latest spells active changes.
* \brief Get the action type used in a player's latest spells active changes.
*
* \param pid The player ID whose spells active changes should be used.
* \return The number of indexes.
* \return The action type (0 for SET, 1 for ADD, 2 for REMOVE).
*/
static unsigned int GetSpellsActiveChangesSize(unsigned short pid) noexcept;
static unsigned int GetSpellsActiveChangesAction(unsigned short pid) noexcept;
/**
* \brief Set the action type in a player's spellbook changes.
@ -117,7 +117,7 @@ public:
/**
* \brief Add a new active spell to the spells active changes for a player,
* using the temporary effect times stored so far.
* using the temporary effect values stored so far.
*
* \param pid The player ID whose spells active changes should be used.
* \param spellId The spellId of the spell.

Loading…
Cancel
Save