Reformat and clean up portal scripts
This commit is contained in:
@@ -19,16 +19,17 @@
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/*
|
||||
@author kevintjuh93
|
||||
*/
|
||||
function enter(pi) {
|
||||
pi.blockPortal();
|
||||
if (pi.containsAreaInfo(21002, "normal=o")) {
|
||||
return false;
|
||||
}
|
||||
pi.showInfo("Effect/OnUserEff.img/guideEffect/aranTutorial/tutorialGuide1");
|
||||
pi.message("To use a Regular Attack on monsters, press the Ctrl key.");
|
||||
pi.updateAreaInfo(21002, "normal=o;arr0=o;mo1=o;mo2=o;mo3=o");
|
||||
return true;
|
||||
function enter(pi) {
|
||||
pi.blockPortal();
|
||||
if (pi.containsAreaInfo(21002, "normal=o")) {
|
||||
return false;
|
||||
}
|
||||
pi.showInfo("Effect/OnUserEff.img/guideEffect/aranTutorial/tutorialGuide1");
|
||||
pi.message("To use a Regular Attack on monsters, press the Ctrl key.");
|
||||
pi.updateAreaInfo(21002, "normal=o;arr0=o;mo1=o;mo2=o;mo3=o");
|
||||
return true;
|
||||
}
|
||||
Reference in New Issue
Block a user