EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Submissions (https://www.eqemulator.org/forums/forumdisplay.php?f=634)
-   -   Fix for Vergalid Mines Lift (https://www.eqemulator.org/forums/showthread.php?t=35465)

Uleat 06-25-2012 05:08 AM

Fix for Vergalid Mines Lift
 
With the rev. 2153 'doorsupdate.patch' applied, this should fix the player.pl code for the lift.

Code:

sub EVENT_CLICKDOOR
{
        my $tds = quest::isdooropen(41);
        my $bds = quest::isdooropen(42);

        if(($doorid == 41 && !$tds) || ($doorid == 42 && !$bds))
        {
                quest::toggledoorstate(38);
                quest::toggledoorstate(39);
                quest::toggledoorstate(40);
        }
}


U


All times are GMT -4. The time now is 09:26 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.