diff --git a/L2J_Mobius_01.0_Ertheia/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java b/L2J_Mobius_01.0_Ertheia/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
index 14b0e5150d..f1eda049a6 100644
--- a/L2J_Mobius_01.0_Ertheia/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
+++ b/L2J_Mobius_01.0_Ertheia/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
@@ -1,18 +1,22 @@
/*
- * This file is part of the L2J Mobius project.
+ * Copyright (c) 2013 L2jMobius
*
- * 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 3 of the License, or
- * (at your option) any later version.
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
*
- * 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.
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
*
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
+ * IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
package handlers.effecthandlers;
@@ -26,7 +30,7 @@ import org.l2jmobius.gameserver.model.skill.Skill;
/**
* Physical Mute effect implementation.
- * @author -Nemesiss-
+ * @author -Nemesiss-, Mobius
*/
public class PhysicalMute extends AbstractEffect
{
@@ -43,6 +47,11 @@ public class PhysicalMute extends AbstractEffect
@Override
public void onStart(Creature effector, Creature effected, Skill skill, Item item)
{
+ if ((effected == null) || effected.isRaid())
+ {
+ return;
+ }
+
effected.getAI().notifyEvent(CtrlEvent.EVT_MUTED);
}
}
diff --git a/L2J_Mobius_02.5_Underground/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java b/L2J_Mobius_02.5_Underground/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
index 14b0e5150d..f1eda049a6 100644
--- a/L2J_Mobius_02.5_Underground/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
+++ b/L2J_Mobius_02.5_Underground/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
@@ -1,18 +1,22 @@
/*
- * This file is part of the L2J Mobius project.
+ * Copyright (c) 2013 L2jMobius
*
- * 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 3 of the License, or
- * (at your option) any later version.
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
*
- * 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.
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
*
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
+ * IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
package handlers.effecthandlers;
@@ -26,7 +30,7 @@ import org.l2jmobius.gameserver.model.skill.Skill;
/**
* Physical Mute effect implementation.
- * @author -Nemesiss-
+ * @author -Nemesiss-, Mobius
*/
public class PhysicalMute extends AbstractEffect
{
@@ -43,6 +47,11 @@ public class PhysicalMute extends AbstractEffect
@Override
public void onStart(Creature effector, Creature effected, Skill skill, Item item)
{
+ if ((effected == null) || effected.isRaid())
+ {
+ return;
+ }
+
effected.getAI().notifyEvent(CtrlEvent.EVT_MUTED);
}
}
diff --git a/L2J_Mobius_03.0_Helios/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java b/L2J_Mobius_03.0_Helios/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
index 14b0e5150d..f1eda049a6 100644
--- a/L2J_Mobius_03.0_Helios/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
+++ b/L2J_Mobius_03.0_Helios/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
@@ -1,18 +1,22 @@
/*
- * This file is part of the L2J Mobius project.
+ * Copyright (c) 2013 L2jMobius
*
- * 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 3 of the License, or
- * (at your option) any later version.
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
*
- * 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.
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
*
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
+ * IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
package handlers.effecthandlers;
@@ -26,7 +30,7 @@ import org.l2jmobius.gameserver.model.skill.Skill;
/**
* Physical Mute effect implementation.
- * @author -Nemesiss-
+ * @author -Nemesiss-, Mobius
*/
public class PhysicalMute extends AbstractEffect
{
@@ -43,6 +47,11 @@ public class PhysicalMute extends AbstractEffect
@Override
public void onStart(Creature effector, Creature effected, Skill skill, Item item)
{
+ if ((effected == null) || effected.isRaid())
+ {
+ return;
+ }
+
effected.getAI().notifyEvent(CtrlEvent.EVT_MUTED);
}
}
diff --git a/L2J_Mobius_04.0_GrandCrusade/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java b/L2J_Mobius_04.0_GrandCrusade/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
index 14b0e5150d..f1eda049a6 100644
--- a/L2J_Mobius_04.0_GrandCrusade/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
+++ b/L2J_Mobius_04.0_GrandCrusade/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
@@ -1,18 +1,22 @@
/*
- * This file is part of the L2J Mobius project.
+ * Copyright (c) 2013 L2jMobius
*
- * 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 3 of the License, or
- * (at your option) any later version.
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
*
- * 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.
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
*
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
+ * IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
package handlers.effecthandlers;
@@ -26,7 +30,7 @@ import org.l2jmobius.gameserver.model.skill.Skill;
/**
* Physical Mute effect implementation.
- * @author -Nemesiss-
+ * @author -Nemesiss-, Mobius
*/
public class PhysicalMute extends AbstractEffect
{
@@ -43,6 +47,11 @@ public class PhysicalMute extends AbstractEffect
@Override
public void onStart(Creature effector, Creature effected, Skill skill, Item item)
{
+ if ((effected == null) || effected.isRaid())
+ {
+ return;
+ }
+
effected.getAI().notifyEvent(CtrlEvent.EVT_MUTED);
}
}
diff --git a/L2J_Mobius_05.0_Salvation/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java b/L2J_Mobius_05.0_Salvation/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
index 14b0e5150d..f1eda049a6 100644
--- a/L2J_Mobius_05.0_Salvation/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
+++ b/L2J_Mobius_05.0_Salvation/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
@@ -1,18 +1,22 @@
/*
- * This file is part of the L2J Mobius project.
+ * Copyright (c) 2013 L2jMobius
*
- * 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 3 of the License, or
- * (at your option) any later version.
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
*
- * 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.
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
*
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
+ * IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
package handlers.effecthandlers;
@@ -26,7 +30,7 @@ import org.l2jmobius.gameserver.model.skill.Skill;
/**
* Physical Mute effect implementation.
- * @author -Nemesiss-
+ * @author -Nemesiss-, Mobius
*/
public class PhysicalMute extends AbstractEffect
{
@@ -43,6 +47,11 @@ public class PhysicalMute extends AbstractEffect
@Override
public void onStart(Creature effector, Creature effected, Skill skill, Item item)
{
+ if ((effected == null) || effected.isRaid())
+ {
+ return;
+ }
+
effected.getAI().notifyEvent(CtrlEvent.EVT_MUTED);
}
}
diff --git a/L2J_Mobius_05.5_EtinasFate/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java b/L2J_Mobius_05.5_EtinasFate/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
index 14b0e5150d..f1eda049a6 100644
--- a/L2J_Mobius_05.5_EtinasFate/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
+++ b/L2J_Mobius_05.5_EtinasFate/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
@@ -1,18 +1,22 @@
/*
- * This file is part of the L2J Mobius project.
+ * Copyright (c) 2013 L2jMobius
*
- * 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 3 of the License, or
- * (at your option) any later version.
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
*
- * 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.
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
*
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
+ * IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
package handlers.effecthandlers;
@@ -26,7 +30,7 @@ import org.l2jmobius.gameserver.model.skill.Skill;
/**
* Physical Mute effect implementation.
- * @author -Nemesiss-
+ * @author -Nemesiss-, Mobius
*/
public class PhysicalMute extends AbstractEffect
{
@@ -43,6 +47,11 @@ public class PhysicalMute extends AbstractEffect
@Override
public void onStart(Creature effector, Creature effected, Skill skill, Item item)
{
+ if ((effected == null) || effected.isRaid())
+ {
+ return;
+ }
+
effected.getAI().notifyEvent(CtrlEvent.EVT_MUTED);
}
}
diff --git a/L2J_Mobius_06.0_Fafurion/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java b/L2J_Mobius_06.0_Fafurion/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
index 14b0e5150d..f1eda049a6 100644
--- a/L2J_Mobius_06.0_Fafurion/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
+++ b/L2J_Mobius_06.0_Fafurion/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
@@ -1,18 +1,22 @@
/*
- * This file is part of the L2J Mobius project.
+ * Copyright (c) 2013 L2jMobius
*
- * 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 3 of the License, or
- * (at your option) any later version.
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
*
- * 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.
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
*
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
+ * IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
package handlers.effecthandlers;
@@ -26,7 +30,7 @@ import org.l2jmobius.gameserver.model.skill.Skill;
/**
* Physical Mute effect implementation.
- * @author -Nemesiss-
+ * @author -Nemesiss-, Mobius
*/
public class PhysicalMute extends AbstractEffect
{
@@ -43,6 +47,11 @@ public class PhysicalMute extends AbstractEffect
@Override
public void onStart(Creature effector, Creature effected, Skill skill, Item item)
{
+ if ((effected == null) || effected.isRaid())
+ {
+ return;
+ }
+
effected.getAI().notifyEvent(CtrlEvent.EVT_MUTED);
}
}
diff --git a/L2J_Mobius_07.0_PreludeOfWar/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java b/L2J_Mobius_07.0_PreludeOfWar/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
index 14b0e5150d..f1eda049a6 100644
--- a/L2J_Mobius_07.0_PreludeOfWar/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
+++ b/L2J_Mobius_07.0_PreludeOfWar/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
@@ -1,18 +1,22 @@
/*
- * This file is part of the L2J Mobius project.
+ * Copyright (c) 2013 L2jMobius
*
- * 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 3 of the License, or
- * (at your option) any later version.
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
*
- * 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.
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
*
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
+ * IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
package handlers.effecthandlers;
@@ -26,7 +30,7 @@ import org.l2jmobius.gameserver.model.skill.Skill;
/**
* Physical Mute effect implementation.
- * @author -Nemesiss-
+ * @author -Nemesiss-, Mobius
*/
public class PhysicalMute extends AbstractEffect
{
@@ -43,6 +47,11 @@ public class PhysicalMute extends AbstractEffect
@Override
public void onStart(Creature effector, Creature effected, Skill skill, Item item)
{
+ if ((effected == null) || effected.isRaid())
+ {
+ return;
+ }
+
effected.getAI().notifyEvent(CtrlEvent.EVT_MUTED);
}
}
diff --git a/L2J_Mobius_08.2_Homunculus/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java b/L2J_Mobius_08.2_Homunculus/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
index 14b0e5150d..f1eda049a6 100644
--- a/L2J_Mobius_08.2_Homunculus/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
+++ b/L2J_Mobius_08.2_Homunculus/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
@@ -1,18 +1,22 @@
/*
- * This file is part of the L2J Mobius project.
+ * Copyright (c) 2013 L2jMobius
*
- * 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 3 of the License, or
- * (at your option) any later version.
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
*
- * 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.
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
*
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
+ * IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
package handlers.effecthandlers;
@@ -26,7 +30,7 @@ import org.l2jmobius.gameserver.model.skill.Skill;
/**
* Physical Mute effect implementation.
- * @author -Nemesiss-
+ * @author -Nemesiss-, Mobius
*/
public class PhysicalMute extends AbstractEffect
{
@@ -43,6 +47,11 @@ public class PhysicalMute extends AbstractEffect
@Override
public void onStart(Creature effector, Creature effected, Skill skill, Item item)
{
+ if ((effected == null) || effected.isRaid())
+ {
+ return;
+ }
+
effected.getAI().notifyEvent(CtrlEvent.EVT_MUTED);
}
}
diff --git a/L2J_Mobius_09.2_ReturnOfTheQueenAnt/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java b/L2J_Mobius_09.2_ReturnOfTheQueenAnt/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
index 14b0e5150d..f1eda049a6 100644
--- a/L2J_Mobius_09.2_ReturnOfTheQueenAnt/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
+++ b/L2J_Mobius_09.2_ReturnOfTheQueenAnt/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
@@ -1,18 +1,22 @@
/*
- * This file is part of the L2J Mobius project.
+ * Copyright (c) 2013 L2jMobius
*
- * 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 3 of the License, or
- * (at your option) any later version.
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
*
- * 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.
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
*
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
+ * IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
package handlers.effecthandlers;
@@ -26,7 +30,7 @@ import org.l2jmobius.gameserver.model.skill.Skill;
/**
* Physical Mute effect implementation.
- * @author -Nemesiss-
+ * @author -Nemesiss-, Mobius
*/
public class PhysicalMute extends AbstractEffect
{
@@ -43,6 +47,11 @@ public class PhysicalMute extends AbstractEffect
@Override
public void onStart(Creature effector, Creature effected, Skill skill, Item item)
{
+ if ((effected == null) || effected.isRaid())
+ {
+ return;
+ }
+
effected.getAI().notifyEvent(CtrlEvent.EVT_MUTED);
}
}
diff --git a/L2J_Mobius_10.3_MasterClass/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java b/L2J_Mobius_10.3_MasterClass/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
index 14b0e5150d..f1eda049a6 100644
--- a/L2J_Mobius_10.3_MasterClass/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
+++ b/L2J_Mobius_10.3_MasterClass/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
@@ -1,18 +1,22 @@
/*
- * This file is part of the L2J Mobius project.
+ * Copyright (c) 2013 L2jMobius
*
- * 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 3 of the License, or
- * (at your option) any later version.
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
*
- * 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.
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
*
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
+ * IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
package handlers.effecthandlers;
@@ -26,7 +30,7 @@ import org.l2jmobius.gameserver.model.skill.Skill;
/**
* Physical Mute effect implementation.
- * @author -Nemesiss-
+ * @author -Nemesiss-, Mobius
*/
public class PhysicalMute extends AbstractEffect
{
@@ -43,6 +47,11 @@ public class PhysicalMute extends AbstractEffect
@Override
public void onStart(Creature effector, Creature effected, Skill skill, Item item)
{
+ if ((effected == null) || effected.isRaid())
+ {
+ return;
+ }
+
effected.getAI().notifyEvent(CtrlEvent.EVT_MUTED);
}
}
diff --git a/L2J_Mobius_11.1_TheSourceOfFlame/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java b/L2J_Mobius_11.1_TheSourceOfFlame/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
index 196c2297fb..9ba2014049 100644
--- a/L2J_Mobius_11.1_TheSourceOfFlame/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
+++ b/L2J_Mobius_11.1_TheSourceOfFlame/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
@@ -1,18 +1,22 @@
/*
- * This file is part of the L2J Mobius project.
+ * Copyright (c) 2013 L2jMobius
*
- * 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 3 of the License, or
- * (at your option) any later version.
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
*
- * 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.
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
*
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
+ * IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
package handlers.effecthandlers;
@@ -26,7 +30,7 @@ import org.l2jmobius.gameserver.model.skill.Skill;
/**
* Physical Mute effect implementation.
- * @author -Nemesiss-
+ * @author -Nemesiss-, Mobius
*/
public class PhysicalMute extends AbstractEffect
{
@@ -43,6 +47,11 @@ public class PhysicalMute extends AbstractEffect
@Override
public void onStart(Creature effector, Creature effected, Skill skill, Item item)
{
+ if ((effected == null) || effected.isRaid())
+ {
+ return;
+ }
+
effected.getAI().notifyEvent(CtrlEvent.EVT_MUTED);
}
}
diff --git a/L2J_Mobius_11.2_AgeOfMagic/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java b/L2J_Mobius_11.2_AgeOfMagic/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
index 196c2297fb..9ba2014049 100644
--- a/L2J_Mobius_11.2_AgeOfMagic/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
+++ b/L2J_Mobius_11.2_AgeOfMagic/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
@@ -1,18 +1,22 @@
/*
- * This file is part of the L2J Mobius project.
+ * Copyright (c) 2013 L2jMobius
*
- * 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 3 of the License, or
- * (at your option) any later version.
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
*
- * 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.
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
*
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
+ * IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
package handlers.effecthandlers;
@@ -26,7 +30,7 @@ import org.l2jmobius.gameserver.model.skill.Skill;
/**
* Physical Mute effect implementation.
- * @author -Nemesiss-
+ * @author -Nemesiss-, Mobius
*/
public class PhysicalMute extends AbstractEffect
{
@@ -43,6 +47,11 @@ public class PhysicalMute extends AbstractEffect
@Override
public void onStart(Creature effector, Creature effected, Skill skill, Item item)
{
+ if ((effected == null) || effected.isRaid())
+ {
+ return;
+ }
+
effected.getAI().notifyEvent(CtrlEvent.EVT_MUTED);
}
}
diff --git a/L2J_Mobius_11.3_Shinemaker/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java b/L2J_Mobius_11.3_Shinemaker/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
index 196c2297fb..9ba2014049 100644
--- a/L2J_Mobius_11.3_Shinemaker/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
+++ b/L2J_Mobius_11.3_Shinemaker/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
@@ -1,18 +1,22 @@
/*
- * This file is part of the L2J Mobius project.
+ * Copyright (c) 2013 L2jMobius
*
- * 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 3 of the License, or
- * (at your option) any later version.
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
*
- * 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.
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
*
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
+ * IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
package handlers.effecthandlers;
@@ -26,7 +30,7 @@ import org.l2jmobius.gameserver.model.skill.Skill;
/**
* Physical Mute effect implementation.
- * @author -Nemesiss-
+ * @author -Nemesiss-, Mobius
*/
public class PhysicalMute extends AbstractEffect
{
@@ -43,6 +47,11 @@ public class PhysicalMute extends AbstractEffect
@Override
public void onStart(Creature effector, Creature effected, Skill skill, Item item)
{
+ if ((effected == null) || effected.isRaid())
+ {
+ return;
+ }
+
effected.getAI().notifyEvent(CtrlEvent.EVT_MUTED);
}
}
diff --git a/L2J_Mobius_12.1_PathOfRogue/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java b/L2J_Mobius_12.1_PathOfRogue/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
index 196c2297fb..9ba2014049 100644
--- a/L2J_Mobius_12.1_PathOfRogue/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
+++ b/L2J_Mobius_12.1_PathOfRogue/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
@@ -1,18 +1,22 @@
/*
- * This file is part of the L2J Mobius project.
+ * Copyright (c) 2013 L2jMobius
*
- * 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 3 of the License, or
- * (at your option) any later version.
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
*
- * 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.
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
*
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
+ * IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
package handlers.effecthandlers;
@@ -26,7 +30,7 @@ import org.l2jmobius.gameserver.model.skill.Skill;
/**
* Physical Mute effect implementation.
- * @author -Nemesiss-
+ * @author -Nemesiss-, Mobius
*/
public class PhysicalMute extends AbstractEffect
{
@@ -43,6 +47,11 @@ public class PhysicalMute extends AbstractEffect
@Override
public void onStart(Creature effector, Creature effected, Skill skill, Item item)
{
+ if ((effected == null) || effected.isRaid())
+ {
+ return;
+ }
+
effected.getAI().notifyEvent(CtrlEvent.EVT_MUTED);
}
}
diff --git a/L2J_Mobius_CT_0_Interlude/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java b/L2J_Mobius_CT_0_Interlude/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
index ff1687e310..10c0a0a3d6 100644
--- a/L2J_Mobius_CT_0_Interlude/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
+++ b/L2J_Mobius_CT_0_Interlude/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
@@ -1,18 +1,22 @@
/*
- * This file is part of the L2J Mobius project.
+ * Copyright (c) 2013 L2jMobius
*
- * 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 3 of the License, or
- * (at your option) any later version.
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
*
- * 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.
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
*
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
+ * IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
package handlers.effecthandlers;
@@ -26,7 +30,7 @@ import org.l2jmobius.gameserver.model.skill.Skill;
/**
* Physical Mute effect implementation.
- * @author -Nemesiss-
+ * @author -Nemesiss-, Mobius
*/
public class PhysicalMute extends AbstractEffect
{
@@ -44,6 +48,11 @@ public class PhysicalMute extends AbstractEffect
@Override
public void onStart(Creature effector, Creature effected, Skill skill)
{
+ if ((effected == null) || effected.isRaid())
+ {
+ return;
+ }
+
effected.getAI().notifyEvent(CtrlEvent.EVT_MUTED);
}
}
diff --git a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
index ff1687e310..10c0a0a3d6 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
@@ -1,18 +1,22 @@
/*
- * This file is part of the L2J Mobius project.
+ * Copyright (c) 2013 L2jMobius
*
- * 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 3 of the License, or
- * (at your option) any later version.
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
*
- * 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.
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
*
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
+ * IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
package handlers.effecthandlers;
@@ -26,7 +30,7 @@ import org.l2jmobius.gameserver.model.skill.Skill;
/**
* Physical Mute effect implementation.
- * @author -Nemesiss-
+ * @author -Nemesiss-, Mobius
*/
public class PhysicalMute extends AbstractEffect
{
@@ -44,6 +48,11 @@ public class PhysicalMute extends AbstractEffect
@Override
public void onStart(Creature effector, Creature effected, Skill skill)
{
+ if ((effected == null) || effected.isRaid())
+ {
+ return;
+ }
+
effected.getAI().notifyEvent(CtrlEvent.EVT_MUTED);
}
}
diff --git a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
index ff1687e310..10c0a0a3d6 100644
--- a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
+++ b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
@@ -1,18 +1,22 @@
/*
- * This file is part of the L2J Mobius project.
+ * Copyright (c) 2013 L2jMobius
*
- * 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 3 of the License, or
- * (at your option) any later version.
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
*
- * 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.
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
*
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
+ * IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
package handlers.effecthandlers;
@@ -26,7 +30,7 @@ import org.l2jmobius.gameserver.model.skill.Skill;
/**
* Physical Mute effect implementation.
- * @author -Nemesiss-
+ * @author -Nemesiss-, Mobius
*/
public class PhysicalMute extends AbstractEffect
{
@@ -44,6 +48,11 @@ public class PhysicalMute extends AbstractEffect
@Override
public void onStart(Creature effector, Creature effected, Skill skill)
{
+ if ((effected == null) || effected.isRaid())
+ {
+ return;
+ }
+
effected.getAI().notifyEvent(CtrlEvent.EVT_MUTED);
}
}
diff --git a/L2J_Mobius_Classic_1.0/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java b/L2J_Mobius_Classic_1.0/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
index 14b0e5150d..f1eda049a6 100644
--- a/L2J_Mobius_Classic_1.0/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
+++ b/L2J_Mobius_Classic_1.0/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
@@ -1,18 +1,22 @@
/*
- * This file is part of the L2J Mobius project.
+ * Copyright (c) 2013 L2jMobius
*
- * 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 3 of the License, or
- * (at your option) any later version.
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
*
- * 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.
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
*
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
+ * IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
package handlers.effecthandlers;
@@ -26,7 +30,7 @@ import org.l2jmobius.gameserver.model.skill.Skill;
/**
* Physical Mute effect implementation.
- * @author -Nemesiss-
+ * @author -Nemesiss-, Mobius
*/
public class PhysicalMute extends AbstractEffect
{
@@ -43,6 +47,11 @@ public class PhysicalMute extends AbstractEffect
@Override
public void onStart(Creature effector, Creature effected, Skill skill, Item item)
{
+ if ((effected == null) || effected.isRaid())
+ {
+ return;
+ }
+
effected.getAI().notifyEvent(CtrlEvent.EVT_MUTED);
}
}
diff --git a/L2J_Mobius_Classic_1.5_AgeOfSplendor/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java b/L2J_Mobius_Classic_1.5_AgeOfSplendor/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
index 14b0e5150d..f1eda049a6 100644
--- a/L2J_Mobius_Classic_1.5_AgeOfSplendor/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
+++ b/L2J_Mobius_Classic_1.5_AgeOfSplendor/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
@@ -1,18 +1,22 @@
/*
- * This file is part of the L2J Mobius project.
+ * Copyright (c) 2013 L2jMobius
*
- * 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 3 of the License, or
- * (at your option) any later version.
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
*
- * 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.
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
*
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
+ * IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
package handlers.effecthandlers;
@@ -26,7 +30,7 @@ import org.l2jmobius.gameserver.model.skill.Skill;
/**
* Physical Mute effect implementation.
- * @author -Nemesiss-
+ * @author -Nemesiss-, Mobius
*/
public class PhysicalMute extends AbstractEffect
{
@@ -43,6 +47,11 @@ public class PhysicalMute extends AbstractEffect
@Override
public void onStart(Creature effector, Creature effected, Skill skill, Item item)
{
+ if ((effected == null) || effected.isRaid())
+ {
+ return;
+ }
+
effected.getAI().notifyEvent(CtrlEvent.EVT_MUTED);
}
}
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
index 14b0e5150d..f1eda049a6 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
@@ -1,18 +1,22 @@
/*
- * This file is part of the L2J Mobius project.
+ * Copyright (c) 2013 L2jMobius
*
- * 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 3 of the License, or
- * (at your option) any later version.
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
*
- * 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.
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
*
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
+ * IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
package handlers.effecthandlers;
@@ -26,7 +30,7 @@ import org.l2jmobius.gameserver.model.skill.Skill;
/**
* Physical Mute effect implementation.
- * @author -Nemesiss-
+ * @author -Nemesiss-, Mobius
*/
public class PhysicalMute extends AbstractEffect
{
@@ -43,6 +47,11 @@ public class PhysicalMute extends AbstractEffect
@Override
public void onStart(Creature effector, Creature effected, Skill skill, Item item)
{
+ if ((effected == null) || effected.isRaid())
+ {
+ return;
+ }
+
effected.getAI().notifyEvent(CtrlEvent.EVT_MUTED);
}
}
diff --git a/L2J_Mobius_Classic_2.5_Zaken/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java b/L2J_Mobius_Classic_2.5_Zaken/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
index 14b0e5150d..f1eda049a6 100644
--- a/L2J_Mobius_Classic_2.5_Zaken/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
+++ b/L2J_Mobius_Classic_2.5_Zaken/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
@@ -1,18 +1,22 @@
/*
- * This file is part of the L2J Mobius project.
+ * Copyright (c) 2013 L2jMobius
*
- * 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 3 of the License, or
- * (at your option) any later version.
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
*
- * 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.
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
*
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
+ * IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
package handlers.effecthandlers;
@@ -26,7 +30,7 @@ import org.l2jmobius.gameserver.model.skill.Skill;
/**
* Physical Mute effect implementation.
- * @author -Nemesiss-
+ * @author -Nemesiss-, Mobius
*/
public class PhysicalMute extends AbstractEffect
{
@@ -43,6 +47,11 @@ public class PhysicalMute extends AbstractEffect
@Override
public void onStart(Creature effector, Creature effected, Skill skill, Item item)
{
+ if ((effected == null) || effected.isRaid())
+ {
+ return;
+ }
+
effected.getAI().notifyEvent(CtrlEvent.EVT_MUTED);
}
}
diff --git a/L2J_Mobius_Classic_2.7_Antharas/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java b/L2J_Mobius_Classic_2.7_Antharas/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
index 14b0e5150d..f1eda049a6 100644
--- a/L2J_Mobius_Classic_2.7_Antharas/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
+++ b/L2J_Mobius_Classic_2.7_Antharas/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
@@ -1,18 +1,22 @@
/*
- * This file is part of the L2J Mobius project.
+ * Copyright (c) 2013 L2jMobius
*
- * 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 3 of the License, or
- * (at your option) any later version.
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
*
- * 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.
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
*
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
+ * IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
package handlers.effecthandlers;
@@ -26,7 +30,7 @@ import org.l2jmobius.gameserver.model.skill.Skill;
/**
* Physical Mute effect implementation.
- * @author -Nemesiss-
+ * @author -Nemesiss-, Mobius
*/
public class PhysicalMute extends AbstractEffect
{
@@ -43,6 +47,11 @@ public class PhysicalMute extends AbstractEffect
@Override
public void onStart(Creature effector, Creature effected, Skill skill, Item item)
{
+ if ((effected == null) || effected.isRaid())
+ {
+ return;
+ }
+
effected.getAI().notifyEvent(CtrlEvent.EVT_MUTED);
}
}
diff --git a/L2J_Mobius_Classic_2.8_SevenSigns/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java b/L2J_Mobius_Classic_2.8_SevenSigns/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
index 14b0e5150d..f1eda049a6 100644
--- a/L2J_Mobius_Classic_2.8_SevenSigns/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
+++ b/L2J_Mobius_Classic_2.8_SevenSigns/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
@@ -1,18 +1,22 @@
/*
- * This file is part of the L2J Mobius project.
+ * Copyright (c) 2013 L2jMobius
*
- * 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 3 of the License, or
- * (at your option) any later version.
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
*
- * 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.
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
*
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
+ * IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
package handlers.effecthandlers;
@@ -26,7 +30,7 @@ import org.l2jmobius.gameserver.model.skill.Skill;
/**
* Physical Mute effect implementation.
- * @author -Nemesiss-
+ * @author -Nemesiss-, Mobius
*/
public class PhysicalMute extends AbstractEffect
{
@@ -43,6 +47,11 @@ public class PhysicalMute extends AbstractEffect
@Override
public void onStart(Creature effector, Creature effected, Skill skill, Item item)
{
+ if ((effected == null) || effected.isRaid())
+ {
+ return;
+ }
+
effected.getAI().notifyEvent(CtrlEvent.EVT_MUTED);
}
}
diff --git a/L2J_Mobius_Classic_2.9.5_Saviors/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java b/L2J_Mobius_Classic_2.9.5_Saviors/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
index 14b0e5150d..f1eda049a6 100644
--- a/L2J_Mobius_Classic_2.9.5_Saviors/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
+++ b/L2J_Mobius_Classic_2.9.5_Saviors/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
@@ -1,18 +1,22 @@
/*
- * This file is part of the L2J Mobius project.
+ * Copyright (c) 2013 L2jMobius
*
- * 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 3 of the License, or
- * (at your option) any later version.
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
*
- * 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.
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
*
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
+ * IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
package handlers.effecthandlers;
@@ -26,7 +30,7 @@ import org.l2jmobius.gameserver.model.skill.Skill;
/**
* Physical Mute effect implementation.
- * @author -Nemesiss-
+ * @author -Nemesiss-, Mobius
*/
public class PhysicalMute extends AbstractEffect
{
@@ -43,6 +47,11 @@ public class PhysicalMute extends AbstractEffect
@Override
public void onStart(Creature effector, Creature effected, Skill skill, Item item)
{
+ if ((effected == null) || effected.isRaid())
+ {
+ return;
+ }
+
effected.getAI().notifyEvent(CtrlEvent.EVT_MUTED);
}
}
diff --git a/L2J_Mobius_Classic_2.9_SecretOfEmpire/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java b/L2J_Mobius_Classic_2.9_SecretOfEmpire/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
index 14b0e5150d..f1eda049a6 100644
--- a/L2J_Mobius_Classic_2.9_SecretOfEmpire/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
+++ b/L2J_Mobius_Classic_2.9_SecretOfEmpire/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
@@ -1,18 +1,22 @@
/*
- * This file is part of the L2J Mobius project.
+ * Copyright (c) 2013 L2jMobius
*
- * 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 3 of the License, or
- * (at your option) any later version.
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
*
- * 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.
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
*
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
+ * IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
package handlers.effecthandlers;
@@ -26,7 +30,7 @@ import org.l2jmobius.gameserver.model.skill.Skill;
/**
* Physical Mute effect implementation.
- * @author -Nemesiss-
+ * @author -Nemesiss-, Mobius
*/
public class PhysicalMute extends AbstractEffect
{
@@ -43,6 +47,11 @@ public class PhysicalMute extends AbstractEffect
@Override
public void onStart(Creature effector, Creature effected, Skill skill, Item item)
{
+ if ((effected == null) || effected.isRaid())
+ {
+ return;
+ }
+
effected.getAI().notifyEvent(CtrlEvent.EVT_MUTED);
}
}
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
index 14b0e5150d..f1eda049a6 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
@@ -1,18 +1,22 @@
/*
- * This file is part of the L2J Mobius project.
+ * Copyright (c) 2013 L2jMobius
*
- * 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 3 of the License, or
- * (at your option) any later version.
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
*
- * 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.
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
*
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
+ * IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
package handlers.effecthandlers;
@@ -26,7 +30,7 @@ import org.l2jmobius.gameserver.model.skill.Skill;
/**
* Physical Mute effect implementation.
- * @author -Nemesiss-
+ * @author -Nemesiss-, Mobius
*/
public class PhysicalMute extends AbstractEffect
{
@@ -43,6 +47,11 @@ public class PhysicalMute extends AbstractEffect
@Override
public void onStart(Creature effector, Creature effected, Skill skill, Item item)
{
+ if ((effected == null) || effected.isRaid())
+ {
+ return;
+ }
+
effected.getAI().notifyEvent(CtrlEvent.EVT_MUTED);
}
}
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
index 14b0e5150d..f1eda049a6 100644
--- a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
@@ -1,18 +1,22 @@
/*
- * This file is part of the L2J Mobius project.
+ * Copyright (c) 2013 L2jMobius
*
- * 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 3 of the License, or
- * (at your option) any later version.
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
*
- * 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.
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
*
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
+ * IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
package handlers.effecthandlers;
@@ -26,7 +30,7 @@ import org.l2jmobius.gameserver.model.skill.Skill;
/**
* Physical Mute effect implementation.
- * @author -Nemesiss-
+ * @author -Nemesiss-, Mobius
*/
public class PhysicalMute extends AbstractEffect
{
@@ -43,6 +47,11 @@ public class PhysicalMute extends AbstractEffect
@Override
public void onStart(Creature effector, Creature effected, Skill skill, Item item)
{
+ if ((effected == null) || effected.isRaid())
+ {
+ return;
+ }
+
effected.getAI().notifyEvent(CtrlEvent.EVT_MUTED);
}
}
diff --git a/L2J_Mobius_Essence_4.2_DwellingOfSpirits/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java b/L2J_Mobius_Essence_4.2_DwellingOfSpirits/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
index 14b0e5150d..f1eda049a6 100644
--- a/L2J_Mobius_Essence_4.2_DwellingOfSpirits/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
+++ b/L2J_Mobius_Essence_4.2_DwellingOfSpirits/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
@@ -1,18 +1,22 @@
/*
- * This file is part of the L2J Mobius project.
+ * Copyright (c) 2013 L2jMobius
*
- * 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 3 of the License, or
- * (at your option) any later version.
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
*
- * 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.
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
*
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
+ * IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
package handlers.effecthandlers;
@@ -26,7 +30,7 @@ import org.l2jmobius.gameserver.model.skill.Skill;
/**
* Physical Mute effect implementation.
- * @author -Nemesiss-
+ * @author -Nemesiss-, Mobius
*/
public class PhysicalMute extends AbstractEffect
{
@@ -43,6 +47,11 @@ public class PhysicalMute extends AbstractEffect
@Override
public void onStart(Creature effector, Creature effected, Skill skill, Item item)
{
+ if ((effected == null) || effected.isRaid())
+ {
+ return;
+ }
+
effected.getAI().notifyEvent(CtrlEvent.EVT_MUTED);
}
}
diff --git a/L2J_Mobius_Essence_5.2_FrostLord/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java b/L2J_Mobius_Essence_5.2_FrostLord/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
index 14b0e5150d..f1eda049a6 100644
--- a/L2J_Mobius_Essence_5.2_FrostLord/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
+++ b/L2J_Mobius_Essence_5.2_FrostLord/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
@@ -1,18 +1,22 @@
/*
- * This file is part of the L2J Mobius project.
+ * Copyright (c) 2013 L2jMobius
*
- * 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 3 of the License, or
- * (at your option) any later version.
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
*
- * 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.
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
*
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
+ * IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
package handlers.effecthandlers;
@@ -26,7 +30,7 @@ import org.l2jmobius.gameserver.model.skill.Skill;
/**
* Physical Mute effect implementation.
- * @author -Nemesiss-
+ * @author -Nemesiss-, Mobius
*/
public class PhysicalMute extends AbstractEffect
{
@@ -43,6 +47,11 @@ public class PhysicalMute extends AbstractEffect
@Override
public void onStart(Creature effector, Creature effected, Skill skill, Item item)
{
+ if ((effected == null) || effected.isRaid())
+ {
+ return;
+ }
+
effected.getAI().notifyEvent(CtrlEvent.EVT_MUTED);
}
}
diff --git a/L2J_Mobius_Essence_6.3_Crusader/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java b/L2J_Mobius_Essence_6.3_Crusader/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
index 14b0e5150d..f1eda049a6 100644
--- a/L2J_Mobius_Essence_6.3_Crusader/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
+++ b/L2J_Mobius_Essence_6.3_Crusader/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
@@ -1,18 +1,22 @@
/*
- * This file is part of the L2J Mobius project.
+ * Copyright (c) 2013 L2jMobius
*
- * 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 3 of the License, or
- * (at your option) any later version.
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
*
- * 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.
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
*
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
+ * IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
package handlers.effecthandlers;
@@ -26,7 +30,7 @@ import org.l2jmobius.gameserver.model.skill.Skill;
/**
* Physical Mute effect implementation.
- * @author -Nemesiss-
+ * @author -Nemesiss-, Mobius
*/
public class PhysicalMute extends AbstractEffect
{
@@ -43,6 +47,11 @@ public class PhysicalMute extends AbstractEffect
@Override
public void onStart(Creature effector, Creature effected, Skill skill, Item item)
{
+ if ((effected == null) || effected.isRaid())
+ {
+ return;
+ }
+
effected.getAI().notifyEvent(CtrlEvent.EVT_MUTED);
}
}
diff --git a/L2J_Mobius_Essence_7.1_Assassin/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java b/L2J_Mobius_Essence_7.1_Assassin/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
index 196c2297fb..9ba2014049 100644
--- a/L2J_Mobius_Essence_7.1_Assassin/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
+++ b/L2J_Mobius_Essence_7.1_Assassin/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
@@ -1,18 +1,22 @@
/*
- * This file is part of the L2J Mobius project.
+ * Copyright (c) 2013 L2jMobius
*
- * 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 3 of the License, or
- * (at your option) any later version.
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
*
- * 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.
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
*
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
+ * IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
package handlers.effecthandlers;
@@ -26,7 +30,7 @@ import org.l2jmobius.gameserver.model.skill.Skill;
/**
* Physical Mute effect implementation.
- * @author -Nemesiss-
+ * @author -Nemesiss-, Mobius
*/
public class PhysicalMute extends AbstractEffect
{
@@ -43,6 +47,11 @@ public class PhysicalMute extends AbstractEffect
@Override
public void onStart(Creature effector, Creature effected, Skill skill, Item item)
{
+ if ((effected == null) || effected.isRaid())
+ {
+ return;
+ }
+
effected.getAI().notifyEvent(CtrlEvent.EVT_MUTED);
}
}
diff --git a/L2J_Mobius_Essence_7.2_AztacansTemple/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java b/L2J_Mobius_Essence_7.2_AztacansTemple/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
index 196c2297fb..9ba2014049 100644
--- a/L2J_Mobius_Essence_7.2_AztacansTemple/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
+++ b/L2J_Mobius_Essence_7.2_AztacansTemple/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
@@ -1,18 +1,22 @@
/*
- * This file is part of the L2J Mobius project.
+ * Copyright (c) 2013 L2jMobius
*
- * 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 3 of the License, or
- * (at your option) any later version.
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
*
- * 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.
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
*
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
+ * IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
package handlers.effecthandlers;
@@ -26,7 +30,7 @@ import org.l2jmobius.gameserver.model.skill.Skill;
/**
* Physical Mute effect implementation.
- * @author -Nemesiss-
+ * @author -Nemesiss-, Mobius
*/
public class PhysicalMute extends AbstractEffect
{
@@ -43,6 +47,11 @@ public class PhysicalMute extends AbstractEffect
@Override
public void onStart(Creature effector, Creature effected, Skill skill, Item item)
{
+ if ((effected == null) || effected.isRaid())
+ {
+ return;
+ }
+
effected.getAI().notifyEvent(CtrlEvent.EVT_MUTED);
}
}
diff --git a/L2J_Mobius_Essence_7.3_SevenSigns/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java b/L2J_Mobius_Essence_7.3_SevenSigns/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
index 196c2297fb..9ba2014049 100644
--- a/L2J_Mobius_Essence_7.3_SevenSigns/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
+++ b/L2J_Mobius_Essence_7.3_SevenSigns/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
@@ -1,18 +1,22 @@
/*
- * This file is part of the L2J Mobius project.
+ * Copyright (c) 2013 L2jMobius
*
- * 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 3 of the License, or
- * (at your option) any later version.
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
*
- * 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.
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
*
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
+ * IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
package handlers.effecthandlers;
@@ -26,7 +30,7 @@ import org.l2jmobius.gameserver.model.skill.Skill;
/**
* Physical Mute effect implementation.
- * @author -Nemesiss-
+ * @author -Nemesiss-, Mobius
*/
public class PhysicalMute extends AbstractEffect
{
@@ -43,6 +47,11 @@ public class PhysicalMute extends AbstractEffect
@Override
public void onStart(Creature effector, Creature effected, Skill skill, Item item)
{
+ if ((effected == null) || effected.isRaid())
+ {
+ return;
+ }
+
effected.getAI().notifyEvent(CtrlEvent.EVT_MUTED);
}
}
diff --git a/L2J_Mobius_Essence_8.1_HighElves/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java b/L2J_Mobius_Essence_8.1_HighElves/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
index 196c2297fb..9ba2014049 100644
--- a/L2J_Mobius_Essence_8.1_HighElves/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
+++ b/L2J_Mobius_Essence_8.1_HighElves/dist/game/data/scripts/handlers/effecthandlers/PhysicalMute.java
@@ -1,18 +1,22 @@
/*
- * This file is part of the L2J Mobius project.
+ * Copyright (c) 2013 L2jMobius
*
- * 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 3 of the License, or
- * (at your option) any later version.
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
*
- * 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.
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
*
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
+ * IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
package handlers.effecthandlers;
@@ -26,7 +30,7 @@ import org.l2jmobius.gameserver.model.skill.Skill;
/**
* Physical Mute effect implementation.
- * @author -Nemesiss-
+ * @author -Nemesiss-, Mobius
*/
public class PhysicalMute extends AbstractEffect
{
@@ -43,6 +47,11 @@ public class PhysicalMute extends AbstractEffect
@Override
public void onStart(Creature effector, Creature effected, Skill skill, Item item)
{
+ if ((effected == null) || effected.isRaid())
+ {
+ return;
+ }
+
effected.getAI().notifyEvent(CtrlEvent.EVT_MUTED);
}
}