NPCs in static list is beginning of a potential future where rather than getting NPCs by their ID, we can just do something like NpcStatic.MAN_3, which in some areas of the code could make it more legible
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/2006-Scape/2006Scape/pull/254
**Author:** [@dginovker](https://github.com/dginovker)
**Created:** 12/10/2019
**Status:** ✅ Merged
**Merged:** 12/10/2019
**Merged by:** [@dginovker](https://github.com/dginovker)
**Base:** `master` ← **Head:** `rare_protection_and_static_npc_list`
---
### 📝 Commits (1)
- [`032b96d`](https://github.com/2006-Scape/2006Scape/commit/032b96dc7006330e0f2920d2887b7a78c22017f2) Remove rare protection, add all NPCs to a static list
### 📊 Changes
**6 files changed** (+7736 additions, -1 deletions)
<details>
<summary>View changed files</summary>
➕ `2006Redone Server/src/com/rebotted/game/content/combat/npcs/StaticNpcList.java` (+7735 -0)
📝 `2006Redone Server/src/com/rebotted/game/items/impl/RareProtection.java` (+1 -1)
➕ `CompiledServer/production/2006rebotted/META-INF/2006rebotted.kotlin_module` (+0 -0)
➕ `CompiledServer/production/2006rebotted/com/rebotted/game/content/combat/npcs/StaticNpcList.class` (+0 -0)
📝 `CompiledServer/production/2006rebotted/com/rebotted/game/items/impl/RareProtection.class` (+0 -0)
📝 `CompiledServer/production/2006rebotted/com/rebotted/net/packets/impl/ItemOnPlayer.class` (+0 -0)
</details>
### 📄 Description
- Removing rare protection to give awards
- NPCs in static list is beginning of a potential future where rather than getting NPCs by their ID, we can just do something like NpcStatic.MAN_3, which in some areas of the code could make it more legible
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/2006-Scape/2006Scape/pull/254
Author: @dginovker
Created: 12/10/2019
Status: ✅ Merged
Merged: 12/10/2019
Merged by: @dginovker
Base:
master← Head:rare_protection_and_static_npc_list📝 Commits (1)
032b96dRemove rare protection, add all NPCs to a static list📊 Changes
6 files changed (+7736 additions, -1 deletions)
View changed files
➕
2006Redone Server/src/com/rebotted/game/content/combat/npcs/StaticNpcList.java(+7735 -0)📝
2006Redone Server/src/com/rebotted/game/items/impl/RareProtection.java(+1 -1)➕
CompiledServer/production/2006rebotted/META-INF/2006rebotted.kotlin_module(+0 -0)➕
CompiledServer/production/2006rebotted/com/rebotted/game/content/combat/npcs/StaticNpcList.class(+0 -0)📝
CompiledServer/production/2006rebotted/com/rebotted/game/items/impl/RareProtection.class(+0 -0)📝
CompiledServer/production/2006rebotted/com/rebotted/net/packets/impl/ItemOnPlayer.class(+0 -0)📄 Description
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.