We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It can just hook the drop of Defender Medals rather than Boss Bag
public override void Initialize() { ServerApi.Hooks.DropBossBag.Register(this, test); } private void test(DropBossBagEventArgs args) { TSPlayer.All.SendSuccessMessage($"Npc: {Lang.GetNPCName(args.NpcId)} {args.NpcId} " + $"=> {TShock.Utils.ItemTag(new Item() { netID = args.ItemId, stack = args.Stack })}"); } protected override void Dispose(bool disposing) { if (disposing) { //GetDataHandlers.NpcTalk.UnRegister(TalkNPC); ServerApi.Hooks.DropBossBag.Deregister(this, test); } base.Dispose(disposing); }
Defeat the Slimes King: Defeat the Old One's Army
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It can just hook the drop of Defender Medals rather than Boss Bag
Defeat the Slimes King:
Defeat the Old One's Army
The text was updated successfully, but these errors were encountered: