- 0
This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..
Question
etherian
if someone is interested
i was thinking to test this
but im not sure if it can be outside FatalBlow.Java
i created BlowSound.Java
data\scripts\custom
but i know im missing something
it stills gives errors
everyone is welcome to workaround with this
i used the example of pirama to begin
package custom;
import com.l2jserver.gameserver.model.actor.L2Character;
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
import com.l2jserver.gameserver.network.serverpackets.PlaySound;
public final class BlowSound
{
if (activeChar.isPlayer())
{
L2PcInstance activePlayer = activeChar.getActingPlayer();
activePlayer.sendDamageMessage(target, (int) damage, false, crit, false);
activeChar.sendPacket(new PlaySound("skillsound.critical_hit_02"));
}
}
}
laters
7 answers to this question
Recommended Posts