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: 2 Spell ID: 2
PACKET_CAST_SELF (30)
Description: Shows the player healing himselfCaster ID: 2 Spell ID: 2 Heal Amount: 4 Caster Health Percent: 1
This below is only added if it is being sent to the caster
Caster HP: 2 Caster TP: 2
PACKET_REPLY (3)
Description: Shows the player casting a spell and updates the players HP & TPSpell ID: 2 Caster HP: 2 Caster TP: 2
PACKET_CAST_OTHER (31)
Description: Shows another player casting a spell on another playerVictim ID: 2 Caster ID: 2 Caster Direction: 1 Spell ID: 2 Health Amount: 4 Victim Health Percent: 1 Victim HP: 2
PACKET_EXP (33)
Description: Shows a player casting a spell and a list of players being healedSpell ID: 2 Caster ID: 2 Caster TP: 2 Heal Amount: 2 Caster ID: 2 Caster Health Percent: 1 Caster HP: 2 FOREACH PARTY MEMBER { 255: 1 255: 1 255: 1 255: 1 255: 1 Member ID: 2 Member Health Percent: 1 Member HP: 2 }
Client-to-Server
PACKET_REQUEST (1)
Description: Player requesting to cast a spellSpell ID: 2 Current timestamp*: 3
PACKET_CAST_SELF (30)
Description: Player casting a self spellDirection: 1 Spell ID: 2
PACKET_CAST_OTHER (31)
Description: Player casting a spell on another person/npcTarget Type: 1 Previous timestamp*(from request): 3 Victim ID: 2 Current timestamp*: 3
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 castSpell ID: 2
* go to this page for general informations about timestamp.