diff options
author | shennetsind <ind@henn.et> | 2013-07-29 18:14:24 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-07-29 18:14:24 -0300 |
commit | 7aa9e6e8b1036a74281c990f850a0c398701c298 (patch) | |
tree | 8afd1a162910491347390fcde1b3883d217f03cf /npc/custom/bgqueue | |
parent | 640c66779d8da4baa8af6bd0fee2583ec2b6143c (diff) | |
download | hercules-7aa9e6e8b1036a74281c990f850a0c398701c298.tar.gz hercules-7aa9e6e8b1036a74281c990f850a0c398701c298.tar.bz2 hercules-7aa9e6e8b1036a74281c990f850a0c398701c298.tar.xz hercules-7aa9e6e8b1036a74281c990f850a0c398701c298.zip |
BG Queue Fixes
Cleared 3 out of 5, #69
Support for the cancel button, for pre-game position to return afterwards and fix to the queue position problem after first game.
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'npc/custom/bgqueue')
-rw-r--r-- | npc/custom/bgqueue/flavius.txt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/npc/custom/bgqueue/flavius.txt b/npc/custom/bgqueue/flavius.txt index 8f195f288..7e30bdd99 100644 --- a/npc/custom/bgqueue/flavius.txt +++ b/npc/custom/bgqueue/flavius.txt @@ -26,6 +26,7 @@ OnInit: //$@bg_queue_id is cleared after this event ends OnPlayerListReady: + set $@FlaviusBG1_id1, bg_create_team("bat_b01",10,290); set $@FlaviusBG1_id2, bg_create_team("bat_b01",390,10); @@ -121,9 +122,9 @@ L_OnPlayerQuit: OnMatchOver: if( $@FlaviusBG1_id1 || $@FlaviusBG1_id2 ) { - bg_match_over("Flavius"); queuedel($@Croix_QueueBG1); queuedel($@Guill_QueueBG1); + bg_match_over("Flavius"); } if( $@FlaviusBG1_id1 ) { bg_destroy $@FlaviusBG1_id1; set $@FlaviusBG1_id1, 0; } if( $@FlaviusBG1_id2 ) { bg_destroy $@FlaviusBG1_id2; set $@FlaviusBG1_id2, 0; } @@ -186,11 +187,9 @@ OnMyMobDead: donpcevent "time#bat_b01::OnEnable"; donpcevent "start#bat_b01::onReset"; } - donpcevent "#bat_b01_timer::OnStop"; bg_updatescore "bat_b01",$@Guill_ScoreBG1,$@Croix_ScoreBG1; bg_warp $@FlaviusBG1_id1,"bat_b01",10,290; bg_warp $@FlaviusBG1_id2,"bat_b01",390,10; - donpcevent "#bat_b01_timer::OnEnable"; } end; } |