From 367441f0007043e35f2b2be07b1fd6d56f1a1c22 Mon Sep 17 00:00:00 2001 From: "NeatElves@gmail.com" Date: Mon, 18 Apr 2011 11:09:19 +0000 Subject: [PATCH] =?utf8?q?=D0=9A=D0=BE=D0=BD=D0=B4=D0=B8=D1=86=D0=B8=D1=8F?= =?utf8?q?=2028.)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: http://cswowd-fork.googlecode.com/svn/trunk@103 e451fad0-63ce-11de-bed1-e3a98b22654c --- include/report_generator.php | 5 +++++ lang/lang.en.php | 2 ++ lang/lang.ru.php | 2 ++ 3 files changed, 9 insertions(+) diff --git a/include/report_generator.php b/include/report_generator.php index 943f682..4405ac4 100644 --- a/include/report_generator.php +++ b/include/report_generator.php @@ -462,6 +462,11 @@ function r_lootRequire($data) case 27: // CONDITION_NOT_ACTIVE_HOLIDAY holiday_id echo $lang['condition27'].getGameHolidayName($data['condition_value1']); break; + case 28: // CONDITION_LEARNABLE_ABILITY spell_id 0 or item_id + $spell = getSpell($data['condition_value1'], '`id`, `SpellIconID`'); + if ($data['condition_value2'] > 0) { $item = getItem($data['condition_value2'], '`entry`, `displayid`'); echo $lang['condition28_1']; show_spell($spell['id'], $spell['SpellIconID'], 'quest'); echo $lang['condition28_2'].text_show_item($item['entry'], $item['displayid'], 'quest');} + else {echo $lang['condition28_1']; show_spell($spell['id'], $spell['SpellIconID'], 'quest');} + break; } } diff --git a/lang/lang.en.php b/lang/lang.en.php index e27773a..4db451b 100644 --- a/lang/lang.en.php +++ b/lang/lang.en.php @@ -70,6 +70,8 @@ $lang = array( 'condition25' => 'No in ', 'condition26' => 'In ', 'condition27' => 'No in ', +'condition28_1' => 'No ', +'condition28_2' => ' & no ', # Item report 'item_name' => 'Item name', diff --git a/lang/lang.ru.php b/lang/lang.ru.php index 74f2b74..af187e0 100644 --- a/lang/lang.ru.php +++ b/lang/lang.ru.php @@ -70,6 +70,8 @@ $lang = array( 'condition25' => 'Не в ', 'condition26' => 'В ', 'condition27' => 'Не в ', +'condition28_1' => 'Нет ', +'condition28_2' => ' и нет ', # Item report 'item_name' => 'Название предмета', -- 2.11.4.GIT