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)
Added: a brand-new default dashboard template.
You can now add multiple game/login server builds.
Full support for running both PTS & L2J servers simultaneously, with switching between them.
Payment systems: added OmegaPay and Pally (new PayPal-style API).
Account history now stores everything: donations, items delivered to characters, referrals, transfers between game accounts, and coin transfers to another master account.
Personal Promo Code System: you can create a promo code and assign it to a user or promoter. When donating, a player can enter this promo code to receive bonus coins, and the promo code owner also receives a bonus — all fully configurable in the admin panel.
Look demo site: demo
MoMoProxy has updated more static residential proxies for USA location, anyone interested in can view: https://momoproxy.com/static-residential-proxies
To manually override it you got to use command //field_cycle set_step 1 11
1 is the field cycle id for hellbound island from db (fiy 2 & 3 are the seeds in gracia sod and soi) and 11 is the level you want to change it to. Anywhere from 1 to 11 will work for different stages.
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:
if (npc.getMaxHp() * 40 / 100 > npc.getCurrentHp() - damage) { freya.deleteMe(); freya2 = (L2GrandBossInstance) addSpawn(FREYA2, 114721, -114793, -11209, 0, false, 0); freya2.setCurrentHpMp(4400000, 200000); freya2.broadcastPacket(new NpcSay(npc.getObjectId(), 0, npcId, Text2[Rnd.get(1)])); }Error:
6 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now