Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // War of Emperium for Transcendent Only
- // Created by Jezu of rAthena.org
- // v1.0 - First Release
- // Please do visit us on rAthena.org/board
- - script TransWoE -1,{
- OnInit:
- set .maps$[0],"aldeg_cas01";
- set .maps$[1],"payg_cas01";
- set .maps$[2],"gefg_cas02";
- //setup flags for lookup later (.m_<map>)
- set .@i, getarraysize(.@maps$) - 1;
- while(.@i >= 0) {
- setmapflag getd(.maps$[.@i]), mf_loadevent;
- setd(".m_" + .maps$[.@i], 1);
- set .@i, .@i - 1;
- }
- end;
- OnPCLoadMapEVent:
- if(getd(".m_" + strcharinfo(3))) { //checks if .m_<map> is set
- if(Class >= 4054 && Class <= 4085 || Class >= 4096 && Class <= 4108) {
- dispbottom "3rd Jobs are not allowed in this map only 1st 2nd & Transcendent Job is allowed to enter";
- warp "SavePoint",0,0;
- end;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement