Disable/dispell certain skill buff in certain map

Kuroyama

New member
Messages
128
Points
0
Is there anyway to disable or dispell certain skill in certain map? Like I want to automatically dispell the blessing buffed by  whenever the player warped or enter in new_1-1.

That's all thank you.

 
try OnPCLoadMapEvent:
 

Code:
-	script	OnPCLoadMapEvent	HIDDEN_NPC,{
end;

OnPCLoadMapEvent:
	if ( strcharinfo(PC_MAP) == "new_1-1" )
		if(getstatus(SC_BLESSING)) sc_end SC_BLESSING;

	end;
Oninit:
	setmapflag "new_1-1", mf_loadevent;	
	end;
}
 
Back
Top