Better fix for Sweeper.
This commit is contained in:
parent
f89f1f20f1
commit
303b58b1ae
@ -3840,6 +3840,7 @@
|
||||
<!-- Confirmed CT2.5 -->
|
||||
<castRange>20</castRange>
|
||||
<effectRange>400</effectRange>
|
||||
<effectPoint>-1</effectPoint>
|
||||
<hitTime>500</hitTime>
|
||||
<icon>icon.skill0042</icon>
|
||||
<isMagic>2</isMagic> <!-- Static Skill -->
|
||||
|
@ -544,12 +544,8 @@ public class SkillCaster implements Runnable
|
||||
}
|
||||
else if (obj.isMonster() || (obj.isPlayable() && ((obj.getActingPlayer().getPvpFlag() > 0) || (obj.getActingPlayer().getReputation() < 0))))
|
||||
{
|
||||
// Supporting players or monsters result in pvpflag,
|
||||
// but Sweeper is excluded.
|
||||
if (obj.isMonster() && (skill.getId() != CommonSkill.SWEEPER.getId()))
|
||||
{
|
||||
player.updatePvPStatus();
|
||||
}
|
||||
// Supporting players or monsters result in pvpflag.
|
||||
player.updatePvPStatus();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user