Hmm...fixed my last commit making Tarotcard ignore sp requirement.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13817 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
61c0d7b744
commit
a4c36c7af8
@ -8686,6 +8686,8 @@ int skill_consume_requirement( struct map_session_data *sd, short skill, short l
|
|||||||
|
|
||||||
if( type&1 )
|
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)
|
if(req.hp || req.sp)
|
||||||
status_zap(&sd->bl, 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
|
// Check for cost reductions due to skills & SCs
|
||||||
switch(skill) {
|
switch(skill) {
|
||||||
case CG_TAROTCARD:
|
|
||||||
req.sp = 0; // sp will be consumed in skill_cast_nodamage_id [Inkfish]
|
|
||||||
break;
|
|
||||||
case MC_MAMMONITE:
|
case MC_MAMMONITE:
|
||||||
if(pc_checkskill(sd,BS_UNFAIRLYTRICK)>0)
|
if(pc_checkskill(sd,BS_UNFAIRLYTRICK)>0)
|
||||||
req.zeny -= req.zeny*10/100;
|
req.zeny -= req.zeny*10/100;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user