Jump to content
  • 0

[Help]L2jFrozen Event Java Edit


Question

Posted

[ENG]Hi guys, I would like someone to help me with the Event's of L2jFrozen.

I want when one player gets 1 kill in the event's gives him and pvp.

 

If anyone can help me to do edit, replay here or better yet let's make me add in skype (funkerman16)

Thanks !

4 answers to this question

Recommended Posts

  • 0
Posted

Create a new script, put addKillId with the good npcId template, and in onKill section, put whatever you want (in your case, 2 lines : player.giveItems() and player.setPvpKills(player.getPvPkills +1)).

 

And if L2JFrozen uses a particular system for events, it's probably as easiest as I said.

  • 0
Posted

Create a new script, put addKillId with the good npcId template, and in onKill section, put whatever you want (in your case, 2 lines : player.giveItems() and player.setPvpKills(player.getPvPkills +1)).

 

And if L2JFrozen uses a particular system for events, it's probably as easiest as I said.

 

 

I have create that in L2PcInstance.java but does not work :/ any idea someone ?

 

if ((_inEventCTF && CTF.is_started()) || (_inEventTvT && TvT.is_started()) || (_inEventVIP && VIP._started) || (_inEventDM && DM.is_started()))
{
increasePvpKills();
return;
}

  • 0
Posted

And with...

if ((_inEventCTF && CTF.is_started()) || (_inEventTvT && TvT.is_started()) || (_inEventVIP && VIP._started) || (_inEventDM && DM.is_started()))
{
setPvpKills(getPvpKills()+1);
return;
}

?

  • 0
Posted

And with...

if ((_inEventCTF && CTF.is_started()) || (_inEventTvT && TvT.is_started()) || (_inEventVIP && VIP._started) || (_inEventDM && DM.is_started()))
{
setPvpKills(getPvpKills()+1);
return;
}

?

Thanks dude that work perfect :)

 

Some mod lock that topic!!!

Guest
This topic is now closed to further replies.


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock