java.lang.NullPointerException
at ai.individual.Freya.onAttack(Freya.java:127)
at com.l2jserver.gameserver.model.quest.Quest.onAttack(Quest.java:700)
at com.l2jserver.gameserver.model.quest.Quest.notifyAttack(Quest.java:367)
at com.l2jserver.gameserver.model.actor.L2Attackable.addDamage(L2Attackable.java:915)
at com.l2jserver.gameserver.model.actor.L2Attackable.reduceCurrentHp(L2Attackable.java:490)
at com.l2jserver.gameserver.model.actor.L2Attackable.reduceCurrentHp(L2Attackable.java:447)
at com.l2jserver.gameserver.model.actor.L2Character.onHitTimer(L2Character.java:5158)
at com.l2jserver.gameserver.model.actor.instance.L2PcInstance.onHitTimer(L2PcInstance.java:4509)
at com.l2jserver.gameserver.model.actor.L2Character$HitTask.run(L2Character.java:2592)
at com.l2jserver.gameserver.ThreadPoolManager$RunnableWrapper.run(ThreadPoolManager.java:86)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
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.
DISCORD :
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/hood-services
https://campsite.bio/utchihaamkt
Question
oceeman
Hey! I wanted to make a NPC transform into another NPC when it has 40% HP but I get an error :-s
Code:
Error:
6 answers to this question
Recommended Posts
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.