- Fixed the auto-direction code which makes self-skills with ground units become a ground spell using the wrong function for said check. In short: fixed GrandCross and similar skills.

- FogWall will now also affect the caster.
- Some cleanup of map.h. 


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7548 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
skotlex
2006-07-06 14:07:21 +00:00
parent bb9b14d4fd
commit db1cf2de9a
4 changed files with 5 additions and 9 deletions

View File

@@ -474,10 +474,8 @@ struct party_member_data {
struct party_data {
struct party party;
struct party_member_data data[MAX_PARTY];
unsigned char count; //Online count of members.
unsigned char itemc; //For item distribution.
struct {
unsigned family : 1; //Is this party a family?
unsigned monk : 1; //There's at least one monk in party?
unsigned sg : 1; //There's at least one Star Gladiator in party?
unsigned snovice :1; //There's a Super Novice
@@ -861,7 +859,7 @@ struct spawn_data {
unsigned int delay1,delay2; //Min delay before respawning after spawn/death
struct {
unsigned size :2; //Holds if mob has to be tiny/large
unsigned ai :1; //Holds if mob is special ai.
unsigned ai :2; //Holds if mob is special ai.
} state;
char name[NAME_LENGTH],eventname[50]; //Name/event
};