Rename MCRevive3.js to MCrevive3.js
This commit is contained in:
18
scripts/portal/MCrevive3.js
Normal file
18
scripts/portal/MCrevive3.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
[CelticMS] Monster Carnival Reviving Field 1
|
||||
*/
|
||||
|
||||
function enter(pi) {
|
||||
var portal = 0;
|
||||
switch (pi.getPlayer().getTeam()) {
|
||||
case 0:
|
||||
portal = 4;
|
||||
break;
|
||||
case 1:
|
||||
portal = 3;
|
||||
break;
|
||||
}
|
||||
pi.warp(980000301, portal);
|
||||
pi.playPortalSound();
|
||||
return true;
|
||||
}
|
||||
Reference in New Issue
Block a user