mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +00:00
Implement the extra Wild Rampage/Rampage message (SoD+)
This commit is contained in:
@@ -1322,7 +1322,7 @@ struct CombatDamage_Struct
|
||||
/* 11 */ float force;
|
||||
/* 15 */ float meleepush_xy; // see above notes in Action_Struct
|
||||
/* 19 */ float meleepush_z;
|
||||
/* 23 */
|
||||
/* 23 */ uint32 special; // 2 = Rampage, 1 = Wild Rampage
|
||||
};
|
||||
|
||||
/*
|
||||
|
||||
@@ -658,9 +658,10 @@ namespace RoF
|
||||
OUT(type);
|
||||
OUT(spellid);
|
||||
OUT(damage);
|
||||
OUT(force)
|
||||
OUT(force);
|
||||
OUT(meleepush_xy);
|
||||
OUT(meleepush_z)
|
||||
OUT(meleepush_z);
|
||||
OUT(special);
|
||||
|
||||
FINISH_ENCODE();
|
||||
}
|
||||
|
||||
@@ -729,9 +729,10 @@ namespace RoF2
|
||||
OUT(type);
|
||||
OUT(spellid);
|
||||
OUT(damage);
|
||||
OUT(force)
|
||||
OUT(force);
|
||||
OUT(meleepush_xy);
|
||||
OUT(meleepush_z)
|
||||
OUT(meleepush_z);
|
||||
OUT(special);
|
||||
|
||||
FINISH_ENCODE();
|
||||
}
|
||||
|
||||
@@ -1487,7 +1487,8 @@ struct CombatDamage_Struct
|
||||
/* 13 */ float force; // cd cc cc 3d
|
||||
/* 17 */ float meleepush_xy; // see above notes in Action_Struct
|
||||
/* 21 */ float meleepush_z;
|
||||
/* 25 */ uint8 unknown25[5]; // was [9]
|
||||
/* 25 */ uint8 unknown25; // was [9]
|
||||
/* 26 */ uint32 special; // 2 = Rampage, 1 = Wild Rampage
|
||||
/* 30 */
|
||||
};
|
||||
|
||||
|
||||
@@ -1517,7 +1517,8 @@ struct CombatDamage_Struct
|
||||
/* 13 */ float force; // cd cc cc 3d
|
||||
/* 17 */ float meleepush_xy; // see above notes in Action_Struct
|
||||
/* 21 */ float meleepush_z;
|
||||
/* 25 */ uint8 unknown25[5]; // was [9]
|
||||
/* 25 */ uint8 unknown25; // was [9]
|
||||
/* 26 */ uint32 special; // 2 = Rampage, 1 = Wild Rampage
|
||||
/* 30 */
|
||||
};
|
||||
|
||||
|
||||
@@ -446,9 +446,10 @@ namespace SoD
|
||||
OUT(type);
|
||||
OUT(spellid);
|
||||
OUT(damage);
|
||||
OUT(force)
|
||||
OUT(force);
|
||||
OUT(meleepush_xy);
|
||||
OUT(meleepush_z)
|
||||
OUT(meleepush_z);
|
||||
OUT(special);
|
||||
|
||||
FINISH_ENCODE();
|
||||
}
|
||||
|
||||
@@ -1275,7 +1275,8 @@ struct CombatDamage_Struct
|
||||
/* 11 */ float force; // cd cc cc 3d
|
||||
/* 15 */ float meleepush_xy; // see above notes in Action_Struct
|
||||
/* 19 */ float meleepush_z;
|
||||
/* 23 */ uint8 unknown23[5]; // was [9]
|
||||
/* 23 */ uint8 unknown23; // was [9]
|
||||
/* 24 */ uint32 special; // 2 = Rampage, 1 = Wild Rampage
|
||||
/* 28 */
|
||||
};
|
||||
|
||||
|
||||
@@ -426,9 +426,9 @@ namespace SoF
|
||||
OUT(type);
|
||||
OUT(spellid);
|
||||
OUT(damage);
|
||||
OUT(force)
|
||||
OUT(force);
|
||||
OUT(meleepush_xy);
|
||||
OUT(meleepush_z)
|
||||
OUT(meleepush_z);
|
||||
|
||||
FINISH_ENCODE();
|
||||
}
|
||||
|
||||
@@ -1253,7 +1253,7 @@ struct CombatDamage_Struct
|
||||
/* 11 */ float force; // cd cc cc 3d
|
||||
/* 15 */ float meleepush_xy; // see above notes in Action_Struct
|
||||
/* 19 */ float meleepush_z;
|
||||
/* 23 */ uint8 unknown23[5]; // was [9]
|
||||
/* 23 */ uint8 unknown23[5]; // was [9] this appears unrelated to the stuff the other clients do here?
|
||||
/* 28 */
|
||||
};
|
||||
|
||||
|
||||
@@ -299,6 +299,23 @@ namespace Titanium
|
||||
dest->FastQueuePacket(&in, ack_req);
|
||||
}
|
||||
|
||||
ENCODE(OP_Damage)
|
||||
{
|
||||
ENCODE_LENGTH_EXACT(CombatDamage_Struct);
|
||||
SETUP_DIRECT_ENCODE(CombatDamage_Struct, structs::CombatDamage_Struct);
|
||||
|
||||
OUT(target);
|
||||
OUT(source);
|
||||
OUT(type);
|
||||
OUT(spellid);
|
||||
OUT(damage);
|
||||
OUT(force);
|
||||
OUT(meleepush_xy);
|
||||
OUT(meleepush_z);
|
||||
|
||||
FINISH_ENCODE();
|
||||
}
|
||||
|
||||
ENCODE(OP_DeleteCharge) { ENCODE_FORWARD(OP_MoveItem); }
|
||||
|
||||
ENCODE(OP_DeleteItem)
|
||||
|
||||
@@ -6,6 +6,7 @@ E(OP_BazaarSearch)
|
||||
E(OP_BecomeTrader)
|
||||
E(OP_ChannelMessage)
|
||||
E(OP_CharInventory)
|
||||
E(OP_Damage)
|
||||
E(OP_DeleteCharge)
|
||||
E(OP_DeleteItem)
|
||||
E(OP_DeleteSpawn)
|
||||
|
||||
@@ -581,9 +581,10 @@ namespace UF
|
||||
OUT(type);
|
||||
OUT(spellid);
|
||||
OUT(damage);
|
||||
OUT(force)
|
||||
OUT(force);
|
||||
OUT(meleepush_xy);
|
||||
OUT(meleepush_z)
|
||||
OUT(meleepush_z);
|
||||
OUT(special);
|
||||
|
||||
FINISH_ENCODE();
|
||||
}
|
||||
|
||||
@@ -1333,7 +1333,8 @@ struct CombatDamage_Struct
|
||||
/* 11 */ float force; // cd cc cc 3d
|
||||
/* 15 */ float meleepush_xy; // see above notes in Action_Struct
|
||||
/* 19 */ float meleepush_z;
|
||||
/* 23 */ uint8 unknown23[5]; // was [9]
|
||||
/* 23 */ uint8 unknown23; // was [9]
|
||||
/* 24 */ uint32 special; // 2 = Rampage, 1 = Wild Rampage
|
||||
/* 28 */
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user