- Joined
- Jul 15, 2011
- Messages
- 95
- Reaction score
- 162
OSIRIS BEAT ME SO I HAD TO RELEASE THIS, SO MODS/ANYONE ELSE DON'T DELETE, THANK YOU.
Hello, i lost a game in HaxBall and had to release something for the community. Here it is, butterflies. This thread can't be deleted as it is a legit release. It will help the community.
MapleCharacter:
Commands, whichever gm level you want doesn't matter
Hello, i lost a game in HaxBall and had to release something for the community. Here it is, butterflies. This thread can't be deleted as it is a legit release. It will help the community.
MapleCharacter:
Code:
Attributes:
public int butterfly;
Method: LoadCharFromDB()
ret.butterfly = rs.getInt("butterfly");
In the query part:
butterfly = ?,
Second Query part:
butterfly,
After:
?,
Class: MapleCharacter.java
public int getButterfly() {
return buttefly;
}
public void setButterfly(int magicalWings) {
butterfly = magicalWings;
}
public void gainButterfly(int beautifulField) {
butterfly = butterfly + beautifulField;
}
public void addButterFly(int flyAway) {
butterfly = buttlerfly + flyAway
}
Commands, whichever gm level you want doesn't matter
Code:
} else if (splitted[0].equalsIgnoreCase("goprettybutterfly")) {
MapleCharacter victim = cserv.getPlayerStorage().getCharacterByName(splitted[1]);
if (victim != null) {
victim.gainShit(Integer.parseInt(splitted[2]));
player.dropMessage("Took a big and beautiful butterfly from " + victim.getName() + "'s gorgeous garden. He is all in love!");
victim.dropMessage(player.getName() + " has just taken a big and beautiful butterfly " + spitted[2] + " time(s).");
player.getClient().getSession().write(MaplePacketCreator.serverNotice(6, victim.getName() + " just got enchanted by " + player.getName() + " cuteness. Everyone laugh because " + victim.getName() + " is a funny guy with " + splitted[2] + " butterflies!");
} else {
player.dropMessage("Can't take a big and beatiful butterfly on this garden because he isn't at home.");
}
Last edited:

