Newbie Spellweaver
- Joined
- May 13, 2008
- Messages
- 90
- Reaction score
- 4
No flame,1st release.
Pics:
Direct File:
View attachment 2100.rar
PHP:
/* Sera
*/
var wui = 0;
function start() {
cm.sendSimple ("Welcome to TechMS. Were would you like to start your adventure? rn#L0##bLith Harbor#k #lrn#L1##bHenesys#k #lrn#L2##bEllinia#k
#lrn#L3##bPerion#k #lrn#L4##bKerning City#k #l rn rn Note: You will recive these items. #r rn 100Mil#fUI/UIWindow.img/QuestIcon/7/0# rn 3347(Ellnia Gives 1265 for
mages). #fUI/UIWindow.img/QuestIcon/8/0# rn #i2040807# #r x10 #z2040807# rn #i1002220# #r#z1002220# rn #i1042001# #r#z1042001# rn #i1062038#
#r#z1062038# rn #i1072190# #r#z1072190# rn Jobs are not given. rn Skills are not maxed.");
}
function action(mode, type, selection) {
cm.dispose();
if (selection == 0) {
cm.warp(104000000,0);
cm.gainMeso(1000000);
} else if (selection == 1) {
cm.warp(100000000,0);
cm.gainMeso(100000000);
cm.gainItem(2040807,10);
cm.gainItem(1042001,1);
cm.gainItem(1002220,1);
cm.gainItem(1062038,1);
cm.gainItem(1072190,1);
cm.gainExp(3347);
} else if (selection == 2) {
cm.warp(101000000,0);
cm.gainMeso(1000000);
cm.gainItem(2040807,10);
cm.gainItem(1042001,1);
cm.gainItem(1002220,1);
cm.gainItem(1062038,1);
cm.gainItem(1072190,1);
cm.gainExp(1265);
} else if (selection == 3) {
cm.warp(102000000,0);
cm.gainMeso(1000000);
cm.gainItem(2040807,10);
cm.gainItem(1042001,1);
cm.gainItem(1002220,1);
cm.gainItem(1062038,1);
cm.gainItem(1072190,1);
cm.gainExp(3347);
} else if (selection == 4) {
cm.warp(103000000,0);
cm.gainMeso(1000000);
cm.gainItem(2040807,10);
cm.gainItem(1042001,1);
cm.gainItem(1002220,1);
cm.gainItem(1062038,1);
cm.gainItem(1072190,1);
cm.gainExp(3347);
cm.dispose();
}
if (mode == 0 || wui == 1) {
cm.dispose();
} else {
wui = 1;
var statup = new java.util.ArrayList();
var p = cm.c.getPlayer();
var totAp = p.getRemainingAp() + p.getStr() + p.getDex() + p.getInt() + p.getLuk();
p.setStr(4);
p.setDex(4);
p.setInt(4);
p.setLuk(4);
p.setRemainingAp (totAp - 16);
statup.add (new net.sf.odinms.tools.Pair(net.sf.odinms.client.MapleStat.STR, java.lang.Integer.valueOf(4)));
statup.add (new net.sf.odinms.tools.Pair(net.sf.odinms.client.MapleStat.DEX, java.lang.Integer.valueOf(4)));
statup.add (new net.sf.odinms.tools.Pair(net.sf.odinms.client.MapleStat.LUK, java.lang.Integer.valueOf(4)));
statup.add (new net.sf.odinms.tools.Pair(net.sf.odinms.client.MapleStat.INT, java.lang.Integer.valueOf(4)));
statup.add (new net.sf.odinms.tools.Pair(net.sf.odinms.client.MapleStat.AVAILABLEAP, java.lang.Integer.valueOf(p.getRemainingAp())));
p.getClient().getSession().write (net.sf.odinms.tools.MaplePacketCreator.updatePlayerStats(statup));
}
}
Direct File:
View attachment 2100.rar
Attachments
You must be registered for see attachments list
Last edited: