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?
Dear players,
19.04 at 06:00 server time, the Airin server will be updated to Chronicle 2.
- The x2 updater will be disabled on April 18, 2025, at 23:59 and will become available again during the update.
- Server rates will be increased to x2.25;
- The siege of Innadril will take place on April 27 at 16:00 server time;
- Bonus Start will begin after the restart! Characters created after April 16, 00:00 will receive rewards.
You can download the full client for Airin C2 from the following link. Do not run the updater until tomorrow's update.
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.
16 answers to this question
Recommended Posts