diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/map/script.c | 2 | ||||
-rw-r--r-- | src/map/skill.c | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/map/script.c b/src/map/script.c index dcb641cb3..16da061b5 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -6035,7 +6035,7 @@ int buildin_getequipisenableref(struct script_state *st) num=conv_num(st,& (st->stack->stack_data[st->start+2])); sd=script_rid2sd(st); i=pc_checkequip(sd,equip[num-1]); - if(i >= 0 && num<7 && sd->inventory_data[i] && !sd->inventory_data[i]->flag.no_refine) + if(i >= 0 && sd->inventory_data[i] && !sd->inventory_data[i]->flag.no_refine) { push_val(st->stack,C_INT,1); } else { diff --git a/src/map/skill.c b/src/map/skill.c index 9a52c99dd..8dcc2432e 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -2028,13 +2028,15 @@ int skill_attack (int attack_type, struct block_list* src, struct block_list *ds case PA_GOSPEL: //Should look like Holy Cross [Skotlex] dmg.dmotion = clif_skill_damage(dsrc,bl,tick,dmg.amotion,dmg.dmotion, damage, dmg.div_, CR_HOLYCROSS, -1, 5); break; - //Skills who's damage should't show any skill-animation. + //Skills that need be passed as a normal attack for the client to display correctly. case HVAN_EXPLOSION: case NPC_SELFDESTRUCTION: if(src->type==BL_PC) dmg.blewcount = 10; dmg.amotion = 0; //Disable delay or attack will do no damage since source is dead by the time it takes effect. [Skotlex] - case KN_AUTOCOUNTER: //Skills that need be passed as a normal attack for the client to display correctly. + + case KN_AUTOCOUNTER: + case NPC_CRITICALSLASH: case TF_DOUBLE: case GS_CHAINACTION: case SN_SHARPSHOOTING: |