Browse Source

Fixes Ancilla and Spore Explosion consuming twice (#5882)

* Fixes Ancilla consuming two Blue Gemstones.
* Fixes Spore Explosion consuming another Mushroom Spore when the second attack hits.
Aleos 4 years ago
parent
commit
cc5425c2bd
2 changed files with 2 additions and 2 deletions
  1. 1 1
      db/re/skill_db.yml
  2. 1 1
      src/map/skill.cpp

+ 1 - 1
db/re/skill_db.yml

@@ -19755,7 +19755,7 @@ Body:
       SpRateCost: -10
       ItemCost:
         - Item: Blue_Gemstone
-          Amount: 1
+          Amount: 0
   - Id: 2040
     Name: AB_ADORAMUS
     Description: Adoramus

+ 1 - 1
src/map/skill.cpp

@@ -5248,7 +5248,7 @@ int skill_castend_damage_id (struct block_list* src, struct block_list *bl, uint
 
 			if (skill_id == RA_ARROWSTORM)
 				status_change_end(src, SC_CAMOUFLAGE, INVALID_TIMER);
-			if( skill_id == AS_SPLASHER ) {
+			if( skill_id == AS_SPLASHER || skill_id == GN_SPORE_EXPLOSION ) {
 				map_freeblock_unlock(); // Don't consume a second gemstone.
 				return 0;
 			}