Skillbook Effect

Junior Spellweaver
Joined
Jun 18, 2010
Messages
129
Reaction score
7
I went to some of the server, some of them does not have the scrolling effect for skillbook so i decided to release for fun.
I'm not sure if this release it before.
Flame if you want.
I don't care.


Code:
player.getMap().broadcastMessage(MaplePacketCreator.skillBookSuccess(c.getPlayer().getId(), skill, maxlevel, canuse, success));

Code:
        // Scrolling with Effect.
        public static MaplePacket skillBookSuccess(int id, int skill, int maxlevel, boolean canuse, boolean success) {
        MaplePacketLittleEndianWriter mplew = new MaplePacketLittleEndianWriter();
		mplew.writeShort(SendPacketOpcode.USE_SKILL_BOOK.getValue());
		mplew.writeInt(id); // character id
		mplew.write(1);
		mplew.writeInt(skill);
		mplew.writeInt(maxlevel);
		mplew.write(canuse ? 1 : 0);
		mplew.write(success ? 1 : 0);
		return mplew.getPacket();
	}
 
Last edited:
its the same as when you scroll, you see if it failed or not.

Yes. Another players that in the same map will be able to see the effect.

---------- Post added at 07:20 PM ---------- Previous post was at 07:18 PM ----------

Scrolling effect for skillbook? As in when you press 'K'?

Another players will able to see the scrolling effect if you're scroll the skillbook.
 
Isn't this effect already added in every sauce and repack?

Nope. If you did not notice that most of the Repack that released almost is getClient() which Players able to see their own effect only. Another players that in the same map wont' get to see the effect.

Code:
player.getClient().getSession().write(MaplePacketCreator.skillBookSuccess(player, skill, maxlevel, canuse, success));
 
Back