Fnatic Posted June 14, 2013 Posted June 14, 2013 hello,why when i kill orfen rb and left half hp the orfen was dissable?
0 Fnatic Posted June 14, 2013 Author Posted June 14, 2013 how dissable it,because need that orfen can kill
0 mawtaw7 Posted June 24, 2013 Posted June 24, 2013 orfen goes back to the nest on 1/2 hp doesnt dissapear just changes location
0 Intrepid Posted June 24, 2013 Posted June 24, 2013 where i can change location? in orfens script...but are you sure you are using an offmod pack?i moved a topic of yours alredy to l2j help section
0 Fnatic Posted June 24, 2013 Author Posted June 24, 2013 the is no any scripts. Only is boss config its all:)
0 Intrepid Posted June 24, 2013 Posted June 24, 2013 the is no any scripts. Only is boss config its all:) theres no "theres no script" you need to have a script for it so the boss can have its own AI...
0 Intrepid Posted June 24, 2013 Posted June 24, 2013 than in why in the blue hell you start a topic on off section jesus... http://subversion.assembla.com/svn/L2jFrozenInterlude/trunk/gameserver/head-src/com/l2jfrozen/gameserver/ai/special/Orfen.java there you go 10sec google MOVED.
0 Intrepid Posted June 24, 2013 Posted June 24, 2013 and just in case you dont know there are your coors to change orfens spawn on half HP or to delete hes spawn on half hp @Override public String onAttack(L2NpcInstance npc, L2PcInstance attacker, int damage, boolean isPet) { int npcId = npc.getNpcId(); if (npcId == ORFEN) { if (FirstAttacked) { if ((npc.getCurrentHp() - damage) < (npc.getMaxHp() / 2) && !Teleported) { GrandBossManager.getInstance().getStatsSet(ORFEN).set("currentHP", npc.getCurrentHp()); npc.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE); Teleported = true; npc.getSpawn().setLocx(43577); npc.getSpawn().setLocy(15985); npc.getSpawn().setLocz(-4396); npc.teleToLocation(43577, 15985, -4396, false); startQuestTimer("ORFEN_REFRESH", 10000, npc, null); } else if (npc.isInsideRadius(attacker, 1000, false, false) && !npc.isInsideRadius(attacker, 300, false, false) && Rnd.get(10) == 0) { attacker.teleToLocation(npc.getX(), npc.getY(), npc.getZ()); npc.setTarget(attacker); npc.doCast(SkillTable.getInstance().getInfo(4064, 1)); } } else { FirstAttacked = true; } } return super.onAttack(npc, attacker, damage, isPet); }
0 Intrepid Posted June 24, 2013 Posted June 24, 2013 where add now this show me path god... npc.getSpawn().setLocx(43577); npc.getSpawn().setLocy(15985); npc.getSpawn().setLocz(-4396); npc.teleToLocation(43577, 15985, -4396, false); that code teleports orfen to hes cave or whatever it is :D
Question
Fnatic
hello,why when i kill orfen rb and left half hp the orfen was dissable?
14 answers to this question
Recommended Posts