Spells/DetailPage

* resolve spell effect #86 with info from 203573db83
This commit is contained in:
Sarjuuk
2020-08-03 22:52:55 +02:00
parent 3e24814518
commit 93948a2ec5
7 changed files with 51 additions and 1 deletions

View File

@@ -840,6 +840,13 @@ $lang = array(
GO_FLAG_TRIGGERED => 'Ausgelöst',
GO_FLAG_DAMAGED => 'Belagerung beschädigt',
GO_FLAG_DESTROYED => 'Belagerung zerstört'
),
'actions' => array(
"None", "Animate Custom 0", "Animate Custom 1", "Animate Custom 2", "Animate Custom 3",
"Disturb / Trigger Trap", "Unlock", "Lock", "Open", "Unlock & Open",
"Close", "Toggle Open", "Destroy", "Rebuild", "Creation",
"Despawn", "Make Inert", "Make Active", "Close & Lock", "Use ArtKit 0",
"Use ArtKit 1", "Use ArtKit 2", "Use ArtKit 3", "Set Tap List"
)
),
'npc' => array(

View File

@@ -840,6 +840,13 @@ $lang = array(
GO_FLAG_TRIGGERED => 'Triggered',
GO_FLAG_DAMAGED => 'Siege damaged',
GO_FLAG_DESTROYED => 'Siege destroyed'
),
'actions' => array(
"None", "Animate Custom 0", "Animate Custom 1", "Animate Custom 2", "Animate Custom 3",
"Disturb / Trigger Trap", "Unlock", "Lock", "Open", "Unlock & Open",
"Close", "Toggle Open", "Destroy", "Rebuild", "Creation",
"Despawn", "Make Inert", "Make Active", "Close & Lock", "Use ArtKit 0",
"Use ArtKit 1", "Use ArtKit 2", "Use ArtKit 3", "Set Tap List"
)
),
'npc' => array(

View File

@@ -840,6 +840,13 @@ $lang = array(
GO_FLAG_TRIGGERED => 'Triggered',
GO_FLAG_DAMAGED => 'Siege damaged',
GO_FLAG_DESTROYED => 'Siege destroyed'
),
'actions' => array(
"None", "Animate Custom 0", "Animate Custom 1", "Animate Custom 2", "Animate Custom 3",
"Disturb / Trigger Trap", "Unlock", "Lock", "Open", "Unlock & Open",
"Close", "Toggle Open", "Destroy", "Rebuild", "Creation",
"Despawn", "Make Inert", "Make Active", "Close & Lock", "Use ArtKit 0",
"Use ArtKit 1", "Use ArtKit 2", "Use ArtKit 3", "Set Tap List"
)
),
'npc' => array(

View File

@@ -840,6 +840,13 @@ $lang = array(
GO_FLAG_TRIGGERED => 'Triggered',
GO_FLAG_DAMAGED => 'Siege damaged',
GO_FLAG_DESTROYED => 'Siege destroyed'
),
'actions' => array(
"None", "Animate Custom 0", "Animate Custom 1", "Animate Custom 2", "Animate Custom 3",
"Disturb / Trigger Trap", "Unlock", "Lock", "Open", "Unlock & Open",
"Close", "Toggle Open", "Destroy", "Rebuild", "Creation",
"Despawn", "Make Inert", "Make Active", "Close & Lock", "Use ArtKit 0",
"Use ArtKit 1", "Use ArtKit 2", "Use ArtKit 3", "Set Tap List"
)
),
'npc' => array(

View File

@@ -840,6 +840,13 @@ $lang = array(
GO_FLAG_TRIGGERED => 'Triggered',
GO_FLAG_DAMAGED => 'Siege damaged',
GO_FLAG_DESTROYED => 'Siege destroyed'
),
'actions' => array(
"None", "Animate Custom 0", "Animate Custom 1", "Animate Custom 2", "Animate Custom 3",
"Disturb / Trigger Trap", "Unlock", "Lock", "Open", "Unlock & Open",
"Close", "Toggle Open", "Destroy", "Rebuild", "Creation",
"Despawn", "Make Inert", "Make Active", "Close & Lock", "Use ArtKit 0",
"Use ArtKit 1", "Use ArtKit 2", "Use ArtKit 3", "Set Tap List"
)
),
'npc' => array(

View File

@@ -840,6 +840,13 @@ $lang = array(
GO_FLAG_TRIGGERED => 'Triggered',
GO_FLAG_DAMAGED => 'Siege damaged',
GO_FLAG_DESTROYED => 'Siege destroyed'
),
'actions' => array(
"None", "Animate Custom 0", "Animate Custom 1", "Animate Custom 2", "Animate Custom 3",
"Disturb / Trigger Trap", "Unlock", "Lock", "Open", "Unlock & Open",
"Close", "Toggle Open", "Destroy", "Rebuild", "Creation",
"Despawn", "Make Inert", "Make Active", "Close & Lock", "Use ArtKit 0",
"Use ArtKit 1", "Use ArtKit 2", "Use ArtKit 3", "Set Tap List"
)
),
'npc' => array(

View File

@@ -1736,7 +1736,6 @@ class SpellPage extends GenericPage
break;
case 50: // Trans Door
case 76: // Summon Object (Wild)
// case 86: // Activate Object
case 104: // Summon Object (slot 1)
case 105: // Summon Object (slot 2)
case 106: // Summon Object (slot 3)
@@ -1750,6 +1749,15 @@ class SpellPage extends GenericPage
$foo['name'] .= $_;
break;
case 86: // Activate Object
$_ = Lang::gameObject('actions', $effMV);
if ($_ && User::isInGroup(U_GROUP_EMPLOYEE))
$_ = sprintf(Util::$dfnString, 'MiscValue'.Lang::main('colon').$effMV, $_);
else if (!$_)
$_ = $effMV;
$foo['name'] .= ' ('.$_.')';
break;
case 74: // Apply Glyph
if ($_ = DB::Aowow()->selectCell('SELECT spellId FROM ?_glyphproperties WHERE id = ?d', $effMV))
{