Newbie Spellweaver
- Joined
- Mar 13, 2011
- Messages
- 21
- Reaction score
- 39
Dont know what to say xD hope you like it =D
Corba (2082003.js)
Portals:
OutTemple.js
templeenter.js
timeQuest.js
undodraco.js
reundodraco.js
If you dont have cancelitem thing add to AbstractPlayerInteraction
Screens:
Corba (2082003.js)
PHP:
function start() {
cm.sendSimple("If you had wings, I'm sure you could go there. But, that alone won't be enough. If you want to fly though the wind that's sharper than a blade, you'll need tough scales as well. I'm the only Halfling left that knows the way back... If you want to go there, I can transform you. No matter what you are, for this moment, you will become a #bDragon#k...\r\n #L0##bI want to become a dragon.#k#l");
}
function action(m, t, s) {
if (m > 0)
cm.useItem(2210016, 1);
cm.warp(200090500, 0);
cm.dispose();
}
Portals:
OutTemple.js
PHP:
function enter(pi) {
pi.useItem(2210016);
pi.warp(200090510);
return true;
}
templeenter.js
PHP:
function enter(pi) {
pi.cancelItem(2210016);
pi.warp(270000100, "out00");
return true;
}
timeQuest.js
PHP:
var from = [270010100, 270010200, 270010300, 270010400, 270010500, 270020100,
270020200, 270020300, 270020400, 270020500, 270030100, 270030200,
270030300, 270030400, 270030500, 270040000, 270040100];
var to = [[270010110, 3], [270010210, 3], [270010310, 3], [270010410, 3],
[270020000, 4], [270020110, 3], [270020210, 3], [270020310, 3],
[270020410, 3], [270030000, 4], [270030110, 3], [270030210, 3],
[270030310, 3], [270030410, 3], [270040000, 3], [270040100, 3],
[270050000, 0]];
function enter(pi) {
for (var i = 0; i < from.length; i++)
if (pi.getPlayer().getMapId() == from[i]) {
pi.warp(to[i][0], to[i][1]);
return true;
}
pi.warp(togo, 0);
return true;
}
undodraco.js
PHP:
function enter(pi) {
pi.cancelItem(2210016);
pi.warp(240000110, 2);
return true;
}
reundodraco.js
PHP:
function enter(pi) {
pi.blockPortal();
return true;
}
If you dont have cancelitem thing add to AbstractPlayerInteraction
PHP:
public final void cancelItem(final int id) {
c.getPlayer().cancelEffect(MapleItemInformationProvider.getInstance().getItemEffect(id), false, -1);
}
Screens:
![MapleSanta - [Add-On]Temple Of Time - RaGEZONE Forums MapleSanta - [Add-On]Temple Of Time - RaGEZONE Forums](https://forum.ragezone.com/images/404_image.png)
![MapleSanta - [Add-On]Temple Of Time - RaGEZONE Forums MapleSanta - [Add-On]Temple Of Time - RaGEZONE Forums](https://forum.ragezone.com/images/404_image.png)
![MapleSanta - [Add-On]Temple Of Time - RaGEZONE Forums MapleSanta - [Add-On]Temple Of Time - RaGEZONE Forums](https://forum.ragezone.com/images/404_image.png)
Last edited: