|
@@ -3644,6 +3644,7 @@ int status_change_start(struct block_list *bl,int type,int val1,int val2,int val
|
|
|
if (((struct mob_data*)bl)->class_ == MOBID_EMPERIUM && type != SC_SAFETYWALL)
|
|
|
return 0; //Emperium can't be afflicted by status changes.
|
|
|
break;
|
|
|
+ /* For more flexibility. Anything that has a sc data, let it through. [Skotlex]
|
|
|
case BL_PET: //Because pets can't have status changes.
|
|
|
case BL_SKILL: //These may happen by attacking traps or the like. [Skotlex]
|
|
|
return 0;
|
|
@@ -3651,6 +3652,7 @@ int status_change_start(struct block_list *bl,int type,int val1,int val2,int val
|
|
|
if(battle_config.error_log)
|
|
|
ShowError("status_change_start: invalid source type (%d)!\n", bl->type);
|
|
|
return 0;
|
|
|
+ */
|
|
|
}
|
|
|
|
|
|
if(type < 0 || type >= SC_MAX) {
|