Jump to content
  • 0
Sign in to follow this  
MikZ

DEF becomes negative

Question

Good day Master scripters,

Can you help me why does this happen, if armor and shield combine def becomes negative.
Here armor script:

	Script: <"
		bonus bAllStats,5;
		bonus bUnbreakableArmor,0;
		bonus bDefEle,Ele_Holy;
	if(BaseClass==Job_Mage||BaseClass==Job_Archer||BaseClass==Job_Acolyte) bonus2 bResEff,Eff_Silence,5000;
	else if(BaseClass==Job_Swordman||BaseClass==Job_Merchant||BaseClass==Job_Thief) bonus2 bResEff,Eff_Stun,5000;
	">

Shield script:

		bonus bAllStats,5;
		bonus bUnbreakableShield,0;
		bonus bMaxHPrate,5;
		bonus2 bSubSize,Size_Medium,20;
		bonus2 bSubSize,Size_Large,20;
		bonus5 bAutoSpellWhenHit,"NPC_MAGICMIRROR",2,150,BF_MAGIC,0;
		bonus2 bSubEle,Ele_Water,15; bonus2 bSubEle,Ele_Shadow,15;


Please let me know where did the -def came from?
i don't have combo script for it

Share this post


Link to post
Share on other sites

7 answers to this question

Recommended Posts

  • 0

maybe you're running in pre-renewal mode? The Def is capped at 99 by default in pre-RE... ^^

yes i am running pre-re, how will I enable it?

already did 

 

max_def: 500

Share this post


Link to post
Share on other sites
  • 0

don't know if def-values higher than 99 will be possible in pre-renewal item-db...
If not, you'll need to edit them on <=99 for all items in db ^^

Share this post


Link to post
Share on other sites
  • 0

don't know if def-values higher than 99 will be possible in pre-renewal item-db...

If not, you'll need to edit them on <=99 for all items in db ^^

 

is there no other way to allow def >99 ? /sob

Share this post


Link to post
Share on other sites
  • 0

hard def is a % reduction anyways, 99 defense means 99% reduction. Anything over 100 is 100% reduction

is there a way to adjust in src to increase the def to 200%?

Share this post


Link to post
Share on other sites

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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.