From f33da10188c3ce067885a89b3d1e0111a1039fc5 Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 21 Jan 2019 19:37:19 -0500 Subject: [PATCH] Updated Perl API Quest API (markdown) --- Perl-API---Quest-API.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Perl-API---Quest-API.md b/Perl-API---Quest-API.md index d93689c..a17a71e 100644 --- a/Perl-API---Quest-API.md +++ b/Perl-API---Quest-API.md @@ -2046,7 +2046,8 @@ sub EVENT_SAY { if ($text=~/Hail/i) { plugin::Whisper(quest::get_rule("Zone:UseZoneController")); #:: Whispers rule value to client. } -}``` +} +``` ## get_spawn_condition @@ -3391,6 +3392,12 @@ sub EVENT_HP {       Used to set the specified [Rule](https://github.com/EQEmu/Server/wiki/Server-Rules) to the specified value. +      **Example:** + +```perl +#:: Set Character:MaxLevel to 100 for the current zone. +quest::set_rule("Character:MaxLevel", 100); +``` ## setskill