Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - script Costume Remover FAKE_NPC,{
- OnPCLoadMapEvent:
- if ((agitcheck() && agitcheck2()) && ( strcharinfo(3) == .@nocostumemap)) { // Check if woe is on and if you entered a castle
- if (getequipisequiped(EQI_COSTUME_HEAD_LOW)) unequip EQI_COSTUME_HEAD_LOW;
- if (getequipisequiped(EQI_COSTUME_HEAD_MID)) unequip EQI_COSTUME_HEAD_MID;
- if (getequipisequiped(EQI_COSTUME_HEAD_TOP)) unequip EQI_COSTUME_HEAD_TOP;
- if (getequipisequiped(EQI_COSTUME_GARMENT)) unequip EQI_COSTUME_GARMENT;
- }
- OnInit:
- set .@nocostumemap,"prtg_cas01";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement