View Revision: PACKET SPELL
This is a packet family that is used to send/receive packets about Spells.
Server-to-Client
PACKET_REQUEST (1)
Description: Shows the spell name over the players headCaster ID(Short) = Player ID of the player casting the spell Spell ID(Short) = Spell ID that the player is trying to cast
PACKET_CAST_SELF (30)
Description: Shows the player healing himselfCaster ID(Short) = Player ID of the player casting the spell Spell ID(Short) = Spell ID that the player is trying to cast Heal Amount(Integer) = Amount the player is going to be healed Caster HP(Char) = Player's health percent after the healing
This below is only added if it is being sent to the caster
Caster HP(Short) = Player's health amount after the healing Caster TP(Short) = Player's mana amount after the healing
PACKET_REPLY (3)
Description: Shows the player casting a spell and updates the players HP & TPSpell ID(Short) = Spell ID that the player is trying to cast Caster HP(Short) = Player's health amount Caster TP(Short) = Player's mana amount
PACKET_CAST_OTHER (31)
Description: Shows another player casting a spell on another playerVictim ID(Short) Caster ID(Short) = Player ID of the player casting the spell Caster Direction(Char Spell ID(Short) = Spell ID that the player is trying to cast Health Amount(Integer) = Amount the player is going to be healed Victim HP(Char) = Player's health percent after the healing Victim HP(Short) = Player's health amount
PACKET_EXP (33)
Description: Shows a player casting a spell and a list of players being healedSpell ID(Short) = Spell ID that the player is trying to cast Caster ID(Short) = Player ID of the player casting the spell Caster TP(Short) = Player's mana amount after the spell was cast Heal Amount(Short) = Amount the player is going to be healed Caster ID(Short) = Player ID of the player casting the spell Caster HP(Char) = Player's health percent after the healing Caster HP(Short) = Player's health amount FOREACH PARTY MEMBER { 255(Byte) = 255 Byte 255(Byte) = 255 Byte 255(Byte) = 255 Byte 255(Byte) = 255 Byte 255(Byte) = 255 Byte Member ID(Short) = Player's ID that is being healed Member HP(Char) = Player's health percent after the healing Member HP(Short) = Player's health amount after the healing }
Client-to-Server
PACKET_REQUEST (1)
Description: Player requesting to cast a spellSpell ID(Short) = Spell ID that the player is trying to cast Current timestamp*(Three) = Time which the player requested to cast the spell
PACKET_CAST_SELF (30)
Description: Player casting a self spellDirection(Char) = Player's direction while he was casting the spell Spell ID(Short) = Spell ID that the player is trying to cast
PACKET_CAST_OTHER (31)
Description: Player casting a spell on another person/npcTarget Type(Char) = Type of character that the player is casting a spell upon Timestamp*(Three) = Time when the person requested the spell Victim ID(Short) = Player or NPC ID that the spell is being casted upon Timestamp*(Three) = Time when the person should cast the spell
Target Type options:
- 1 = Casting on a player
- 2 = Casting on a NPC
PACKET_EXP (33)
Description: Player casting a group spellSpell ID(Short) = Spell ID that the player is trying to cast
* go to this page for general informations about timestamp.