mirror of
https://github.com/EQEmu/Server.git
synced 2026-12-01 04:02:17 +00:00
Initial check-in of bard bot in combat song code.
This commit is contained in:
1 parent
f1b70b3340
commit
765f23febc
9 files changed
+184
-46
No files matched your search
+2
-1
@@ -78,7 +78,7 @@ bool ZoneDatabase::SaveZoneCFG(uint32 zoneid, uint16 instance_id, NewZone_Struct
|
||||
return true;
|
||||
}
|
||||
|
||||
bool ZoneDatabase::GetZoneCFG(uint32 zoneid, uint16 instance_id, NewZone_Struct *zone_data, bool &can_bind, bool &can_combat, bool &can_levitate, bool &can_castoutdoor, bool &is_city, bool &is_hotzone, bool &allow_mercs, int &ruleset, char **map_filename) {
|
||||
bool ZoneDatabase::GetZoneCFG(uint32 zoneid, uint16 instance_id, NewZone_Struct *zone_data, bool &can_bind, bool &can_combat, bool &can_levitate, bool &can_castoutdoor, bool &is_city, bool &is_hotzone, bool &allow_mercs, uint8 &zone_type, int &ruleset, char **map_filename) {
|
||||
char errbuf[MYSQL_ERRMSG_SIZE];
|
||||
char *query = 0;
|
||||
MYSQL_RES *result;
|
||||
@@ -134,6 +134,7 @@ bool ZoneDatabase::GetZoneCFG(uint32 zoneid, uint16 instance_id, NewZone_Struct
|
||||
can_castoutdoor = atoi(row[r++])==0?false:true;
|
||||
is_hotzone = atoi(row[r++])==0?false:true;
|
||||
allow_mercs = true;
|
||||
zone_type = zone_data->ztype;
|
||||
ruleset = atoi(row[r++]);
|
||||
zone_data->SuspendBuffs = atoi(row[r++]);
|
||||
char *file = row[r++];
|
||||
|
||||
Reference in new issue
Block a user