Originally posted by [b]Masao[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=4379
Hi everyone,
just found a "bug" i think in the Shield of Naga Script, or better something that had been forgotten to add.
RMS:
QUOTE
A sturdy shield built with an intricate arrangement of Naga Scales.
The scales are so sharp that even by mistakenly touching it you could be cut.
MDEF + 3
When receiving physical damage there's low chance physical damage will be reflected to the attacker for 5 seconds.
The chance for the reflect rate is around 3% for each refine.
The reflect damage increases only up to +10. When refined above +11, every further two refine increase the duration of reflect by 1 second.
---------------------------------------------------
{ bonus bMdef,3; autobonus2 "{ bonus bShortWeaponDamageReturn,(getrefine()*3); }",10,5000,BF_WEAPON,"{ specialeffect2 EF_GUARD; }"; },{},{}
item_db.txt
[codebox]
{ bonus bMdef,3; autobonus2 "{ bonus bShortWeaponDamageReturn,(getrefine()*3); }",10,5000,BF_WEAPON,"{ specialeffect2 EF_GUARD; }"; },{},{}
[/codebox]
Fix:
[codebox]
2134,Shield_Of_Naga,Shield of Naga,5,20,,500,,3,,1,0x00CFFF80,2,2,32,,70,1,3,{ bonus bMdef,3; if (getrefine()<=10) { autobonus2 "{ bonus bShortWeaponDamageReturn,(getrefine()*3); }",10,5000,BF_WEAPON,"{ specialeffect2 EF_GUARD; }"; } if (getrefine()>=12) { autobonus2 "{ bonus bShortWeaponDamageReturn,30; }",10,6000,BF_WEAPON,"{ specialeffect2 EF_GUARD; }"; } if (getrefine()>=14) { autobonus2 "{ bonus bShortWeaponDamageReturn,30; }",10,7000,BF_WEAPON,"{ specialeffect2 EF_GUARD; }"; }},{},{}
[/codebox]