summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 34c52a716..cdee51968 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -8686,6 +8686,8 @@ int skill_consume_requirement( struct map_session_data *sd, short skill, short l
if( type&1 )
{
+ if( skill == CG_TAROTCARD )
+ req.sp = 0; // sp will be consumed in skill_cast_nodamage_id [Inkfish]
if(req.hp || req.sp)
status_zap(&sd->bl, req.hp, req.sp);
}
@@ -8822,9 +8824,6 @@ struct skill_condition skill_get_requirement(struct map_session_data* sd, short
// Check for cost reductions due to skills & SCs
switch(skill) {
- case CG_TAROTCARD:
- req.sp = 0; // sp will be consumed in skill_cast_nodamage_id [Inkfish]
- break;
case MC_MAMMONITE:
if(pc_checkskill(sd,BS_UNFAIRLYTRICK)>0)
req.zeny -= req.zeny*10/100;