Issue information

Issue ID
#6754
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Oct 4, 2012 18:59
Last Post
Hercules Elf Bot
Oct 5, 2012 11:57
Confirmation
N/A

Hercules Elf Bot - Oct 4, 2012 18:59

Originally posted by [b]Outlander[/b]
Current code on r16813

[code]#ifdef RENEWAL
#define MOB_FLEE(mob) ( mob->lv + mob->status.dex + mob->status.luk/3 + 175 )
#define MOB_HIT(mob) ( mob->lv + mob->status.agi + mob->status.luk/5 + 100 )
#else
#define MOB_FLEE(mob) ( mob->lv + mob->status.dex )
#define MOB_HIT(mob) ( mob->lv + mob->status.agi )
#endif[/code]

what should be

[code]#ifdef RENEWAL
#define MOB_FLEE(mob) ( mob->lv + mob->status.agi + mob->status.luk/5 + 100 )
#define MOB_HIT(mob) ( mob->lv + mob->status.dex + mob->status.luk/3 + 175 )
#else
#define MOB_FLEE(mob) ( mob->lv + mob->status.agi )
#define MOB_HIT(mob) ( mob->lv + mob->status.dex )
#endif[/code]

Hercules Elf Bot - Oct 4, 2012 19:43

Originally posted by [b]Mr BrycE[/b]
im not pro at this but, if this is confirmed and approved will this be added to changes to svn updates?

Hercules Elf Bot - Oct 5, 2012 0:56

Originally posted by [b]GmOcean[/b]
I can confirm this. According to: [url="http://irowiki.org/wiki/Flee"]irowiki[/url], the formula we use now for @mobinfo is wrong. But then again, that depends on whether or not iro has a different formula from kro, and whether or not we are more associated with kro than iro.

This post has been edited by GmOcean on Oct 5, 2012 0:58

Hercules Elf Bot - Oct 5, 2012 6:13

Originally posted by [b]Ind[/b]
Fixed in [rev=16814]

Hercules Elf Bot - Oct 5, 2012 6:17

Originally posted by [b]frenzmu06[/b]
i see, so the bug is = agi shows additional hit instead of dex and vise versa

Hercules Elf Bot - Oct 5, 2012 10:56

Originally posted by [b]Outlander[/b]
pre-re still wrong

[code]#else
#define MOB_FLEE(mob) ( mob->lv + mob->status.dex )
#define MOB_HIT(mob) ( mob->lv + mob->status.agi )
#endif[/code]

using AGI to calculate mob hit

This post has been edited by Outlander on Oct 5, 2012 10:56

Hercules Elf Bot - Oct 5, 2012 11:57

Originally posted by [b]Ind[/b]
oh boy. thank you