mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-16 02:34:54 +02:00
[UPDATE] Adding monster looks to db (#220)
* [UPDATE] Adding monster looks to db * small adjustments add into schema.sql + change position in table * add DEFAULT = '' --------- Co-authored-by: slawkens <slawkens@gmail.com>
This commit is contained in:
@@ -82,6 +82,9 @@ class Creatures {
|
||||
$armor = $monster->getArmor();
|
||||
$defensev = $monster->getDefense();
|
||||
|
||||
//load look
|
||||
$look = $monster->getLook();
|
||||
|
||||
//load monster flags
|
||||
$flags = $monster->getFlags();
|
||||
if(!isset($flags['summonable']))
|
||||
@@ -147,6 +150,7 @@ class Creatures {
|
||||
'armor' => $armor,
|
||||
'race' => $race,
|
||||
'loot' => json_encode($loot),
|
||||
'look' => json_encode($look),
|
||||
'summons' => json_encode($summons)
|
||||
));
|
||||
|
||||
|
Reference in New Issue
Block a user