DEF becomes negative

MikZ

New member
Messages
461
Points
0
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

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

 
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 ^^

 
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

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

 
Back
Top