BETA: Continuing with [6249] rework:
* Adding method overload (just wrappers) to `L2Skill`.applyEffects(..) to avoid useless parameters. * Suggested by: jurchiks * Added a new parameter to `L2Skill`.applyEffects(..) to customize skill abnormal time upon casting. * Changed the way we check if we can apply a buff (debuff, etc) to a character. * Now all checks must be done on `AbstractEffect`#canStart(`BuffInfo`), this way we prevent executing `AbstractEffect`#onStart(`BuffInfo`) logic if the effect won't be added to the effect list. * `AbstractEffect`#onStart(`BuffInfo`) is void now. * Now `AbstractEffect`#onStart(`BuffInfo`) is called when the effect is already placed in the effect list, the old effect has been removed and we are sure the new effect should be activated. * Reported by: nBd * Suggested by: nBd * Reworked the way effects are restored into characters (players, summons). * Avoiding the restoration of instant effects. * Reported by: nBd, UnAfraid, Nos * Reusing `L2Skill`.applyEffects(..) code! * Fixed effects flags not being computed for players (sleep, hide, etc not removed). * Reported by: nBd, thorl2 * Suggested by: nBd * Fixed many system messages: * "$c1 has resisted your $s2" is not displayed when adding active skills or switching subclasses. * Reported by: nBd, UnAfraid, Adry_85 * "$s1 has worn off" is not displayed for passive skills when they are removed. * Fixing summons not getting buffed when master receives buffs. * Reported by: nBd * Fixed summons not getting Celestial Shield. * Reported by: Zeldak '''Note to developers:''' Instant effects should not override `AbstractEffect`#canStart(`BuffInfo`), all checks should be done `AbstractEffect`#onStart(`BuffInfo`).
Showing
- L2J_DataPack_BETA/dist/game/data/scripts/ai/group_template/DenOfEvil.java 1 addition, 1 deletion...A/dist/game/data/scripts/ai/group_template/DenOfEvil.java
- L2J_DataPack_BETA/dist/game/data/scripts/ai/group_template/FairyTrees.java 1 addition, 1 deletion.../dist/game/data/scripts/ai/group_template/FairyTrees.java
- L2J_DataPack_BETA/dist/game/data/scripts/ai/individual/QueenAnt.java 1 addition, 1 deletion...k_BETA/dist/game/data/scripts/ai/individual/QueenAnt.java
- L2J_DataPack_BETA/dist/game/data/scripts/ai/npc/NpcBuffers/NpcBufferAI.java 4 additions, 4 deletions...dist/game/data/scripts/ai/npc/NpcBuffers/NpcBufferAI.java
- L2J_DataPack_BETA/dist/game/data/scripts/conquerablehalls/RainbowSpringsChateau/RainbowSpringsChateau.java 1 addition, 1 deletion...blehalls/RainbowSpringsChateau/RainbowSpringsChateau.java
- L2J_DataPack_BETA/dist/game/data/scripts/custom/IOPRace/IOPRace.java 2 additions, 2 deletions...k_BETA/dist/game/data/scripts/custom/IOPRace/IOPRace.java
- L2J_DataPack_BETA/dist/game/data/scripts/handlers/bypasshandlers/OlympiadManagerLink.java 3 additions, 3 deletions.../scripts/handlers/bypasshandlers/OlympiadManagerLink.java
- L2J_DataPack_BETA/dist/game/data/scripts/handlers/effecthandlers/AddHate.java 2 additions, 3 deletions...st/game/data/scripts/handlers/effecthandlers/AddHate.java
- L2J_DataPack_BETA/dist/game/data/scripts/handlers/effecthandlers/AttackTrait.java 1 addition, 2 deletions...ame/data/scripts/handlers/effecthandlers/AttackTrait.java
- L2J_DataPack_BETA/dist/game/data/scripts/handlers/effecthandlers/Backstab.java 5 additions, 8 deletions...t/game/data/scripts/handlers/effecthandlers/Backstab.java
- L2J_DataPack_BETA/dist/game/data/scripts/handlers/effecthandlers/Betray.java 9 additions, 8 deletions...ist/game/data/scripts/handlers/effecthandlers/Betray.java
- L2J_DataPack_BETA/dist/game/data/scripts/handlers/effecthandlers/BigHead.java 1 addition, 2 deletions...st/game/data/scripts/handlers/effecthandlers/BigHead.java
- L2J_DataPack_BETA/dist/game/data/scripts/handlers/effecthandlers/Blink.java 1 addition, 2 deletions...dist/game/data/scripts/handlers/effecthandlers/Blink.java
- L2J_DataPack_BETA/dist/game/data/scripts/handlers/effecthandlers/BlockAction.java 7 additions, 8 deletions...ame/data/scripts/handlers/effecthandlers/BlockAction.java
- L2J_DataPack_BETA/dist/game/data/scripts/handlers/effecthandlers/BlockBuffSlot.java 1 addition, 8 deletions...e/data/scripts/handlers/effecthandlers/BlockBuffSlot.java
- L2J_DataPack_BETA/dist/game/data/scripts/handlers/effecthandlers/BlockChat.java 7 additions, 7 deletions.../game/data/scripts/handlers/effecthandlers/BlockChat.java
- L2J_DataPack_BETA/dist/game/data/scripts/handlers/effecthandlers/BlockParty.java 7 additions, 7 deletions...game/data/scripts/handlers/effecthandlers/BlockParty.java
- L2J_DataPack_BETA/dist/game/data/scripts/handlers/effecthandlers/Bluff.java 3 additions, 4 deletions...dist/game/data/scripts/handlers/effecthandlers/Bluff.java
- L2J_DataPack_BETA/dist/game/data/scripts/handlers/effecthandlers/CallParty.java 10 additions, 10 deletions.../game/data/scripts/handlers/effecthandlers/CallParty.java
- L2J_DataPack_BETA/dist/game/data/scripts/handlers/effecthandlers/CallPc.java 3 additions, 5 deletions...ist/game/data/scripts/handlers/effecthandlers/CallPc.java
Loading
Please register or sign in to comment