Issue information

Issue ID
#6741
Status
New
Severity
None
Started
Hercules Elf Bot
Sep 28, 2012 21:56
Last Post
Hercules Elf Bot
Nov 22, 2012 15:56
Confirmation
N/A

Hercules Elf Bot - Sep 28, 2012 21:56

Originally posted by [b]Hobbix[/b]
Safety Wall does not work when put in the cell with a Crystal. Crystal takes damage despite Safety Wall.

Hercules Elf Bot - Sep 29, 2012 13:46

Originally posted by [b]Hobbix[/b]
status.c int status_change_start
[CODE] if( bl->type == BL_MOB && type != SC_SAFETYWALL && type != SC_PNEUMA )
{
struct mob_data *md = BL_CAST(BL_MOB,bl);
if( md->class_ == MOBID_EMPERIUM || mob_is_battleground(md) )
return 0; //Emperium/BG Monsters can't be afflicted by status changes
}[/CODE]
This condition don't work?

Hercules Elf Bot - Sep 29, 2012 14:28

Originally posted by [b]Hobbix[/b]
If mob "mode" in mob_db 0x160 or 0x40 (plant), then Safety Wall not work. Why?

Hercules Elf Bot - Oct 16, 2012 13:09

Originally posted by [b]Lighta[/b]
work fine for me.
What your crystal id and check if it's present in : "mob_is_battleground"

Hercules Elf Bot - Nov 22, 2012 15:56

Originally posted by [b]Hobbix[/b]
[quote name='Lighta' timestamp='1350392975' post='15011']
What your crystal id and check if it's present in : "mob_is_battleground"
[/quote]Yes, present in: "mob_is_battleground".
[code]#define mob_is_battleground(md) ( map[(md)->bl.m].flag.battleground && ((md)->class_ == MOBID_BARRICADE2 || ((md)->class_ >= MOBID_FOOD_STOR && (md)->class_ <= MOBID_PINK_CRYST)) )[/code]

Downloaded clean rAthena 16942 https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/.
If the monster type Plant, the Safety Wall not effected.