Reformat and clean up map scripts
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
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: Moogra, Traitor, Ronan
|
||||
*@Map(s): All Dojo fighting maps
|
||||
@@ -29,12 +30,12 @@
|
||||
function start(ms) {
|
||||
ms.getPlayer().resetEnteredScript();
|
||||
var stage = Math.floor(ms.getPlayer().getMap().getId() / 100) % 100;
|
||||
|
||||
|
||||
ms.getPlayer().showDojoClock();
|
||||
if (stage % 6 > 0) {
|
||||
var realstage = stage - ((stage / 6) | 0);
|
||||
ms.dojoEnergy();
|
||||
|
||||
|
||||
ms.playSound("Dojang/start");
|
||||
ms.showEffect("dojang/start/stage");
|
||||
ms.showEffect("dojang/start/number/" + realstage);
|
||||
|
||||
Reference in New Issue
Block a user