#306 react colors
This commit is contained in:
parent
91d7ad7d4a
commit
7fd353862c
@ -33,7 +33,7 @@ function creatureinfo2(&$Row) {
|
||||
// TODO: Месторасположение
|
||||
// $creature['location'] = location($creature['entry'],'creature');
|
||||
// TODO: Реакция на фракции
|
||||
$creature['react'] = ($Row['FactionAlliance']) . ',' . ($Row['FactionHorde']);
|
||||
$creature['react'] = ($Row['A']) . ',' . ($Row['H']);
|
||||
// Тип NPC
|
||||
$creature['type'] = $Row['Creaturetype'];
|
||||
// Тег NPC
|
||||
|
||||
2
npc.php
2
npc.php
@ -30,7 +30,7 @@ if (!$npc = load_cache(1, intval($id))) {
|
||||
$npc = array();
|
||||
$row = $DB->selectRow('
|
||||
SELECT
|
||||
?#, c.entry, c.name,
|
||||
?#, c.entry, c.name, ft.A, ft.H,
|
||||
{
|
||||
l.name as `name`,
|
||||
l.subname as `subname`,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user