懶得廢話 直接上教學
小弟本人是專門修復GMS V117.2版 其他版本應該也可以使用
如果遇到相同問題可以試著使用本教學
首先打開IDE找到
MapleMist.java
搜索
1
public MapleMist(Rectangle mistPosition, MapleCharacter owner, MapleStatEffect source) {
複製代碼 大概會是這樣
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
public MapleMist(Rectangle mistPosition, MapleCharacter owner, MapleStatEffect source) {
this.mistPosition = mistPosition;
this.ownerId = owner.getId();
this.source = source;
this.skillDelay = 8;
this.isMobMist = false;
this.skilllevel = owner.getTotalSkillLevel(SkillFactory.getSkill(source.getSourceId()));
switch (source.getSourceId()) {
case 14111006: //毒炸彈
case 1076: //奧茲的火牢術屏障
case 11076: //
case 2111003: // 火流星
case 12111005: // 火牢術屏障
isPoisonMist = 1;
break;
case 4221006: // 煙幕彈
case 32121006: //魔法屏障
isPoisonMist = 2;
break;
case 22161003: //聖療之光
isPoisonMist = 4;
break;
}
}
複製代碼 在
1
switch (source.getSourceId()) {
複製代碼 下方插入
儲存
再找到MapleStatEffect.java
搜索
1
public boolean isMonsterBuff() {
複製代碼 大概會長這樣
1
2
3
4
5
6
public boolean isMonsterBuff() {
switch (sourceid) {
case 1201006: //
case 2101003: // fp slow
case 2201003: // il slow
case 5011002:
複製代碼 在你喜歡的位置一樣插入
往下搜索
應該只會有這行 大概會長這樣
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
case 2221001:
ret.monsterStatus.put(MonsterStatus.FREEZE, 1);
ret.info.put(MapleStatInfo.time, ret.info.get(MapleStatInfo.time) * 2); // freezing skills are a little strange
break;
case 2101003: // fp slow
case 2201003: // il slow
case 12101001:
case 90001002:
ret.monsterStatus.put(MonsterStatus.SPEED, ret.info.get(MapleStatInfo.x));
break;
case 5011002:
ret.monsterStatus.put(MonsterStatus.SPEED, ret.info.get(MapleStatInfo.z));
break;
case 1121010: //enrage
ret.statups.put(MapleBuffStat.ENRAGE, ret.info.get(MapleStatInfo.x) * 100 + ret.info.get(MapleStatInfo.mobCount));
break;
複製代碼 要注意這段是要有MonsterStatus相關詞才是對的
然後在你喜歡的case break;下插入1
2
3
4
5
6
7
8
case 4121015:
ret.monsterStatus.put(MonsterStatus.SPEED, ret.info.get(MapleStatInfo.y));
ret.monsterStatus.put(MonsterStatus.WATK, ret.info.get(MapleStatInfo.x));
ret.monsterStatus.put(MonsterStatus.WDEF, ret.info.get(MapleStatInfo.x));
ret.monsterStatus.put(MonsterStatus.MATK, ret.info.get(MapleStatInfo.x));
ret.monsterStatus.put(MonsterStatus.MDEF, ret.info.get(MapleStatInfo.x));
ret.info.put(MapleStatInfo.time, ret.info.get(MapleStatInfo.time));
break;
複製代碼
往下搜索
1
public boolean isMist() {
複製代碼 檢查有沒有
沒有的話就插入這段
編譯後技能就會正常了
只是一個簡單的修復
希望還有能力的人可以互相交流
|