mirror of
https://github.com/EQEmu/eqemu-docs-v2.git
synced 2026-08-08 17:45:09 -04:00
56 lines
1.5 KiB
Markdown
Executable file
56 lines
1.5 KiB
Markdown
Executable file
=== "Perl (20)"
|
|
|
|
!!! info end
|
|
|
|
Also see [Spire Quest API Explorer](http://spire.akkadius.com/quest-api-explorer?lang=perl&type=Buff){:target="Buff"} for latest definitions and Quest examples
|
|
|
|
``` perl
|
|
$buff->GetCastOnX();
|
|
$buff->GetCastOnY();
|
|
$buff->GetCastOnZ();
|
|
$buff->GetCasterID();
|
|
$buff->GetCasterLevel();
|
|
$buff->GetCasterName();
|
|
$buff->GetCounters();
|
|
$buff->GetDOTRune();
|
|
$buff->GetExtraDIChance();
|
|
$buff->GetInstrumentModifier();
|
|
$buff->GetMagicRune();
|
|
$buff->GetMeleeRune();
|
|
$buff->GetNumberOfHits();
|
|
$buff->GetRootBreakChance();
|
|
$buff->GetSpellID();
|
|
$buff->GetTicsRemaining();
|
|
$buff->GetVirusSpreadTime();
|
|
$buff->IsCasterClient();
|
|
$buff->IsPersistentBuff();
|
|
$buff->SendsClientUpdate();
|
|
```
|
|
=== "Lua (20)"
|
|
|
|
!!! info end
|
|
|
|
Also see [Spire Quest API Explorer](http://spire.akkadius.com/quest-api-explorer?lang=lua&type=Buff){:target="Buff"} for latest definitions and Quest examples
|
|
|
|
``` lua
|
|
buff:GetCastOnX();
|
|
buff:GetCastOnY();
|
|
buff:GetCastOnZ();
|
|
buff:GetCasterID();
|
|
buff:GetCasterLevel();
|
|
buff:GetCasterName();
|
|
buff:GetCounters();
|
|
buff:GetDOTRune();
|
|
buff:GetExtraDIChance();
|
|
buff:GetInstrumentModifier();
|
|
buff:GetMagicRune();
|
|
buff:GetMeleeRune();
|
|
buff:GetNumberOfHits();
|
|
buff:GetRootBreakChance();
|
|
buff:GetSpellID();
|
|
buff:GetTicsRemaining();
|
|
buff:GetVirusSpreadTime();
|
|
buff:IsCasterClient();
|
|
buff:IsPersistentBuff();
|
|
buff:SendsClientUpdate();
|
|
```
|