Issue information

Issue ID
#5244
Status
Working as Intended
Severity
None
Started
Hercules Elf Bot
Jan 15, 2012 18:44
Last Post
Hercules Elf Bot
Apr 19, 2012 15:41
Confirmation
N/A

Hercules Elf Bot - Jan 15, 2012 18:44

Originally posted by [b]Ghost[/b]
Server is at pre-re mode (r15463)

Equipment upgrade always lacking 1 DEF.

Scenario:

+0 Formal Suit gives 5 DEF

+1 Formal Suit still gives 5 DEF

+2 Formal Suit now gives 6 DEF

+3 Formal Suit gives 7 DEF

+4 Formal Suit gives 8 DEF

Where is the missing 1 DEF?

Total DEF of a +4 Formal Suit must be 9 DEF

This post has been edited by Ghost on Jan 15, 2012 19:25

Hercules Elf Bot - Jan 15, 2012 21:16

Originally posted by [b]Variant[/b]
I think the correct pre-renewal formula for armor is .7 or .66 defense per refine, rounding to the nearest integer.

+0 = 5 defense
+1 = 5 defense + .66
...
+4 = 5 defense + (.66*4) = 7.64, rounding up to 8. I'm not sure if this is the exact formula, but a +4 formal suit doesn't give 9 defense.

Hercules Elf Bot - Jan 15, 2012 21:48

Originally posted by [b]Gepard[/b]
It's 0.7 DEF per upgrade. If you want to change it to 1 DEF per upgrade, edit db/refine_db.txt.

Hercules Elf Bot - Jan 15, 2012 21:58

Originally posted by [b]Ghost[/b]
Here are some INFO:

Pre-Renewal:
http://irowiki.org/oldwiki/Refinement_System
http://irowiki.org/oldwiki/Def#DEF

Renewal:
http://irowiki.org/wiki/Refinement_System
http://irowiki.org/wiki/Def

Hercules Elf Bot - Jan 15, 2012 22:10

Originally posted by [b]Lighta[/b]
Well iro calc doesn't give the same def as we have right now so I doubt it's correct.
it should be like :
[1;4] => def+1
[4;8] => def+2 ....
here my little fix : http://pastebin.com/dPGx0eWq