mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-03 08:39:11 +00:00
Remove unnecessary skill dependency from consumable Potions.
This commit is contained in:
@@ -6,13 +6,11 @@
|
||||
<description>Adds support for consumables (e.g. potions, food).</description>
|
||||
<authors>
|
||||
<author>Major</author>
|
||||
<author>Ryley Kimmel</author>
|
||||
</authors>
|
||||
<scripts>
|
||||
<script>consumable.rb</script>
|
||||
<script>food.rb</script>
|
||||
<script>potions.rb</script>
|
||||
</scripts>
|
||||
<dependencies>
|
||||
<dependency>skill-herblore</dependency>
|
||||
</dependencies>
|
||||
</plugin>
|
||||
@@ -2,7 +2,10 @@ require 'java'
|
||||
|
||||
java_import 'org.apollo.game.model.entity.Skill'
|
||||
|
||||
private
|
||||
|
||||
DRINK_POTION_SOUND = 334
|
||||
EMPTY_VIAL_ID = 229
|
||||
|
||||
# A drinkable potion.
|
||||
class Potion < Consumable
|
||||
|
||||
Reference in New Issue
Block a user