mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-22 05:06:24 +00:00
refactor(Scripts/Mechanar): Modernize Mechano Lord Capacitus script (#15491)
This commit is contained in:
@@ -211,6 +211,11 @@ inline bool isNumeric(char c)
|
||||
return (c >= '0' && c <= '9');
|
||||
}
|
||||
|
||||
inline bool IsEvenNumber(int32 n)
|
||||
{
|
||||
return n % 2 == 0;
|
||||
}
|
||||
|
||||
inline bool isNumeric(char const* str)
|
||||
{
|
||||
for (char const* c = str; *c; ++c)
|
||||
|
||||
Reference in New Issue
Block a user