BlowaXD / ChickenAPI

OpenSource Nostale Private Server Emulator API, implemented by SaltyEmu
https://blowaxd.github.io/ChickenAPI/
GNU General Public License v3.0
41 stars 7 forks source link

PACKET : ScPacket - sc #65

Closed GodnessCookie closed 6 years ago

GodnessCookie commented 6 years ago

PacketName

sc

Packet Usage

This packet is sent when changing Character stats like equiping a sword/armor/resistance or transforming into a SP

Packet Header

sc

Packet Content

{Type} {MainWeaponUpgrade} {MinHit} {MaxHit} {HitRate} {CriticalHitRate} {CriticalHitMultiplier} {Type2} {SecondaryWeaponUpgrade} {SecondaryMinHit} {SecondaryMaxHit} {SecondaryHitRate} {SecondaryCriticalHitRate} {SecondaryCriticalHitMultiplier} {ArmorUpgrade} {Defence} {DefenceRate} {DistanceDefence} {DistanceDefenceRate} {MagicalDefence} {FireResistance} {WaterResistance} {LightResistance} {DarkResistance}

Few examples

sc 0 8 683 745 553 11 160 1 0 112 112 224 0 0 0 107 113 109 112 54 0 0 0 0 - equip ->Plexon 7+8

sc 0 8 683 745 553 11 160 1 0 112 112 224 0 0 8 434 497 400 497 296 0 0 0 0 - equip -> Cai 7+8 and Plexon 7+8 sc 0 8 683 745 553 11 160 1 0 112 112 224 0 0 8 439 498 409 497 296 4 13 0 0- equip -> 7+8 + Plexon 7+8 + Warrior SP 99+15 (no points allocated)

Bow Example divided: