Page 1 of 1

Petrification in Oly

Posted: Thu Nov 18, 2010 9:40 pm
by Flashy
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number: 4422
L2JDP Revision Number:7669

when you use for ex. dance of medusa you got no damage right?
But player who is attacking got a damaged displayed and the defender got message damage block ...

Problem for example in Oly.. if a player got debuff medusa he got no damage, but the damage is count to the attacker so the attacker is winning, due the defender "normal" made more damage, because damage to player with medusa should't count...

I hope you anderstand this... xD

(changed titel)

Re: Turn to stone / Medusa Prob

Posted: Fri Nov 19, 2010 12:00 am
by hope
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:
L2JDP Revision Number:

Re: Turn to stone / Medusa Prob

Posted: Fri Nov 19, 2010 1:34 am
by Flashy
Could I add this here, then the damage will not count in Oly, if player is invul, like Petrification (hold2)?

Code: Select all

 Index: L2PcInstance.java===================================================================--- L2PcInstance.java   (revision 4422)+++ L2PcInstance.java   (working copy)@@ -13472,7 +13472,8 @@         if (isInOlympiadMode() &&                 target instanceof L2PcInstance &&                 ((L2PcInstance)target).isInOlympiadMode() &&-                ((L2PcInstance)target).getOlympiadGameId() == getOlympiadGameId())+                ((L2PcInstance)target).getOlympiadGameId() == getOlympiadGameId() &&+                !((L2PcInstance)target).isInvul())         {             Olympiad.getInstance().notifyCompetitorDamage(this, damage, getOlympiadGameId());         } 

Re: Perification in Oly

Posted: Fri Nov 19, 2010 8:22 am
by SolidSnake
Nice, with that fix probably you solved the PETRIFICATION (dance of medusa and turn to stone) and INVINCIBLE errors at the Olympiad Games :wink:

Damage isn't showed to the attacker and isn't sent to the Olympiad system

Re: Perification in Oly

Posted: Fri Nov 19, 2010 9:48 am
by Naonah
Flashy wrote:if a player got debuff medusa he got no damage, but the damage is count to the attacker so the attacker is winning
hmm, i didnt know this :D Thx for share :D

I noticed that ppl stop to attack if an opponent uses "Turn to Stone", "Barrier" etc. but it was a mistake :D so dont stop attacking :)