Jump to content
  • 0

Question

11 answers to this question

Recommended Posts

  • 0
Posted
4 hours ago, dramaa93 said:

yes and not only aegis.

 

In L2J at least there a method in Inventory.java called notifyUnequiped

which basically remove skills given by item once its equipped.

 

final SkillHolder[] skills = it.getSkills();

if (skills != null)
{
	for (final SkillHolder skillInfo : skills)
	{
		if (skillInfo == null)
		{
			continue;
		}

		itemSkill = skillInfo.getSkill();

		if (itemSkill != null)
		{
			player.removeSkill(itemSkill, false, itemSkill.isPassive());
        	}
        }
}

 

So you can either make a simple check here or make a var BOOLEAN type in XML of weapon and control each item if you want to keep or no keep skills.

 

It's pretty simple.

  • 0
Posted (edited)
4 hours ago, dramaa93 said:

yes and not only aegis.

why would u want to stop shield toggle skills ? they dont usually work when there is no shield equipped.

Edited by BruT
  • 0
Posted
6 hours ago, dramaa93 said:

But reflect or titans frenzy zealot don't works when changing weapons?

Zealot

<for>
			<effect name="Buff" time="60" val="0" stackOrder="#stackOrder" stackType="pd_up_special">
				<add order="0x40" stat="accCombat" val="6"/>
				<add order="0x40" stat="runSpd" val="#runSpd"/>
				<mul order="0x30" stat="pAtkSpd" val="#pAtkSpd"/>
				<mul order="0x30" stat="gainHp" val="0.5"/>
				<add order="0x40" stat="rCrit" val="#rCrit">
					<and>
						<using kind="SWORD,BIGSWORD,POLE"/>
					</and>
				</add>
				<mul order="0x30" stat="cAtk" val="#cAtk">
					<and>
						<using kind="BLUNT,BIGBLUNT,FIST,DUALFIST"/>
					</and>
				</mul>
			</effect>
		</for>

 

Frenzy

 <for>
            <effect name="Buff" time="90" count="1" val="0" stackOrder="1" stackType="OrcBuff">
                <add order="0x40" stat="accCombat" val="#accCombat">
                    <and>
                        <using kind="Big Sword,Big Blunt"/>
                    </and>
                </add>
                <mul order="0x30" stat="pAtk" val="#swordbluntpole">
                    <and>
                        <using kind="Sword,Blunt,Pole"/>
                    </and>
                </mul>
                <mul order="0x30" stat="pAtk" val="#twohands">
                    <and>
                        <using kind="Big Sword,Big Blunt"/>
                    </and>
                </mul>
                <mul order="0x30" stat="pAtk" val="#other">
                    <and>
                        <using kind="Dual Fist,Dual Sword,Fist,Etc,Bow,Dagger"/>
                    </and>
                </mul>
            </effect>
        </for>

 

  • 0
Posted

#zake

If I am not wrong this what you wrote means that I can use those skills on those weapons, but what I meant is that, when I use zealot or frenzy it's have to stop working when I change weapon, except if you change  weapons at 30% hp.

  • 0
Posted (edited)
48 minutes ago, dramaa93 said:

#zake

If I am not wrong this what you wrote means that I can use those skills on those weapons, but what I meant is that, when I use zealot or frenzy it's have to stop working when I change weapon, except if you change  weapons at 30% hp.

zealot and frenzy requieres 30% to load(as effect players inside oly starts run when titan load fr,zealot.titan MUST equip bow,last hit matters). This mode you want to add will upset most of players.. @Zake gives you the best solution!

Edited by Irrelevant
  • 0
Posted
1 hour ago, dramaa93 said:

#zake

If I am not wrong this what you wrote means that I can use those skills on those weapons, but what I meant is that, when I use zealot or frenzy it's have to stop working when I change weapon, except if you change  weapons at 30% hp.

This means that stats may vary according to your equipped weapon unless frozen comes up with new surprises. Normally frenzy should be casted even without a weapon

  • 0
Posted

Okey but what about paladins reflect? Can I make it so to when he unequip shield effect worns off? I have not checked those skills also I am at work so can't check , but can I add this what you wrote me zake to stop effect if shield will be disarmed?

  • 0
Posted (edited)
2 hours ago, dramaa93 said:

Okey but what about paladins reflect? Can I make it so to when he unequip shield effect worns off? I have not checked those skills also I am at work so can't check , but can I add this what you wrote me zake to stop effect if shield will be disarmed?

You can add any condition just like in the following stat, that makes the stat work only with specific item types

 

<mul order="0x30" stat="pAtk" val="#other">
                    <and>
                        <using kind="Dual Fist,Dual Sword,Fist,Etc,Bow,Dagger"/>
                    </and>
                </mul>
            

 

 

">

  <and>

    <using...

  </and>

</mul>

 

there are usually 2 type of conditions, onCast and Stat

 

don't ever bother moding core for such things like removing effect on unequip because ull face other issues

 

Edited by BruT
Guest
This topic is now closed to further replies.


  • Posts

    • Hello Everyone  I hope you missed Old nostalgia BNB , is time to come back and be ready for the new journey  L2 BnB C3 Website: https://l2bnb.eu/ Discord: https://discord.gg/jaCJKYXgYZ Max Level 75 Max Grade (A) Safe:3 , Max:16 Anti-Botting. Auto learning skills , Auto Loot , Auto Create Account Subclass (NO) quest. Retail Buffs/DS Time ,Need Buffer Char (NO NPC Buffer) OfflineShop,OfflineCraft,ChangePass No GM Shop,No Global Gk,No Donate,Free Teleport only LVL 1 commands: .offline , .changepassword 99+% Retail 1+1 Window Per Pc BASIC FEATURES: Exp/SP: x 3 Adena: x3 Drop: х3 Spoil: x3 Support 24/7 GLOBAL COMMUNITY
    • 亲爱的朋友们,我们很高兴向您介绍我们的全新服务 —— KYC 实名认证,适用于任何平台!️ 我们为加密货币交易所、在线市场、社交网络、主机服务商、赌场及其他合法网站提供实名认证服务。认证可通过护照或驾驶证完成。不支持任何涉及非法活动的网站。 可用国家: 东欧:俄罗斯、乌克兰、白俄罗斯、乌兹别克斯坦、亚美尼亚、吉尔吉斯斯坦、哈萨克斯坦 — $30–33 欧盟(西欧,通常为拉脱维亚和爱沙尼亚) — $80–88 非洲:尼日利亚、肯尼亚 — $30–33 如果您需要注册并验证您的账户,总金额将额外收取 10% 手续费。 如需申请 KYC 认证或咨询其他问题,请通过以下方式联系我们: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ 邮箱: solomonbog@socnet.store SOCNET 商店有效链接: 数字商品商店(网站):进入 商店 Telegram 机器人:进入 – 通过 Telegram 消息应用便捷访问商店。 Telegram 星星购买机器人:进入 – 快速且优惠地购买 Telegram 星星。 SMM 面板:进入 – 推广您的社交媒体账户。 我们为您准备了最新的促销与特别优惠,用于购买我们的产品与服务: 1. 使用优惠码 OCTOBER2025(8% 折扣)即可在 9 月于我们的商店(网站或机器人)购物享受优惠!首次购买还可使用优惠码 SOCNET(15% 折扣)。 2. 获得 $1 商店余额或 10–20% 折扣 —— 只需在网站注册后按照以下格式留言:"SEND ME BONUS, MY USERNAME IS..." – 在我们的论坛帖中发布即可! 3. 首次试用 SMM 面板可获得 $1 奖励 —— 只需在网站(支持)提交标题为 “Get Trial Bonus” 的工单。 4. 每周在我们的 Telegram 频道及星星购买机器人中举行 Telegram 星星赠送活动! 新闻资讯: ➡ Telegram 频道: https://t.me/accsforyou_shop ➡ WhatsApp 频道: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord 服务器: https://discord.gg/y9AStFFsrh
    • 亲爱的朋友们,我们很高兴向您介绍我们的全新服务 —— KYC 实名认证,适用于任何平台!️ 我们为加密货币交易所、在线市场、社交网络、主机服务商、赌场及其他合法网站提供实名认证服务。认证可通过护照或驾驶证完成。不支持任何涉及非法活动的网站。 可用国家: 东欧:俄罗斯、乌克兰、白俄罗斯、乌兹别克斯坦、亚美尼亚、吉尔吉斯斯坦、哈萨克斯坦 — $30–33 欧盟(西欧,通常为拉脱维亚和爱沙尼亚) — $80–88 非洲:尼日利亚、肯尼亚 — $30–33 如果您需要注册并验证您的账户,总金额将额外收取 10% 手续费。 如需申请 KYC 认证或咨询其他问题,请通过以下方式联系我们: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ 邮箱: solomonbog@socnet.store SOCNET 商店有效链接: 数字商品商店(网站):进入 商店 Telegram 机器人:进入 – 通过 Telegram 消息应用便捷访问商店。 Telegram 星星购买机器人:进入 – 快速且优惠地购买 Telegram 星星。 SMM 面板:进入 – 推广您的社交媒体账户。 我们为您准备了最新的促销与特别优惠,用于购买我们的产品与服务: 1. 使用优惠码 OCTOBER2025(8% 折扣)即可在 9 月于我们的商店(网站或机器人)购物享受优惠!首次购买还可使用优惠码 SOCNET(15% 折扣)。 2. 获得 $1 商店余额或 10–20% 折扣 —— 只需在网站注册后按照以下格式留言:"SEND ME BONUS, MY USERNAME IS..." – 在我们的论坛帖中发布即可! 3. 首次试用 SMM 面板可获得 $1 奖励 —— 只需在网站(支持)提交标题为 “Get Trial Bonus” 的工单。 4. 每周在我们的 Telegram 频道及星星购买机器人中举行 Telegram 星星赠送活动! 新闻资讯: ➡ Telegram 频道: https://t.me/accsforyou_shop ➡ WhatsApp 频道: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord 服务器: https://discord.gg/y9AStFFsrh
    • 亲爱的朋友们,我们很高兴向您介绍我们的全新服务 —— KYC 实名认证,适用于任何平台!️ 我们为加密货币交易所、在线市场、社交网络、主机服务商、赌场及其他合法网站提供实名认证服务。认证可通过护照或驾驶证完成。不支持任何涉及非法活动的网站。 可用国家: 东欧:俄罗斯、乌克兰、白俄罗斯、乌兹别克斯坦、亚美尼亚、吉尔吉斯斯坦、哈萨克斯坦 — $30–33 欧盟(西欧,通常为拉脱维亚和爱沙尼亚) — $80–88 非洲:尼日利亚、肯尼亚 — $30–33 如果您需要注册并验证您的账户,总金额将额外收取 10% 手续费。 如需申请 KYC 认证或咨询其他问题,请通过以下方式联系我们: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ 邮箱: solomonbog@socnet.store SOCNET 商店有效链接: 数字商品商店(网站):进入 商店 Telegram 机器人:进入 – 通过 Telegram 消息应用便捷访问商店。 Telegram 星星购买机器人:进入 – 快速且优惠地购买 Telegram 星星。 SMM 面板:进入 – 推广您的社交媒体账户。 我们为您准备了最新的促销与特别优惠,用于购买我们的产品与服务: 1. 使用优惠码 OCTOBER2025(8% 折扣)即可在 9 月于我们的商店(网站或机器人)购物享受优惠!首次购买还可使用优惠码 SOCNET(15% 折扣)。 2. 获得 $1 商店余额或 10–20% 折扣 —— 只需在网站注册后按照以下格式留言:"SEND ME BONUS, MY USERNAME IS..." – 在我们的论坛帖中发布即可! 3. 首次试用 SMM 面板可获得 $1 奖励 —— 只需在网站(支持)提交标题为 “Get Trial Bonus” 的工单。 4. 每周在我们的 Telegram 频道及星星购买机器人中举行 Telegram 星星赠送活动! 新闻资讯: ➡ Telegram 频道: https://t.me/accsforyou_shop ➡ WhatsApp 频道: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord 服务器: https://discord.gg/y9AStFFsrh
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock