L2JLisvus

Would you like to react to this message? Create an account in a few clicks or log in to continue.

3 posters

    End Decay Task on Sweep [FIXED]

    Karakan
    Karakan


    Posts : 756
    Join date : 2013-10-04

    End Decay Task on Sweep [FIXED] Empty End Decay Task on Sweep [FIXED]

    Post  Karakan 15th September 2019, 17:22

    Monster corpses should disappear right after using Sweep skills.


    Code:

    Index: Sweep.java
    ===================================================================
    --- Sweep.java (revision 659)
    +++ Sweep.java (working copy)
    @@ -99,7 +99,8 @@
     }
     
     }
    -
    +
    + target.endDecayTask();
     target.setSpoil(false);
     }
     }



    Last edited by Karakan on 17th September 2019, 18:30; edited 1 time in total
    avatar
    confejulian


    Posts : 254
    Join date : 2016-08-27

    End Decay Task on Sweep [FIXED] Empty Re: End Decay Task on Sweep [FIXED]

    Post  confejulian 15th September 2019, 18:44

    nice coincidence, just i'm watching, all skill like summon pet with corpse death, summon pet with other pet death or corpse life drain, etc. don't remove the dead body instantaniusly. This  fix all these skill uses dead bodys? or is only for spoil?
    Karakan
    Karakan


    Posts : 756
    Join date : 2013-10-04

    End Decay Task on Sweep [FIXED] Empty Re: End Decay Task on Sweep [FIXED]

    Post  Karakan 15th September 2019, 19:09

    Sweep.java

    This is only for Sweep skills.
    Didnt know there was a problem with other target_corpse skills too.
    DnR
    DnR
    Admin
    Admin


    Posts : 1475
    Join date : 2012-12-03
    Age : 34

    End Decay Task on Sweep [FIXED] Empty Re: End Decay Task on Sweep [FIXED]

    Post  DnR 15th September 2019, 19:59

    I personally removed this line in rev. 371 (can't remember the reason).
    We basically need a check that ends decay task for all target corpse skills.
    My question is what happens in the case of pets (L2PetInstance). They should not despawn since they are pending for ressurection.
    avatar
    confejulian


    Posts : 254
    Join date : 2016-08-27

    End Decay Task on Sweep [FIXED] Empty Re: End Decay Task on Sweep [FIXED]

    Post  confejulian 15th September 2019, 20:37

    DnR wrote:I personally removed this line in rev. 371 (can't remember the reason).
    We basically need a check that ends decay task for all target corpse skills.
    My question is what happens in the case of pets (L2PetInstance). They should not despawn since they are pending for ressurection.

    The pets can be resurrected, can't be used for this skills("incorrect target"), if you no have this restriction you need to make.

    Sponsored content


    End Decay Task on Sweep [FIXED] Empty Re: End Decay Task on Sweep [FIXED]

    Post  Sponsored content


      Current date/time is 19th May 2024, 10:02