Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void TriggerAbility(PlayerController caster, byte abilityindex, bool selfcast)
- {
- caster.TriggerAbility(abilityindex, selfcast);
- foreach (CSteamID player in players.Keys)
- {
- Send(player, new Packet(PacketType.Spell, new byte[3] { playerList[(CSteamID)caster.player.playerID].playerindex, abilityindex, (byte)(selfcast ? 1 : 0) }));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement