Achievement:

- improved handling of rewards

Spell:
- moved calcuation of effectValue to separate function, use realPointsPerLevel
- eval: applied proper format, fixed evalable string when facing multiple signs in a row
- display modelviewer for summons

Titles:
- looks like titles behave differently when using "faction" or "side"

Achievement:
- implemented rewards (which i have forgotten for almost 2 years)

* reworked pet-setup
* typos and forgotten changes, that broke code here and there
This commit is contained in:
Sarjuuk
2013-07-06 16:33:30 +02:00
parent a3f16f0e0d
commit 9c9d03dbb8
13 changed files with 219 additions and 122 deletions

View File

@@ -17,7 +17,7 @@ class CreatureList extends BaseType
{
$n = DB::Aowow()->SelectRow('
SELECT
name,
name_loc0,
name_loc2,
name_loc3,
name_loc6,
@@ -85,7 +85,7 @@ class CreatureList extends BaseType
$data = [];
for ($i = 1; $i < 5; $i++)
if ($_ = $this->curTpl['modelid'.$i])
if ($_ = $this->curTpl['displayId'.$i])
$data[] = $_;
return !$data ? 0 : $data[array_rand($data)];