EOSERV Wiki > Page: PACKET CAST > History > Revision Diff

Revision Diff: PACKET CAST

Revision by at 12th Feb 2011 01:44 am
DeletionsAdditions
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
<pre>
Spell ID: 2
Caster ID: 2
Caster Direction: 1
NPC Index: 2
Damage Amount: 3
NPC Health Percent: 2
Caster TP: 2
</pre>
=== PACKET_SPEC (16) ===
Description: Shows the player attacking an NPC with health less than or equal to zero with a spell
<pre>
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
</pre>
This below is only added if the person receiving it gains exp
<pre>
Caster EXP: 4
</pre>
=== 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
<pre>
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
</pre>
This below is only added if the person receiving it gains exp
<pre>
Caster EXP: 4
</pre>
Continue on adding here
<pre>
Caster Level: 1
Caster Statpoints: 2
Caster Skillpoints: 2
Caster Max HP: 2
Caster Max TP: 2
Caster Max SP: 2
</pre>
EOSERV Wiki > Page: PACKET CAST > History > Revision Diff