Issue information

Issue ID
#5748
Status
Fixed
Severity
None
Started
Hercules Elf Bot
May 15, 2012 16:35
Last Post
Hercules Elf Bot
May 28, 2012 19:25
Confirmation
Yes (3)
No (0)

Hercules Elf Bot - May 15, 2012 16:35

Originally posted by [b]Joseph[/b]
Problem:

It doesn't remove mount, homonculus and pet.

iRO Wiki:

[color=#000000][font=sans-serif][size=3]Reduces target's Accuracy and Attack Speed, while removing their mount, pet, homunculus or animal companion if present.[/size][/font][/color]
[url="http://irowiki.org/wiki/Masquerade-Groomy"]http://irowiki.org/wiki/Masquerade-Groomy[/url]

Hercules Elf Bot - May 15, 2012 17:03

Originally posted by [b]malufett[/b]
ATM only mounts doesn't dismount/remove..

[CODE] case SC__GROOMY:
val2 = 20 + 10 * val1; //ASPD. Need to confirm if Movement Speed reduction is the same. [Jobbie]
val3 = 20 * val1; //HIT
val_flag |= 1|2|4;
if( sd )
{ // Removes Animals
//if( pc_isriding(sd,OPTION_RIDING|OPTION_RIDING_DRAGON|OPTION_RIDING_WUG) ) pc_setriding(sd, 0);
//if( pc_iswarg(sd) ) pc_setoption(sd, sd->sc.option&~OPTION_WUG);
if( pc_isfalcon(sd) ) pc_setoption(sd, sd->sc.option&~OPTION_FALCON);
if( sd->status.pet_id > 0 ) pet_menu(sd, 3);
if( merc_is_hom_active(sd->hd) ) merc_hom_vaporize(sd,1);
if( sd->md ) merc_delete(sd->md,3);
}[/CODE]
don't know why it is commented....

Hercules Elf Bot - May 15, 2012 17:12

Originally posted by [b]mnjfx[/b]
I think it is commented because you will get errors in recompiling if you uncomment that. pc_isriding is undeclared.

Hercules Elf Bot - May 15, 2012 17:22

Originally posted by [b]malufett[/b]
oh..I see...but to correct its not the pc_isriding..it is the pc_iswarg....

Hercules Elf Bot - May 16, 2012 16:58

Originally posted by [b]malufett[/b]
Fixed @ [rev='16114']