Jump to content

new Effect works on 1 weapon not on other


Recommended Posts

Hi, I'm adding a new effect into my client for equipment. Oddly enough the effect works whilst you're wearing a sword ( tested with level 1 sword) but doesn't when I put it on an armour it does a different effect, you can see how its set up and the effects its giving.

 

playersettingsmodule.py

	chrmgr.RegisterEffect(chrmgr.EFFECT_REFINED+21, "Bip01", "D:/ymir work/pc/common/effect/armor/armour/armor_7.mse")
	chrmgr.RegisterEffect(chrmgr.EFFECT_REFINED+22, "Bip01", "D:/ymir work/pc/common/effect/armor/armour/armor_8.mse")
	chrmgr.RegisterEffect(chrmgr.EFFECT_REFINED+23, "Bip01", "D:/ymir work/pc/common/effect/armor/armour/armor_9.mse")

item_proto

SWORD	

	        <Item vnum="17" hashName="도+7" name="Sword+7" type="1" subtype="0" weight="0" size="2" antiflag="32" flag="1" wearflag="16" immuneflag="0" gold="100" buy_price="350" limittype0="1" limitvalue0="0" limittype1="0" limitvalue1="0" applytype0="7" applyvalue0="22" applytype1="0" applyvalue1="0" applytype2="0" applyvalue2="0" value0="0" value1="15" value2="19" value3="13" value4="15" value5="49" socket0="0" socket1="0" socket2="0" socket3="0" socket4="0" socket5="0" refine_vnum="18" refine_set="8" magic_pct="15" specular="65" socket_pct="21" />
		<Item vnum="18" hashName="도+8" name="Sword+8" type="1" subtype="0" weight="0" size="2" antiflag="32" flag="1" wearflag="16" immuneflag="0" gold="100" buy_price="500" limittype0="1" limitvalue0="0" limittype1="0" limitvalue1="0" applytype0="7" applyvalue0="22" applytype1="0" applyvalue1="0" applytype2="0" applyvalue2="0" value0="0" value1="15" value2="19" value3="13" value4="15" value5="56" socket0="0" socket1="0" socket2="0" socket3="0" socket4="0" socket5="0" refine_vnum="19" refine_set="9" magic_pct="15" specular="80" socket_pct="22" />
		<Item vnum="19" hashName="도+9" name="Sword+9" type="1" subtype="0" weight="0" size="2" antiflag="32" flag="1" wearflag="16" immuneflag="0" gold="100" buy_price="750" limittype0="1" limitvalue0="0" limittype1="0" limitvalue1="0" applytype0="7" applyvalue0="22" applytype1="0" applyvalue1="0" applytype2="0" applyvalue2="0" value0="0" value1="15" value2="19" value3="13" value4="15" value5="63" socket0="0" socket1="0" socket2="0" socket3="0" socket4="0" socket5="0" refine_vnum="0" refine_set="0" magic_pct="15" specular="100" socket_pct="23" />

ARMOUR
		<Item vnum="10427" hashName="warrior_armor" name="Blazing Armor+7" type="2" subtype="0" weight="0" size="2" antiflag="106936" flag="1" wearflag="1" immuneflag="0" gold="0" buy_price="0" limittype0="1" limitvalue0="108" limittype1="0" limitvalue1="0" applytype0="1" applyvalue0="6500" applytype1="63" applyvalue1="28" applytype2="0" applyvalue2="0" value0="0" value1="600" value2="0" value3="40" value4="0" value5="0" socket0="0" socket1="0" socket2="0" socket3="0" socket4="0" socket5="0" refine_vnum="10428" refine_set="777" magic_pct="15" specular="100" socket_pct="21" />
		<Item vnum="10428" hashName="warrior_armor" name="Blazing Armor+8" type="2" subtype="0" weight="0" size="2" antiflag="106936" flag="1" wearflag="1" immuneflag="0" gold="0" buy_price="0" limittype0="1" limitvalue0="109" limittype1="0" limitvalue1="0" applytype0="1" applyvalue0="7250" applytype1="63" applyvalue1="32" applytype2="0" applyvalue2="0" value0="0" value1="620" value2="0" value3="40" value4="0" value5="0" socket0="0" socket1="0" socket2="0" socket3="0" socket4="0" socket5="0" refine_vnum="10429" refine_set="778" magic_pct="15" specular="100" socket_pct="22" />
		<Item vnum="10429" hashName="warrior_armor" name="Blazing Armor+9" type="2" subtype="0" weight="0" size="2" antiflag="106936" flag="1" wearflag="1" immuneflag="0" gold="0" buy_price="0" limittype0="1" limitvalue0="110" limittype1="0" limitvalue1="0" applytype0="1" applyvalue0="8000" applytype1="63" applyvalue1="35" applytype2="0" applyvalue2="0" value0="0" value1="650" value2="0" value3="40" value4="0" value5="0" socket0="0" socket1="0" socket2="0" socket3="0" socket4="0" socket5="0" refine_vnum="0" refine_set="0" magic_pct="15" specular="100" socket_pct="23" />

Screen shots

 

IwJLSTD.png

 

armour

3mPLevM.png

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.