Jump to content
  • 0

check unbreakable item


Hanashi

Question


  • Group:  Members
  • Topic Count:  42
  • Topics Per Day:  0.01
  • Content Count:  113
  • Reputation:   40
  • Joined:  10/23/13
  • Last Seen:  

case 3:	// 1000 damage, random armor destroyed
					{
						status_fix_damage(src, bl, 1000, 0);
						clif_damage(src,bl,tick,0,0,1000,0,DMG_NORMAL,0,false);
						if( !status_isdead(bl) ) {
							int where[] = { EQP_ARMOR, EQP_SHIELD, EQP_HELM, EQP_SHOES, EQP_GARMENT };
							skill_break_equip(src,bl, where[rnd()%5], 10000, BCT_ENEMY);
						}
					}
					break;

in case 3 of CG_TAROTCARD it doesnt show that it will not break the equip items of enemy if its unbreakable ...

so im requesting for skipping break  equip for unbreakable items :3

nvm found the solution

solved: 

bonus bUnbreakableGarment,n;        Garment cannot be damaged/broken by any means (n is meaningless)
bonus bUnbreakableWeapon,n;         Weapon cannot be damaged/broken by any means (n is meaningless)
bonus bUnbreakableArmor,n;          Armor cannot be damaged/broken by any means (n is meaningless)
bonus bUnbreakableHelm,n;           Helm cannot be damaged/broken by any means (n is meaningless)
bonus bUnbreakableShield,n;         Shield cannot be damaged/broken by any means (n is meaningless)
bonus bUnbreakableShoes,n;          Shoes cannot be damaged/broken by any means (n is meaningless)
bonus bUnbreakable,n;               Reduces the break chance of all equipped equipment by n%

 

Edited by AshiHanna
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...