Jump to content
  • 0

[help]Custom Starting Items


EdenEternal

Question

7 answers to this question

Recommended Posts

  • 0

i dont know exactly the code but i can give u an idea ^^

if (!player.isMageClass())
				{
					// Haste Buff to Fighters
					skill = SkillTable.getInstance().getInfo(1086, 1);
					skill.getEffects(player, player);
					player
							.broadcastPacket(new MagicSkillUser(player,
									player, skill.getId(), 1, skill
											.getHitTime(), 0));
					sm = new SystemMessage(
							SystemMessageId.YOU_FEEL_S1_EFFECT);
					sm.addSkillName(1086);
					player.sendPacket(sm);

				} else
				{
					// Acumen Buff to Mages
					skill = SkillTable.getInstance().getInfo(1085, 1);
					skill.getEffects(player, player);
					player
							.broadcastPacket(new MagicSkillUser(player,
									player, skill.getId(), 1, skill
											.getHitTime(), 0));
					sm = new SystemMessage(
							SystemMessageId.YOU_FEEL_S1_EFFECT);
					sm.addSkillName(1085);
					player.sendPacket(sm);
				}

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...