Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spellflags fix reorganization #1255 #1256

Merged
merged 4 commits into from
Aug 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/game/game_macros.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ typedef dword DAMAGE_TYPE; // describe a type of damage.
#define SPELLFLAG_RESIST 0x0000400 // Allowed to resist this.
#define SPELLFLAG_TARG_NOSELF 0x0000800
#define SPELLFLAG_FREEZEONCAST 0x0001000 // freezes the char on cast for this spell.
#define SPELLFLAG_FIELD_RANDOMDECAY 0x0002000 // Make the field items have random timers.
#define SPELLFLAG_NO_ELEMENTALENGINE 0x0004000
#define SPELLFLAG_DISABLED 0x0008000
#define SPELLFLAG_SCRIPTED 0x0010000
#define SPELLFLAG_PLAYERONLY 0x0020000 // casted by players only
Expand All @@ -105,7 +107,5 @@ typedef dword DAMAGE_TYPE; // describe a type of damage.
#define SPELLFLAG_CURSE 0x20000000 // Curses just like Weaken,Purge Magic,Curse,etc.
#define SPELLFLAG_HEAL 0x40000000 // Healing spell
#define SPELLFLAG_TICK 0x80000000 // A ticking spell like Poison.
#define SPELLFLAG_FIELD_RANDOMDECAY 0x100000000 // Make the field items have random timers.
#define SPELLFLAG_NO_ELEMENTALENGINE 0x200000000

#endif // _INC_GAME_MACROS_H