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