mirror of
https://bitbucket.org/seefoe/dsrc.git
synced 2026-09-12 22:45:32 -04:00
Removing PvP flags that were added when bounty is being collected and the target or hunter are killed and the bounty collection failed.
This commit is contained in:
Regular → Executable
+5
@@ -442,6 +442,11 @@ public class bounty_hunter extends script.base_script
|
||||
endMission(mission);
|
||||
}
|
||||
removeJediBounty(target, hunter);
|
||||
// remove TEFs that were set when players engaged in battle
|
||||
if(isPlayer(hunter) && isPlayer(target)) {
|
||||
if (pvpHasPersonalEnemyFlag(target, hunter)) pvpRemovePersonalEnemyFlags(target, hunter);
|
||||
if (pvpHasPersonalEnemyFlag(hunter, target)) pvpRemovePersonalEnemyFlags(hunter, target);
|
||||
}
|
||||
CustomerServiceLog("bounty", "%TU was defeated by %TT and failed to collect the bounty on %PT head", hunter, target);
|
||||
}
|
||||
public static obj_id getBountyMission(obj_id player) throws InterruptedException
|
||||
|
||||
Reference in New Issue
Block a user