Skip to content

Commit

Permalink
Ability to reforge broken beautiful sword
Browse files Browse the repository at this point in the history
  • Loading branch information
Kitteh6660 committed Mar 12, 2018
1 parent b985e2c commit f443f50
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions classes/classes/Scenes/ItemUpgrade.as
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ package classes.Scenes
var isSpecial:Boolean = false;
//Special upgrades that will require certain items.
switch(item) {
case weapons.BBSWORD:
case weapons.B_SWORD:
case weapons.U_SWORD:
case weapons.S_BLADE:
Expand Down Expand Up @@ -338,6 +339,10 @@ package classes.Scenes
itemToGet = weapons.WHIP__2;
break;
//Unique Weapons
case weapons.BBSWORD:
gemCost = 1500;
itemToGet = weapons.B_SWORD;
break;
case weapons.B_SWORD:
gemCost = 2000;
if (confirmation) player.destroyItems(consumables.P_PEARL, 1);
Expand Down

0 comments on commit f443f50

Please sign in to comment.