var Item = cm.getItemId(2000000);
if(Item!=null){
Item.setOwner("小z");
Item.setFlag(0);
Item.setExpiration(cm.getCurrentTimeMillis()+3*60*1000);
Item.setQuantity(100);
cm.addFromDrop(Item);
}
var Item = cm.getInventory(1).getItem(1);
if(Item!=null){
Item.getStr();
Item.getUid();
}
var Item = cm.getEquipById(1302000);
if(Item!=null){
Item.setStr(1);
Item.setDex(2);
Item.setInt(3);
Item.setLuk(4);
Item.setHp(5);
Item.setMp(6);
Item.setWatk(7);
Item.setMatk(8);
Item.setWdef(9);
Item.setMdef(10);
Item.setAcc(11);
Item.setAvoid(12);
Item.setHands(13);
Item.setSpeed(14);
Item.setJump(15);
Item.setUpgradeSlots(16);
Item.setViciousHammer(1);
Item.setLevel(18);
Item.setEnhance(19);
Item.setPotential1(1);
Item.setPotential2(2);
Item.setPotential3(3);
Item.setOwner("小z");
Item.setExpiration(cm.getCurrentTimeMillis()+3*60*1000);
cm.addFromDrop(Item);
}
var Item = cm.getInventory(1).getItem(1);
if(Item!=null){
Item.setStr(Item.getStr()+1);
cm.forceReAddItem(Item);
}
<imgdir name="info">
<int name="version" value="10"/>
<int name="cloud" value="0"/>
<int name="town" value="0"/>
<int name="swim" value="0"/>
<int name="returnMap" value="951000000"/>
<int name="forcedReturn" value="951000000"/>
<float name="mobRate" value="2.999999"/>
<string name="bgm" value="Bgm00/RestNPeace"/> //bgm
<string name="mapMark" value="MonsterPark"/>
<int name="fly" value="0"/> //飞行
<int name="noMapCmd" value="0"/>
<int name="hideMinimap" value="0"/>
<int name="fieldLimit" value="336380"/>
<int name="VRTop" value="-425"/>
<int name="VRLeft" value="-1070"/>
<int name="VRBottom" value="125"/>
<int name="VRRight" value="1070"/>
<int name="partyBonusR" value="50"/> //怪物公园
<string name="onFirstUserEnter" value=""/>
<string name="onUserEnter" value="mPark_stageEff"/>
<string name="fieldScript" value="MonsterPark"/>
</imgdir>