Land Protector

Myth

New member
Messages
130
Points
0
how can i disable feint bomb and frost nova when they are in a land protector area

 
search:

case WM_POEMOFNETHERWORLD:  // Can't be placed on top of Land Protector.      if( iMap->getcell(src->m, x, y, CELL_CHKLANDPROTECTOR) )        return NULL;      break;
add

case WZ_FROSTNOVA:    case SC_FEINTBOMB:

should looklike:

Code:
   	 case WZ_FROSTNOVA:        case SC_FEINTBOMB:   	 case WM_POEMOFNETHERWORLD:    // Can't be placed on top of Land Protector.            if( iMap->getcell(src->m, x, y, CELL_CHKLANDPROTECTOR) )                return NULL;            break;
 
Code:
		case WM_REVERBERATION:			interval = limit;			val2 = 1;		case WZ_FROSTNOVA:        case SC_FEINTBOMB: 		 case WM_POEMOFNETHERWORLD:	// Can't be placed on top of Land Protector.			if( iMap->getcell(src->m, x, y, CELL_CHKLANDPROTECTOR) )				return NULL;			break; 
 
but still can use frost nova it mean you will still frost inside land pro

 
skill.c

replace

Code:
   	 case NJ_RAIGEKISAI:        case NJ_HYOUSYOURAKU:   	 case WZ_FROSTNOVA:            clif->skill_nodamage(src,bl,skill_id,skill_lv,1);            skill_area_temp[1] = 0;            iMap->foreachinrange(skill->attack_area, src,                skill->get_splash(skill_id, skill_lv), splash_target(src),                BF_MAGIC, src, src, skill_id, skill_lv, tick, flag, BCT_ENEMY);            break;
Code:
   	 case WZ_FROSTNOVA:		    if( iMap->getcell(src->m, src->x, src->y, CELL_CHKLANDPROTECTOR) )			    return 0;   	 case NJ_RAIGEKISAI:        case NJ_HYOUSYOURAKU:            clif->skill_nodamage(src,bl,skill_id,skill_lv,1);            skill_area_temp[1] = 0;            iMap->foreachinrange(skill->attack_area, src,                skill->get_splash(skill_id, skill_lv), splash_target(src),                BF_MAGIC, src, src, skill_id, skill_lv, tick, flag, BCT_ENEMY);            break;
 
feint bomb must be skill is failed when you are in area of land protect

 
Land Protector doesn't stop the "Cast" of a skill, it simply doesn't allow it to do damage within the area of the land that's protected. Take Stormgust for example, you can still cast it on top of Land Protector, but no one gets hurt/frozen/pushed around, etc.

 
another thing, how can i poem of the netherworld in land pro? when a land pro land in area which there is a poem of the netherworld the poem of the netherworld will be gone.

 
Back
Top