Newbie Spellweaver
- Joined
- Sep 5, 2019
- Messages
- 8
- Reaction score
- 0
Trying to make a few adjustments to this pre existing source so a few friends and I can play our own private server and I have ran into some issues when trying to change mob stats on specific channels.
I added checks on setting monster stats in MapleMonsterStats.java at
and the various other setting of monster stats but it threw a giant error and didn't end up working. I am pretty new to java, have a little experience with mapleservers from the past few years and just trying to get this setup so we can play the way we wanna. Any help is extremely appreciated.
I added checks on setting monster stats in MapleMonsterStats.java at
Code:
public void setPADamage(int PADamage) { this.PADamage = PADamage; }
Code:
public void setPADamage(int PADamage) {
if (ServerConstants.HELL_CH == true) {
if (channel == 1) { this.PADamage = PADamage * 5;
} else if (channel == 2){
this.PADamage = PADamage * 25;
} else if (channel == 3){
this.PADamage = PADamage * 50;
} else if (channel == 4) {
this.PADamage = PADamage * 100; }
} else this.PADamage = PADamage; }
Last edited by a moderator: