Most visitors online was 18079 , on 7 Jul 2024
Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!
Join Today!if (hpp || mpp) {
if (hpp) {
if (player.getHp() < player.getAuto("hp") && player.getMeso() >= 10000) {
c.getPlayer().gainMeso(-10000, true, false, true);
mii.getItemEffect(2000005).applyTo(c.getPlayer());
}
}
if (mpp) {
if (player.getMp() < player.getAuto("mp") && player.getMeso() >= 10000) {
c.getPlayer().gainMeso(-10000, true, false, true);
mii.getItemEffect(2000005).applyTo(c.getPlayer());
}
}
}
Here's the alternative Method for making it use Mesos.
PHP:if (hpp || mpp) { if (hpp) { if (player.getHp() < player.getAuto("hp") && player.getMeso() >= 10000) { c.getPlayer().gainMeso(-10000, true, false, true); mii.getItemEffect(2000005).applyTo(c.getPlayer()); } } if (mpp) { if (player.getMp() < player.getAuto("mp") && player.getMeso() >= 10000) { c.getPlayer().gainMeso(-10000, true, false, true); mii.getItemEffect(2000005).applyTo(c.getPlayer()); } } }
basically what it does:
it checks if you have 10k mesos.
if you do, it will remove 10k mesos from your inventory, then use a power elixir.
You don't actually have to have a power elixir in your inventory, it will just give you the effect of the elixir.
Disable this in pvp maps?
PS: This might help ppl who want to bot lol
Here's the alternative Method for making it use Mesos.
PHP:if (hpp || mpp) { if (hpp) { if (player.getHp() < player.getAuto("hp") && player.getMeso() >= 10000) { c.getPlayer().gainMeso(-10000, true, false, true); mii.getItemEffect(2000005).applyTo(c.getPlayer()); } } if (mpp) { if (player.getMp() < player.getAuto("mp") && player.getMeso() >= 10000) { c.getPlayer().gainMeso(-10000, true, false, true); mii.getItemEffect(2000005).applyTo(c.getPlayer()); } } }
basically what it does:
it checks if you have 10k mesos.
if you do, it will remove 10k mesos from your inventory, then use a power elixir.
You don't actually have to have a power elixir in your inventory, it will just give you the effect of the elixir.
No It Is Not Disable.Learn Read Code.
Hint Go Your PvpHandler Disable Pets From Coming Out Much Easier.