EOSERV Wiki > Page: PACKET CAST

PACKET CAST

This is a packet family that is used to send/receive packets about casting Spells.

Server-to-Client

PACKET_REPLY (3)

Description: Shows the player attacking an NPC with health greater than zero with a spell
Spell ID: 2
Caster ID: 2
Caster Direction: 1
NPC Index: 2
Damage Amount: 3
NPC Health Percent: 2
Caster TP: 2

PACKET_SPEC (16)

Description: Shows the player attacking an NPC with health less than or equal to zero with a spell
Spell ID: 2
Caster ID: 2
Caster Direction: 1
NPC Index: 2
NPC Drop UID: 2
NPC Drop ID: 2
NPC X: 1
NPC Y: 1
NPC Drop Amount: 4
Damage Amount: 3
Caster TP: 2

This below is only added if the person receiving it gains exp

Caster EXP: 4

PACKET_ACCEPT (2)

Description: Shows the player attacking an NPC with health less than or equal to zero with a spell and caster levels up
Spell ID: 2
Caster ID: 2
Caster Direction: 1
NPC Index: 2
NPC Drop UID: 2
NPC Drop ID: 2
NPC X: 1
NPC Y: 1
NPC Drop Amount: 4
Damage Amount: 3
Caster TP: 2

This below is only added if the person receiving it gains exp

Caster EXP: 4

Continue on adding here

Caster Level: 1
Caster Statpoints: 2
Caster Skillpoints: 2
Caster Max HP: 2
Caster Max TP: 2
Caster Max SP: 2
EOSERV Wiki > Page: PACKET CAST