Some how player become invulnerable after Freya Raid

Issue #188 resolved
ShinichiYao created an issue

Always in invulnerable mode after they leave the IceQueensCastle instances, until next login.

Comments (7)

  1. ShinichiYao reporter
        case "SPAWN_SUPPORT":
        {
            for (L2PcInstance players : world.playersInside)
            {
                if ((players != null) && (players.getInstanceId() == world.getInstanceId()))
                {
                    players.setIsInvul(false);
                }
            }
        ...
    

    I think in this case if player died out or somehow they not inside they become invulnerable until next login.

  2. ShinichiYao reporter

    probably fixed

        if ((npc.getCurrentHp() < (npc.getMaxHp() * 0.2)) && !world.isSupportActive)
        {
            world.isSupportActive = true;
            world.freya.setIsInvul(true);
            world.freya.disableCoreAI(true);
            for (L2PcInstance players : world.playersInside)
            {
                if ((players == null) || players.isDead())
                {
                    continue;
                }
                players.abortAttack();
                players.abortCast();
                players.setIsInvul(true);
            }
            manageMovie(world, 18);
            startQuestTimer("SPAWN_SUPPORT", 27000, world.controller, null);
        }
    
  3. Log in to comment