I wrote a code (java in the core) to increase the summons Decay time so a char summoner can ress your own summon, but any scroll of ress and skill the resurrection (id:1016) can ress the summon.
i tried subst <set name="target" val="TARGET_CORPSE_PLAYER" />
for <set name="target" val="TARGET_SUMMON" />
but dont work.
the xml below contain the setup for skill Resurrection...
In com.l2jfree.gameserver.handler.ISkillHandler i tried write a code to allow ress summon but dont work, i dont know if Im working on correct class or package.
and wrote this code but does not happen nothing, no erros, no exceptions just dont work...
// -- added this block else if for test skill resurrection on summon
else if (cha instanceof L2SummonInstance)
{
if (((L2PetInstance) cha).getOwner() == activeChar)
cha.doRevive(Formulas.getInstance().calculateSkillResurrectRestorePercent(skill.getPower(), activeChar.getStat().getWIT()));
}
// --
How can allow the skil resurrection lvl 1 ress summons and in which class i must start work?
Make that the system requirements of the game are met by your machine. You can have problems with performance if your hardware doesn't meet the minimal requirements.
I pay 20 Dollars to anyone who adds s-guard bypass to the interface to be able to use the interface on the server I play on.
The interface is from @MonokiniSix and the server only sends messages.
Question
everest-rj
Hi.
I wrote a code (java in the core) to increase the summons Decay time so a char summoner can ress your own summon, but any scroll of ress and skill the resurrection (id:1016) can ress the summon.
i tried subst <set name="target" val="TARGET_CORPSE_PLAYER" />
for <set name="target" val="TARGET_SUMMON" />
but dont work.
the xml below contain the setup for skill Resurrection...
In com.l2jfree.gameserver.handler.ISkillHandler i tried write a code to allow ress summon but dont work, i dont know if Im working on correct class or package.
I imported ...
import com.l2jfree.gameserver.model.actor.instance.L2SummonInstance;
and wrote this code but does not happen nothing, no erros, no exceptions just dont work...
How can allow the skil resurrection lvl 1 ress summons and in which class i must start work?
Cheers,
Everest.
Link to comment
Share on other sites
16 answers to this question
Recommended Posts