If you have celestial on and you cast sonic barrier or another celestial type , after the first celestial worn out the second one doesn't continue giving you invulnerability.
I guess is core sided so tell me what else I need to post.
EffectInvincible.java
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
* 02111-1307, USA.
*
* http://www.gnu.org/copyleft/gpl.html
*/
package com.l2jfrozen.gameserver.skills.effects;import com.l2jfrozen.gameserver.model.L2Effect;import com.l2jfrozen.gameserver.skills.Env;publicclassEffectInvincible extends L2Effect
{publicEffectInvincible(Env env,EffectTemplatetemplate){
super(env,template);}@OverridepublicEffectType getEffectType(){return L2Effect.EffectType.INVINCIBLE;}@Overridepublicvoid onStart(){
getEffected().setIsInvul(true);}@Overridepublic boolean onActionTime(){//Commented. But I'm not really sure about this, could cause some bugs.//getEffected().setIsInvul(false);returnfalse;}@Overridepublicvoid onExit(){
getEffected().setIsInvul(false);}}
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Lineage II Classic Einhovant new project is looking for a skilled Java Developer to join our team!
If you're passionate about game development and eager to contribute to this project, we'd love to hear from you.
For more details, feel free to send us a message. Let’s create something amazing together!
Question
sotid
L2jfrozen/1004 interlude.
If you have celestial on and you cast sonic barrier or another celestial type , after the first celestial worn out the second one doesn't continue giving you invulnerability.
I guess is core sided so tell me what else I need to post.
EffectInvincible.java
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.