Перейти к содержанию
Авторизация  
Bulka

Как Изменить Цену В Бафере?

Рекомендуемые сообщения

Как изменить цену в бафере?

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

Какую цену? Адены? или другой итем поставить? КОНКРЕТИКИ МНЕ ДАЙ

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

Какую цену? Адены? или другой итем поставить? КОНКРЕТИКИ МНЕ ДАЙ

Добьешься от них , из них же надо вытаааскивать все.

Создадут тему "Цена в баффере" и сиди гадай что он хочет? Что ему надо!

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

Какую цену? Адены? или другой итем поставить? КОНКРЕТИКИ МНЕ ДАЙ

бесплатный хочу сделать

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

бесплатный хочу сделать

По-моему только через скрипт так сделать можно )

Нади скрипт баффера дл пв, там должны быть html файлы со всеми баффами, а я пока только сам скрипт могу выложить (если хтмлки сам сделаешь то молодец :))

 

 

import sys
from net.sf.l2j.gameserver.model.actor.instance import L2PcInstance
from java.util import Iterator
from net.sf.l2j.gameserver.datatables import SkillTable
from net.sf.l2j		 import L2DatabaseFactory
from net.sf.l2j.gameserver.model.quest import State
from net.sf.l2j.gameserver.model.quest import QuestState
from net.sf.l2j.gameserver.model.quest.jython import QuestJython as JQuest

qn = "912_buffer"
#Включение\выключение разделов. Для выключения замените ON на OFF
attack = "ON"
defence = "ON"
resist = "ON"
support = "ON"
warcryer = "ON"
overlord = "ON"
song = "ON"
dance = "ON"
noble = "ON"
summon = "ON"
cubic = "OFF"
NPC		 = [100910]
prise_ID = 25002
QuestId	 = 912
QuestName = "buffer"
QuestDesc = "custom"
InitialHtml = "buff_resist.htm"
#Выставление цен на бафы
min_level = 1
max_level = 80
min_prise = 3
buff_prise	 = 3
Chant_prise = 3
song_prise = 3
Dance_prise = 3
Hero_prise = 3
Noble_prise = 3
Summon_prise = 3
Prophecy_prise = 3
cubic_prise = 3
Full_buff_f1_prise = 3
Full_buff_f2_prise = 3
Full_buff_f3_prise = 3
Full_buff_m1_prise = 3
Full_buff_m2_prise = 3
Full_buff_m3_prise = 3
all_song_prise = 3
all_dance_prise = 3
print "importing custom: Buff flu and Malaria loading..."
class Quest (JQuest) :
def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr)

def onEvent(self,event,st):
htmltext = event
count=st.getQuestItemsCount(prise_ID)
if count < min_prise :
htmltext = u"<html><head><body>\u0423 \u0432\u0430\u0441 \u043d\u0435\u0445\u0432\u0430\u0442\u0430\u0435\u0442 \u043f\u0440\u0435\u0434\u043c\u0435\u0442\u043e\u0432.</body></html>"
if st.getPlayer().getLevel() < min_level :
htmltext = u"<html><head><body>\u0412\u0430\u0448 \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u043d\u0438\u0437\u043a\u0438\u0439.</body></html>"
if st.getPlayer().getLevel() < max_level :
 htmltext = u"<html><head><body>\u0412\u0430\u0448 \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0432\u044b\u0441\u043e\u043a\u0438\u0439.</body></html>"
else:
st.takeItems(prise_ID,0)
st.getPlayer().setTarget(st.getPlayer())
#Full buff fighter 3p
if event == "124":
st.takeItems(prise_ID,Full_buff_f3_prise)
SkillTable.getInstance().getInfo(1068,3).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1040,3).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1086,2).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1204,2).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1077,3).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1242,2).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1268,4).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1035,4).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1036,2).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1045,6).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1388,3).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1363,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(271,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(275,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(274,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(268,1).getEffects(st.getPlayer(),st.getPlayer())
SkillTable.getInstance().getInfo(269,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(264,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(304,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(364,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(4699,13).getEffects(st.getPlayer(),st.getPlayer())	
st.getPlayer().setCurrentHpMp(st.getPlayer().getMaxHp(), st.getPlayer().getMaxMp())
return "buff.htm"
st.setState(COMPLETED)
#Full buff fighter 2p
if event == "125":
st.takeItems(prise_ID,Full_buff_f2_prise)
SkillTable.getInstance().getInfo(1068,3).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1040,3).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1086,2).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1204,2).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1077,3).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1242,2).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1268,4).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1035,4).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1036,2).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(271,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(275,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(274,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(269,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(264,1).getEffects(st.getPlayer(),st.getPlayer())	
st.getPlayer().setCurrentHpMp(st.getPlayer().getMaxHp(), st.getPlayer().getMaxMp())
return "buff.htm"
st.setState(COMPLETED)
#Full buff fighter 1p
if event == "126":
st.takeItems(prise_ID,Full_buff_f1_prise)
SkillTable.getInstance().getInfo(4553,4).getEffects(st.getPlayer(),st.getPlayer())		
st.getPlayer().setCurrentHpMp(st.getPlayer().getMaxHp(), st.getPlayer().getMaxMp())
return "buff_resist.htm"
st.setState(COMPLETED)
#Full buff mage 3p
if event == "120":
st.takeItems(prise_ID,Full_buff_m3_prise)
SkillTable.getInstance().getInfo(1085,3).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1059,3).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1078,6).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1204,2).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1048,6).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1397,3).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1303,2).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1040,3).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1035,4).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1062,2).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(273,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(276,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(268,1).getEffects(st.getPlayer(),st.getPlayer())
SkillTable.getInstance().getInfo(4703,13).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(349,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(363,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(365,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1413,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1036,2).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1389,3).getEffects(st.getPlayer(),st.getPlayer())	
st.getPlayer().setCurrentHpMp(st.getPlayer().getMaxHp(), st.getPlayer().getMaxMp())
return "buff.htm"
st.setState(COMPLETED)
#Full buff mage 2p
if event == "121":
st.takeItems(prise_ID,Full_buff_m2_prise)
SkillTable.getInstance().getInfo(7056,1).getEffects(st.getPlayer(),st.getPlayer())		
st.getPlayer().setCurrentHpMp(st.getPlayer().getMaxHp(), st.getPlayer().getMaxMp())
return "buff.htm"
st.setState(COMPLETED)
#Full buff mage 1p
if event == "122":
st.takeItems(prise_ID,Full_buff_m1_prise)
SkillTable.getInstance().getInfo(4554,4).getEffects(st.getPlayer(),st.getPlayer())		
st.getPlayer().setCurrentHpMp(st.getPlayer().getMaxHp(), st.getPlayer().getMaxMp())
return "buff_resist.htm"
st.setState(COMPLETED)
#All Song
if event == "130":
st.takeItems(prise_ID,all_song_prise)
SkillTable.getInstance().getInfo(267,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(270,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(268,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(269,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(265,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(264,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(266,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(306,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(304,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(308,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(305,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(363,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(349,1).getEffects(st.getPlayer(),st.getPlayer())	
st.getPlayer().setCurrentHpMp(st.getPlayer().getMaxHp(), st.getPlayer().getMaxMp())
return "all_song.htm"
st.setState(COMPLETED)
#All dance
if event == "131":
st.takeItems(prise_ID,all_dance_prise)
SkillTable.getInstance().getInfo(274,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(277,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(272,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(273,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(276,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(271,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(275,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(309,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(311,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(307,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(310,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(365,1).getEffects(st.getPlayer(),st.getPlayer())	
st.getPlayer().setCurrentHpMp(st.getPlayer().getMaxHp(), st.getPlayer().getMaxMp())
return "all_song.htm"
st.setState(COMPLETED)
#Cancel
if event == "666":
st.getPlayer().stopAllEffects()
return "cancel.htm"
st.setState(COMPLETED)
#Restore
if event == "665":
st.getPlayer().setCurrentHpMp(st.getPlayer().getMaxHp(), st.getPlayer().getMaxMp())
st.getPlayer().setCurrentCp(st.getPlayer().getMaxCp())
return "cancel.htm"
st.setState(COMPLETED)
if event == "2":
if attack == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1068,3).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_attack.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "3":
if defence == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1040,3).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_defence.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "4":
if attack == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1085,3).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_attack2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "5":
if defence == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1078,6).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_defence.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "6":
if support == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1073,2).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_support.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "7":
if support == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1204,2).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_support.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "8":
if attack == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1077,3).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_attack.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "9":
if attack == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1043,1).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_attack2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "10":
if defence == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1035,4).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_defence.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "11":
if resist == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1191,3).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_resist.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "12":
if attack == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1062,2).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_attack.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "13":
if support == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1044,3).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_support.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "14":
if defence == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1243,6).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_defence.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "15":
if attack == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1242,2).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_attack.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "16":
if attack == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1240,3).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_attack.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "17":
if resist == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1032,3).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_resist.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "18":
if support == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1045,6).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_support.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "19":
if support == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1048,6).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_support.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "20":
if attack == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1086,2).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_attack.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "21":
if defence == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1036,2).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_defence.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "22":
if attack == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1388,3).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_attack.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "23":
if defence == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1389,3).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_defence.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "24":
if resist == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1392,3).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_resist.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "25":
if resist == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1182,3).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_resist.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "26":
if resist == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1189,3).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_resist.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "27":
if resist == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1393,3).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_resist.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "28":
if resist == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1033,3).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_resist.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "29":
if resist == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1352,1).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_resist.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "30":
if attack == "ON":
 st.takeItems(prise_ID,Prophecy_prise)
 SkillTable.getInstance().getInfo(1356,1).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_attack2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "31":
if defence == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1087,3).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_defence.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "32":
if support == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1257,3).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_support.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "33":
if resist == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1259,4).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_resist.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "34":
if defence == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1304,3).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_defence.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "35":
if support == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1397,3).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_support.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "36":
if attack == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1303,2).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_attack2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "37":
if resist == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1354,1).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_resist.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "38":
if resist == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1353,1).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_resist.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "39":
if attack == "ON":
 st.takeItems(prise_ID,Prophecy_prise)
 SkillTable.getInstance().getInfo(1355,1).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_attack2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "40":
if attack == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1059,3).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_attack2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "41":
if support == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1268,4).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_support.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "42":
if attack == "ON":
 st.takeItems(prise_ID,Prophecy_prise)
 SkillTable.getInstance().getInfo(1357,1).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_attack2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"

#CHANTS
if event == "43":
if warcryer == "ON":
 st.takeItems(prise_ID,Chant_prise)
 SkillTable.getInstance().getInfo(1006,3).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_warcryer.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "44":
if warcryer == "ON":
 st.takeItems(prise_ID,Chant_prise)
 SkillTable.getInstance().getInfo(1009,3).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_warcryer.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "45":
if warcryer == "ON":
 st.takeItems(prise_ID,Chant_prise)
 SkillTable.getInstance().getInfo(1007,3).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_warcryer.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "47":
if warcryer == "ON":
 st.takeItems(prise_ID,Chant_prise)
 SkillTable.getInstance().getInfo(1002,3).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_warcryer.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "60":
if warcryer == "ON":
 st.takeItems(prise_ID,Chant_prise)
 SkillTable.getInstance().getInfo(1252,3).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_warcryer.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "61":
if warcryer == "ON":
 st.takeItems(prise_ID,Chant_prise)
 SkillTable.getInstance().getInfo(1253,3).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_warcryer.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "62":
if warcryer == "ON":
 st.takeItems(prise_ID,Chant_prise)
 SkillTable.getInstance().getInfo(1309,3).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_warcryer.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "63":
if warcryer == "ON":
 st.takeItems(prise_ID,Chant_prise)
 SkillTable.getInstance().getInfo(1251,2).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_warcryer2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "64":
if warcryer == "ON":
 st.takeItems(prise_ID,Chant_prise)
 SkillTable.getInstance().getInfo(1308,3).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_warcryer2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "65":
if warcryer == "ON":
 st.takeItems(prise_ID,Chant_prise)
 SkillTable.getInstance().getInfo(1391,3).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_warcryer2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "66":
if warcryer == "ON":
 st.takeItems(prise_ID,Chant_prise)
 SkillTable.getInstance().getInfo(1310,4).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_warcryer2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "67":
if warcryer == "ON":
 st.takeItems(prise_ID,Chant_prise)
 SkillTable.getInstance().getInfo(1390,3).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_warcryer2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "68":
if warcryer == "ON":
 st.takeItems(prise_ID,Chant_prise)
 SkillTable.getInstance().getInfo(1284,3).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_warcryer2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "69":
if warcryer == "ON":
 st.takeItems(prise_ID,Chant_prise)
 SkillTable.getInstance().getInfo(1362,1).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_warcryer2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "70":
if warcryer == "ON":
 st.takeItems(prise_ID,Prophecy_prise)
 SkillTable.getInstance().getInfo(1363,1).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_warcryer3.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "71":
if warcryer == "ON":
 st.takeItems(prise_ID,Prophecy_prise)
 SkillTable.getInstance().getInfo(1413,1).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_warcryer3.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
#Overlord
if event == "48":
if overlord == "ON":
 st.takeItems(prise_ID,Chant_prise)
 SkillTable.getInstance().getInfo(1003,3).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_overlord.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "49":
if overlord == "ON":
 st.takeItems(prise_ID,Chant_prise)
 SkillTable.getInstance().getInfo(1005,3).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_overlord.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "50":
if overlord == "ON":
 st.takeItems(prise_ID,Chant_prise)
 SkillTable.getInstance().getInfo(1008,3).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_overlord.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "51":
if overlord == "ON":
 st.takeItems(prise_ID,Chant_prise)
 SkillTable.getInstance().getInfo(1260,3).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_overlord.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "52":
if overlord == "ON":
 st.takeItems(prise_ID,Chant_prise)
 SkillTable.getInstance().getInfo(1004,3).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_overlord.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "53":
if overlord == "ON":
 st.takeItems(prise_ID,Chant_prise)
 SkillTable.getInstance().getInfo(1250,3).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_overlord.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "54":
if overlord == "ON":
 st.takeItems(prise_ID,Chant_prise)
 SkillTable.getInstance().getInfo(1261,2).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_overlord.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "55":
if overlord == "ON":
 st.takeItems(prise_ID,Chant_prise)
 SkillTable.getInstance().getInfo(1249,3).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_overlord2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "56":
if overlord == "ON":
 st.takeItems(prise_ID,Chant_prise)
 SkillTable.getInstance().getInfo(1282,2).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_overlord2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "57":
if overlord == "ON":
 st.takeItems(prise_ID,Chant_prise)
 SkillTable.getInstance().getInfo(1364,1).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_overlord2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "58":
if overlord == "ON":
 st.takeItems(prise_ID,Chant_prise)
 SkillTable.getInstance().getInfo(1365,1).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_overlord2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "59":
if overlord == "ON":
 st.takeItems(prise_ID,Prophecy_prise)
 SkillTable.getInstance().getInfo(1414,1).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_overlord2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"

#Songs
if event == "72":
if song == "ON":
 st.takeItems(prise_ID,song_prise)
 SkillTable.getInstance().getInfo(267,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_song.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "73":
if song == "ON":
 st.takeItems(prise_ID,song_prise)
 SkillTable.getInstance().getInfo(270,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_song.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "74":
if song == "ON":
 st.takeItems(prise_ID,song_prise)
 SkillTable.getInstance().getInfo(268,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_song.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "75":
if song == "ON":
 st.takeItems(prise_ID,song_prise)
 SkillTable.getInstance().getInfo(269,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_song.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "76":
if song == "ON":
 st.takeItems(prise_ID,song_prise)
 SkillTable.getInstance().getInfo(265,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_song.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "77":
if song == "ON":
 st.takeItems(prise_ID,song_prise)
 SkillTable.getInstance().getInfo(264,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_song.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "78":
if song == "ON":
 st.takeItems(prise_ID,song_prise)
 SkillTable.getInstance().getInfo(266,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_song.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "79":
if song == "ON":
 st.takeItems(prise_ID,song_prise)
 SkillTable.getInstance().getInfo(306,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_song2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "80":
if song == "ON":
 st.takeItems(prise_ID,song_prise)
 SkillTable.getInstance().getInfo(304,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_song2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "81":
if song == "ON":
 st.takeItems(prise_ID,song_prise)
 SkillTable.getInstance().getInfo(308,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_song2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "82":
if song == "ON":
 st.takeItems(prise_ID,song_prise)
 SkillTable.getInstance().getInfo(305,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_song2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "83":
if song == "ON":
 st.takeItems(prise_ID,song_prise)
 SkillTable.getInstance().getInfo(363,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_song2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "84":
if song == "ON":
 st.takeItems(prise_ID,song_prise)
 SkillTable.getInstance().getInfo(349,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_song2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "85":
if song == "ON":
 st.takeItems(prise_ID,song_prise)
 SkillTable.getInstance().getInfo(364,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_song2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
#Dance
if event == "86":
if dance == "ON":
 st.takeItems(prise_ID,Dance_prise)
 SkillTable.getInstance().getInfo(274,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_dance.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "87":
if dance == "ON":
 st.takeItems(prise_ID,Dance_prise)
 SkillTable.getInstance().getInfo(277,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_dance.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "88":
if dance == "ON":
 st.takeItems(prise_ID,Dance_prise)
 SkillTable.getInstance().getInfo(272,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_dance.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "89":
if dance == "ON":
 st.takeItems(prise_ID,Dance_prise)
 SkillTable.getInstance().getInfo(273,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_dance.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "90":
if dance == "ON":
 st.takeItems(prise_ID,Dance_prise)
 SkillTable.getInstance().getInfo(276,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_dance.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "91":
if dance == "ON":
 st.takeItems(prise_ID,Dance_prise)
 SkillTable.getInstance().getInfo(271,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_dance.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "92":
if dance == "ON":
 st.takeItems(prise_ID,Dance_prise)
 SkillTable.getInstance().getInfo(275,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_dance.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "93":
if dance == "ON":
 st.takeItems(prise_ID,Dance_prise)
 SkillTable.getInstance().getInfo(309,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_dance2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "94":
if dance == "ON":
 st.takeItems(prise_ID,Dance_prise)
 SkillTable.getInstance().getInfo(311,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_dance2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "95":
if dance == "ON":
 st.takeItems(prise_ID,Dance_prise)
 SkillTable.getInstance().getInfo(307,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_dance2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "96":
if dance == "ON":
 st.takeItems(prise_ID,Dance_prise)
 SkillTable.getInstance().getInfo(310,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_dance2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "97":
if dance == "ON":
 st.takeItems(prise_ID,Dance_prise)
 SkillTable.getInstance().getInfo(365,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_dance2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"

 #Noble
if event == "98":
if noble == "ON":
 st.takeItems(prise_ID,Noble_prise)
 SkillTable.getInstance().getInfo(396,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_noble.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "99":
if noble == "ON":
 st.takeItems(prise_ID,Noble_prise)
 SkillTable.getInstance().getInfo(395,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_noble.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "101":
if noble == "ON":
 st.takeItems(prise_ID,Noble_prise)
 SkillTable.getInstance().getInfo(1325,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_noble.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "102":
if noble == "ON":
 st.takeItems(prise_ID,Noble_prise)
 SkillTable.getInstance().getInfo(1323,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_noble.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "103":
if summon == "ON":
 st.takeItems(prise_ID,Summon_prise)
 SkillTable.getInstance().getInfo(4702,13).getEffects(st.getPlayer(),st.getPlayer())
 return "song_summon.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "104":
if summon == "ON":
 st.takeItems(prise_ID,Summon_prise)
 SkillTable.getInstance().getInfo(4703,13).getEffects(st.getPlayer(),st.getPlayer())
 return "song_summon.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "105":
if summon == "ON":
 st.takeItems(prise_ID,Summon_prise)
 SkillTable.getInstance().getInfo(4699,13).getEffects(st.getPlayer(),st.getPlayer())
 return "song_summon.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "106":
if summon == "ON":
 st.takeItems(prise_ID,Summon_prise)
 SkillTable.getInstance().getInfo(4700,13).getEffects(st.getPlayer(),st.getPlayer())
 return "song_summon.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
#Cubic
if event == "107":
if cubic == "ON":
 st.takeItems(prise_ID,cubic_prise)
 st.giveItems(1458,14)
 st.getPlayer().sendMessage(u"\u0412\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u043a\u0440\u0438\u0441\u0442\u0430\u043b\u043b\u044b \u0434\u043b\u044f \u0432\u044b\u0437\u043e\u0432\u0430 \u043a\u0443\u0431\u0438\u043a\u0430")
 st.getPlayer().doCast(SkillTable.getInstance().getInfo(10,)
 return "cubic.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "108":
if cubic == "ON":
 st.takeItems(prise_ID,cubic_prise)
 st.giveItems(1458,13)
 st.getPlayer().sendMessage(u"\u0412\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u043a\u0440\u0438\u0441\u0442\u0430\u043b\u043b\u044b \u0434\u043b\u044f \u0432\u044b\u0437\u043e\u0432\u0430 \u043a\u0443\u0431\u0438\u043a\u0430")
 st.getPlayer().doCast(SkillTable.getInstance().getInfo(22,7))
 return "cubic.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "109":
if cubic == "ON":
 st.takeItems(prise_ID,cubic_prise)
 st.giveItems(1458,7)
 st.getPlayer().sendMessage(u"\u0412\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u043a\u0440\u0438\u0441\u0442\u0430\u043b\u043b\u044b \u0434\u043b\u044f \u0432\u044b\u0437\u043e\u0432\u0430 \u043a\u0443\u0431\u0438\u043a\u0430")
 st.getPlayer().doCast(SkillTable.getInstance().getInfo(33,)
 return "cubic.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "110":
if cubic == "ON":
 st.takeItems(prise_ID,cubic_prise)
 st.giveItems(1458,13)
 st.getPlayer().sendMessage(u"\u0412\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u043a\u0440\u0438\u0441\u0442\u0430\u043b\u043b\u044b \u0434\u043b\u044f \u0432\u044b\u0437\u043e\u0432\u0430 \u043a\u0443\u0431\u0438\u043a\u0430")
 st.getPlayer().doCast(SkillTable.getInstance().getInfo(67,7))
 return "cubic.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "111":
if cubic == "ON":
 st.takeItems(prise_ID,cubic_prise)
 st.giveItems(1458,6)
 st.getPlayer().sendMessage(u"\u0412\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u043a\u0440\u0438\u0441\u0442\u0430\u043b\u043b\u044b \u0434\u043b\u044f \u0432\u044b\u0437\u043e\u0432\u0430 \u043a\u0443\u0431\u0438\u043a\u0430")
 st.getPlayer().doCast(SkillTable.getInstance().getInfo(278,6))
 return "cubic.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "112":
if cubic == "ON":
 st.takeItems(prise_ID,cubic_prise)
 st.giveItems(1458,13)
 st.getPlayer().sendMessage(u"\u0412\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u043a\u0440\u0438\u0441\u0442\u0430\u043b\u043b\u044b \u0434\u043b\u044f \u0432\u044b\u0437\u043e\u0432\u0430 \u043a\u0443\u0431\u0438\u043a\u0430")
 st.getPlayer().doCast(SkillTable.getInstance().getInfo(449,4))
 return "cubic.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "113":
if cubic == "ON":
 st.takeItems(prise_ID,cubic_prise)
 st.giveItems(1458,13)
 st.getPlayer().sendMessage(u"\u0412\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u043a\u0440\u0438\u0441\u0442\u0430\u043b\u043b\u044b \u0434\u043b\u044f \u0432\u044b\u0437\u043e\u0432\u0430 \u043a\u0443\u0431\u0438\u043a\u0430")
 st.getPlayer().doCast(SkillTable.getInstance().getInfo(1279,9))
 return "cubic.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "114":
if cubic == "ON":
 st.takeItems(prise_ID,cubic_prise)
 st.giveItems(1458,7)
 st.getPlayer().sendMessage("\u0412\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u043a\u0440\u0438\u0441\u0442\u0430\u043b\u043b\u044b \u0434\u043b\u044f \u0432\u044b\u0437\u043e\u0432\u0430 \u043a\u0443\u0431\u0438\u043a\u0430")
 st.getPlayer().doCast(SkillTable.getInstance().getInfo(1280,9))
 return "cubic2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "115":
if cubic == "ON":
 st.takeItems(prise_ID,cubic_prise)
 st.giveItems(1458,13)
 st.getPlayer().sendMessage("\u0412\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u043a\u0440\u0438\u0441\u0442\u0430\u043b\u043b\u044b \u0434\u043b\u044f \u0432\u044b\u0437\u043e\u0432\u0430 \u043a\u0443\u0431\u0438\u043a\u0430")
 st.getPlayer().doCast(SkillTable.getInstance().getInfo(1281,9))
 return "cubic2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"

if htmltext != event:
st.setState(COMPLETED)
st.exitQuest(1)
return htmltext

def onTalk (self,npc,player):
st = player.getQuestState(qn)
htmltext = u"<html><head><body>\u041c\u043d\u0435 \u043d\u0435\u0447\u0435\u0433\u043e \u0442\u0435\u0431\u0435 \u0441\u043a\u0430\u0437\u0430\u0442\u044c</body></html>"
return InitialHtml
QUEST	 = Quest(912,qn,"custom")
CREATED	 = State('Start', QUEST)
QUEST.setInitialState(CREATED)
for npcId in NPC:
QUEST.addStartNpc(npcId)
QUEST.addTalkId(npcId)

 

 

Изменено пользователем Fruks
  • Upvote 1

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

бесплатный хочу сделать

Ну как бы у Pwsoft уже есть свой бесплатный баффер.

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

По-моему только через скрипт так сделать можно )

Нади скрипт баффера дл пв, там должны быть html файлы со всеми баффами, а я пока только сам скрипт могу выложить (если хтмлки сам сделаешь то молодец :))

import sys
from net.sf.l2j.gameserver.model.actor.instance import L2PcInstance
from java.util import Iterator
from net.sf.l2j.gameserver.datatables import SkillTable
from net.sf.l2j		 import L2DatabaseFactory
from net.sf.l2j.gameserver.model.quest import State
from net.sf.l2j.gameserver.model.quest import QuestState
from net.sf.l2j.gameserver.model.quest.jython import QuestJython as JQuest

qn = "912_buffer"
#Включение\выключение разделов. Для выключения замените ON на OFF
attack = "ON"
defence = "ON"
resist = "ON"
support = "ON"
warcryer = "ON"
overlord = "ON"
song = "ON"
dance = "ON"
noble = "ON"
summon = "ON"
cubic = "OFF"
NPC		 = [100910]
prise_ID = 25002
QuestId	 = 912
QuestName = "buffer"
QuestDesc = "custom"
InitialHtml = "buff_resist.htm"
#Выставление цен на бафы
min_level = 1
max_level = 80
min_prise = 3
buff_prise	 = 3
Chant_prise = 3
song_prise = 3
Dance_prise = 3
Hero_prise = 3
Noble_prise = 3
Summon_prise = 3
Prophecy_prise = 3
cubic_prise = 3
Full_buff_f1_prise = 3
Full_buff_f2_prise = 3
Full_buff_f3_prise = 3
Full_buff_m1_prise = 3
Full_buff_m2_prise = 3
Full_buff_m3_prise = 3
all_song_prise = 3
all_dance_prise = 3
print "importing custom: Buff flu and Malaria loading..."
class Quest (JQuest) :
def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr)

def onEvent(self,event,st):
htmltext = event
count=st.getQuestItemsCount(prise_ID)
if count < min_prise :
htmltext = u"<html><head><body>\u0423 \u0432\u0430\u0441 \u043d\u0435\u0445\u0432\u0430\u0442\u0430\u0435\u0442 \u043f\u0440\u0435\u0434\u043c\u0435\u0442\u043e\u0432.</body></html>"
if st.getPlayer().getLevel() < min_level :
htmltext = u"<html><head><body>\u0412\u0430\u0448 \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u043d\u0438\u0437\u043a\u0438\u0439.</body></html>"
if st.getPlayer().getLevel() < max_level :
 htmltext = u"<html><head><body>\u0412\u0430\u0448 \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0432\u044b\u0441\u043e\u043a\u0438\u0439.</body></html>"
else:
st.takeItems(prise_ID,0)
st.getPlayer().setTarget(st.getPlayer())
#Full buff fighter 3p
if event == "124":
st.takeItems(prise_ID,Full_buff_f3_prise)
SkillTable.getInstance().getInfo(1068,3).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1040,3).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1086,2).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1204,2).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1077,3).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1242,2).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1268,4).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1035,4).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1036,2).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1045,6).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1388,3).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1363,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(271,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(275,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(274,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(268,1).getEffects(st.getPlayer(),st.getPlayer())
SkillTable.getInstance().getInfo(269,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(264,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(304,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(364,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(4699,13).getEffects(st.getPlayer(),st.getPlayer())	
st.getPlayer().setCurrentHpMp(st.getPlayer().getMaxHp(), st.getPlayer().getMaxMp())
return "buff.htm"
st.setState(COMPLETED)
#Full buff fighter 2p
if event == "125":
st.takeItems(prise_ID,Full_buff_f2_prise)
SkillTable.getInstance().getInfo(1068,3).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1040,3).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1086,2).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1204,2).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1077,3).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1242,2).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1268,4).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1035,4).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1036,2).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(271,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(275,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(274,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(269,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(264,1).getEffects(st.getPlayer(),st.getPlayer())	
st.getPlayer().setCurrentHpMp(st.getPlayer().getMaxHp(), st.getPlayer().getMaxMp())
return "buff.htm"
st.setState(COMPLETED)
#Full buff fighter 1p
if event == "126":
st.takeItems(prise_ID,Full_buff_f1_prise)
SkillTable.getInstance().getInfo(4553,4).getEffects(st.getPlayer(),st.getPlayer())		
st.getPlayer().setCurrentHpMp(st.getPlayer().getMaxHp(), st.getPlayer().getMaxMp())
return "buff_resist.htm"
st.setState(COMPLETED)
#Full buff mage 3p
if event == "120":
st.takeItems(prise_ID,Full_buff_m3_prise)
SkillTable.getInstance().getInfo(1085,3).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1059,3).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1078,6).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1204,2).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1048,6).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1397,3).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1303,2).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1040,3).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1035,4).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1062,2).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(273,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(276,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(268,1).getEffects(st.getPlayer(),st.getPlayer())
SkillTable.getInstance().getInfo(4703,13).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(349,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(363,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(365,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1413,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1036,2).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(1389,3).getEffects(st.getPlayer(),st.getPlayer())	
st.getPlayer().setCurrentHpMp(st.getPlayer().getMaxHp(), st.getPlayer().getMaxMp())
return "buff.htm"
st.setState(COMPLETED)
#Full buff mage 2p
if event == "121":
st.takeItems(prise_ID,Full_buff_m2_prise)
SkillTable.getInstance().getInfo(7056,1).getEffects(st.getPlayer(),st.getPlayer())		
st.getPlayer().setCurrentHpMp(st.getPlayer().getMaxHp(), st.getPlayer().getMaxMp())
return "buff.htm"
st.setState(COMPLETED)
#Full buff mage 1p
if event == "122":
st.takeItems(prise_ID,Full_buff_m1_prise)
SkillTable.getInstance().getInfo(4554,4).getEffects(st.getPlayer(),st.getPlayer())		
st.getPlayer().setCurrentHpMp(st.getPlayer().getMaxHp(), st.getPlayer().getMaxMp())
return "buff_resist.htm"
st.setState(COMPLETED)
#All Song
if event == "130":
st.takeItems(prise_ID,all_song_prise)
SkillTable.getInstance().getInfo(267,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(270,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(268,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(269,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(265,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(264,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(266,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(306,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(304,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(308,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(305,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(363,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(349,1).getEffects(st.getPlayer(),st.getPlayer())	
st.getPlayer().setCurrentHpMp(st.getPlayer().getMaxHp(), st.getPlayer().getMaxMp())
return "all_song.htm"
st.setState(COMPLETED)
#All dance
if event == "131":
st.takeItems(prise_ID,all_dance_prise)
SkillTable.getInstance().getInfo(274,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(277,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(272,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(273,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(276,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(271,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(275,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(309,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(311,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(307,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(310,1).getEffects(st.getPlayer(),st.getPlayer())	
SkillTable.getInstance().getInfo(365,1).getEffects(st.getPlayer(),st.getPlayer())	
st.getPlayer().setCurrentHpMp(st.getPlayer().getMaxHp(), st.getPlayer().getMaxMp())
return "all_song.htm"
st.setState(COMPLETED)
#Cancel
if event == "666":
st.getPlayer().stopAllEffects()
return "cancel.htm"
st.setState(COMPLETED)
#Restore
if event == "665":
st.getPlayer().setCurrentHpMp(st.getPlayer().getMaxHp(), st.getPlayer().getMaxMp())
st.getPlayer().setCurrentCp(st.getPlayer().getMaxCp())
return "cancel.htm"
st.setState(COMPLETED)
if event == "2":
if attack == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1068,3).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_attack.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "3":
if defence == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1040,3).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_defence.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "4":
if attack == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1085,3).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_attack2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "5":
if defence == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1078,6).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_defence.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "6":
if support == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1073,2).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_support.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "7":
if support == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1204,2).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_support.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "8":
if attack == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1077,3).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_attack.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "9":
if attack == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1043,1).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_attack2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "10":
if defence == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1035,4).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_defence.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "11":
if resist == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1191,3).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_resist.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "12":
if attack == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1062,2).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_attack.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "13":
if support == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1044,3).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_support.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "14":
if defence == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1243,6).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_defence.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "15":
if attack == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1242,2).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_attack.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "16":
if attack == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1240,3).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_attack.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "17":
if resist == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1032,3).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_resist.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "18":
if support == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1045,6).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_support.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "19":
if support == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1048,6).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_support.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "20":
if attack == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1086,2).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_attack.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "21":
if defence == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1036,2).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_defence.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "22":
if attack == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1388,3).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_attack.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "23":
if defence == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1389,3).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_defence.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "24":
if resist == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1392,3).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_resist.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "25":
if resist == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1182,3).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_resist.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "26":
if resist == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1189,3).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_resist.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "27":
if resist == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1393,3).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_resist.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "28":
if resist == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1033,3).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_resist.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "29":
if resist == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1352,1).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_resist.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "30":
if attack == "ON":
 st.takeItems(prise_ID,Prophecy_prise)
 SkillTable.getInstance().getInfo(1356,1).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_attack2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "31":
if defence == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1087,3).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_defence.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "32":
if support == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1257,3).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_support.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "33":
if resist == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1259,4).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_resist.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "34":
if defence == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1304,3).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_defence.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "35":
if support == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1397,3).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_support.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "36":
if attack == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1303,2).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_attack2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "37":
if resist == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1354,1).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_resist.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "38":
if resist == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1353,1).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_resist.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "39":
if attack == "ON":
 st.takeItems(prise_ID,Prophecy_prise)
 SkillTable.getInstance().getInfo(1355,1).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_attack2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "40":
if attack == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1059,3).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_attack2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "41":
if support == "ON":
 st.takeItems(prise_ID,buff_prise)
 SkillTable.getInstance().getInfo(1268,4).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_support.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "42":
if attack == "ON":
 st.takeItems(prise_ID,Prophecy_prise)
 SkillTable.getInstance().getInfo(1357,1).getEffects(st.getPlayer(),st.getPlayer())
 return "buff_attack2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"

#CHANTS
if event == "43":
if warcryer == "ON":
 st.takeItems(prise_ID,Chant_prise)
 SkillTable.getInstance().getInfo(1006,3).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_warcryer.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "44":
if warcryer == "ON":
 st.takeItems(prise_ID,Chant_prise)
 SkillTable.getInstance().getInfo(1009,3).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_warcryer.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "45":
if warcryer == "ON":
 st.takeItems(prise_ID,Chant_prise)
 SkillTable.getInstance().getInfo(1007,3).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_warcryer.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "47":
if warcryer == "ON":
 st.takeItems(prise_ID,Chant_prise)
 SkillTable.getInstance().getInfo(1002,3).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_warcryer.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "60":
if warcryer == "ON":
 st.takeItems(prise_ID,Chant_prise)
 SkillTable.getInstance().getInfo(1252,3).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_warcryer.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "61":
if warcryer == "ON":
 st.takeItems(prise_ID,Chant_prise)
 SkillTable.getInstance().getInfo(1253,3).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_warcryer.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "62":
if warcryer == "ON":
 st.takeItems(prise_ID,Chant_prise)
 SkillTable.getInstance().getInfo(1309,3).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_warcryer.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "63":
if warcryer == "ON":
 st.takeItems(prise_ID,Chant_prise)
 SkillTable.getInstance().getInfo(1251,2).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_warcryer2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "64":
if warcryer == "ON":
 st.takeItems(prise_ID,Chant_prise)
 SkillTable.getInstance().getInfo(1308,3).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_warcryer2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "65":
if warcryer == "ON":
 st.takeItems(prise_ID,Chant_prise)
 SkillTable.getInstance().getInfo(1391,3).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_warcryer2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "66":
if warcryer == "ON":
 st.takeItems(prise_ID,Chant_prise)
 SkillTable.getInstance().getInfo(1310,4).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_warcryer2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "67":
if warcryer == "ON":
 st.takeItems(prise_ID,Chant_prise)
 SkillTable.getInstance().getInfo(1390,3).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_warcryer2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "68":
if warcryer == "ON":
 st.takeItems(prise_ID,Chant_prise)
 SkillTable.getInstance().getInfo(1284,3).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_warcryer2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "69":
if warcryer == "ON":
 st.takeItems(prise_ID,Chant_prise)
 SkillTable.getInstance().getInfo(1362,1).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_warcryer2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "70":
if warcryer == "ON":
 st.takeItems(prise_ID,Prophecy_prise)
 SkillTable.getInstance().getInfo(1363,1).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_warcryer3.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "71":
if warcryer == "ON":
 st.takeItems(prise_ID,Prophecy_prise)
 SkillTable.getInstance().getInfo(1413,1).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_warcryer3.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
#Overlord
if event == "48":
if overlord == "ON":
 st.takeItems(prise_ID,Chant_prise)
 SkillTable.getInstance().getInfo(1003,3).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_overlord.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "49":
if overlord == "ON":
 st.takeItems(prise_ID,Chant_prise)
 SkillTable.getInstance().getInfo(1005,3).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_overlord.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "50":
if overlord == "ON":
 st.takeItems(prise_ID,Chant_prise)
 SkillTable.getInstance().getInfo(1008,3).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_overlord.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "51":
if overlord == "ON":
 st.takeItems(prise_ID,Chant_prise)
 SkillTable.getInstance().getInfo(1260,3).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_overlord.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "52":
if overlord == "ON":
 st.takeItems(prise_ID,Chant_prise)
 SkillTable.getInstance().getInfo(1004,3).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_overlord.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "53":
if overlord == "ON":
 st.takeItems(prise_ID,Chant_prise)
 SkillTable.getInstance().getInfo(1250,3).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_overlord.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "54":
if overlord == "ON":
 st.takeItems(prise_ID,Chant_prise)
 SkillTable.getInstance().getInfo(1261,2).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_overlord.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "55":
if overlord == "ON":
 st.takeItems(prise_ID,Chant_prise)
 SkillTable.getInstance().getInfo(1249,3).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_overlord2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "56":
if overlord == "ON":
 st.takeItems(prise_ID,Chant_prise)
 SkillTable.getInstance().getInfo(1282,2).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_overlord2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "57":
if overlord == "ON":
 st.takeItems(prise_ID,Chant_prise)
 SkillTable.getInstance().getInfo(1364,1).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_overlord2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "58":
if overlord == "ON":
 st.takeItems(prise_ID,Chant_prise)
 SkillTable.getInstance().getInfo(1365,1).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_overlord2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "59":
if overlord == "ON":
 st.takeItems(prise_ID,Prophecy_prise)
 SkillTable.getInstance().getInfo(1414,1).getEffects(st.getPlayer(),st.getPlayer())
 return "chant_overlord2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"

#Songs
if event == "72":
if song == "ON":
 st.takeItems(prise_ID,song_prise)
 SkillTable.getInstance().getInfo(267,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_song.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "73":
if song == "ON":
 st.takeItems(prise_ID,song_prise)
 SkillTable.getInstance().getInfo(270,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_song.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "74":
if song == "ON":
 st.takeItems(prise_ID,song_prise)
 SkillTable.getInstance().getInfo(268,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_song.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "75":
if song == "ON":
 st.takeItems(prise_ID,song_prise)
 SkillTable.getInstance().getInfo(269,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_song.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "76":
if song == "ON":
 st.takeItems(prise_ID,song_prise)
 SkillTable.getInstance().getInfo(265,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_song.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "77":
if song == "ON":
 st.takeItems(prise_ID,song_prise)
 SkillTable.getInstance().getInfo(264,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_song.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "78":
if song == "ON":
 st.takeItems(prise_ID,song_prise)
 SkillTable.getInstance().getInfo(266,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_song.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "79":
if song == "ON":
 st.takeItems(prise_ID,song_prise)
 SkillTable.getInstance().getInfo(306,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_song2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "80":
if song == "ON":
 st.takeItems(prise_ID,song_prise)
 SkillTable.getInstance().getInfo(304,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_song2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "81":
if song == "ON":
 st.takeItems(prise_ID,song_prise)
 SkillTable.getInstance().getInfo(308,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_song2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "82":
if song == "ON":
 st.takeItems(prise_ID,song_prise)
 SkillTable.getInstance().getInfo(305,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_song2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "83":
if song == "ON":
 st.takeItems(prise_ID,song_prise)
 SkillTable.getInstance().getInfo(363,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_song2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "84":
if song == "ON":
 st.takeItems(prise_ID,song_prise)
 SkillTable.getInstance().getInfo(349,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_song2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "85":
if song == "ON":
 st.takeItems(prise_ID,song_prise)
 SkillTable.getInstance().getInfo(364,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_song2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
#Dance
if event == "86":
if dance == "ON":
 st.takeItems(prise_ID,Dance_prise)
 SkillTable.getInstance().getInfo(274,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_dance.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "87":
if dance == "ON":
 st.takeItems(prise_ID,Dance_prise)
 SkillTable.getInstance().getInfo(277,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_dance.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "88":
if dance == "ON":
 st.takeItems(prise_ID,Dance_prise)
 SkillTable.getInstance().getInfo(272,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_dance.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "89":
if dance == "ON":
 st.takeItems(prise_ID,Dance_prise)
 SkillTable.getInstance().getInfo(273,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_dance.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "90":
if dance == "ON":
 st.takeItems(prise_ID,Dance_prise)
 SkillTable.getInstance().getInfo(276,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_dance.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "91":
if dance == "ON":
 st.takeItems(prise_ID,Dance_prise)
 SkillTable.getInstance().getInfo(271,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_dance.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "92":
if dance == "ON":
 st.takeItems(prise_ID,Dance_prise)
 SkillTable.getInstance().getInfo(275,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_dance.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "93":
if dance == "ON":
 st.takeItems(prise_ID,Dance_prise)
 SkillTable.getInstance().getInfo(309,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_dance2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "94":
if dance == "ON":
 st.takeItems(prise_ID,Dance_prise)
 SkillTable.getInstance().getInfo(311,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_dance2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "95":
if dance == "ON":
 st.takeItems(prise_ID,Dance_prise)
 SkillTable.getInstance().getInfo(307,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_dance2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "96":
if dance == "ON":
 st.takeItems(prise_ID,Dance_prise)
 SkillTable.getInstance().getInfo(310,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_dance2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "97":
if dance == "ON":
 st.takeItems(prise_ID,Dance_prise)
 SkillTable.getInstance().getInfo(365,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_dance2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"

 #Noble
if event == "98":
if noble == "ON":
 st.takeItems(prise_ID,Noble_prise)
 SkillTable.getInstance().getInfo(396,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_noble.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "99":
if noble == "ON":
 st.takeItems(prise_ID,Noble_prise)
 SkillTable.getInstance().getInfo(395,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_noble.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "101":
if noble == "ON":
 st.takeItems(prise_ID,Noble_prise)
 SkillTable.getInstance().getInfo(1325,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_noble.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "102":
if noble == "ON":
 st.takeItems(prise_ID,Noble_prise)
 SkillTable.getInstance().getInfo(1323,1).getEffects(st.getPlayer(),st.getPlayer())
 return "song_noble.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "103":
if summon == "ON":
 st.takeItems(prise_ID,Summon_prise)
 SkillTable.getInstance().getInfo(4702,13).getEffects(st.getPlayer(),st.getPlayer())
 return "song_summon.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "104":
if summon == "ON":
 st.takeItems(prise_ID,Summon_prise)
 SkillTable.getInstance().getInfo(4703,13).getEffects(st.getPlayer(),st.getPlayer())
 return "song_summon.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "105":
if summon == "ON":
 st.takeItems(prise_ID,Summon_prise)
 SkillTable.getInstance().getInfo(4699,13).getEffects(st.getPlayer(),st.getPlayer())
 return "song_summon.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "106":
if summon == "ON":
 st.takeItems(prise_ID,Summon_prise)
 SkillTable.getInstance().getInfo(4700,13).getEffects(st.getPlayer(),st.getPlayer())
 return "song_summon.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
#Cubic
if event == "107":
if cubic == "ON":
 st.takeItems(prise_ID,cubic_prise)
 st.giveItems(1458,14)
 st.getPlayer().sendMessage(u"\u0412\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u043a\u0440\u0438\u0441\u0442\u0430\u043b\u043b\u044b \u0434\u043b\u044f \u0432\u044b\u0437\u043e\u0432\u0430 \u043a\u0443\u0431\u0438\u043a\u0430")
 st.getPlayer().doCast(SkillTable.getInstance().getInfo(10,)
 return "cubic.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "108":
if cubic == "ON":
 st.takeItems(prise_ID,cubic_prise)
 st.giveItems(1458,13)
 st.getPlayer().sendMessage(u"\u0412\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u043a\u0440\u0438\u0441\u0442\u0430\u043b\u043b\u044b \u0434\u043b\u044f \u0432\u044b\u0437\u043e\u0432\u0430 \u043a\u0443\u0431\u0438\u043a\u0430")
 st.getPlayer().doCast(SkillTable.getInstance().getInfo(22,7))
 return "cubic.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "109":
if cubic == "ON":
 st.takeItems(prise_ID,cubic_prise)
 st.giveItems(1458,7)
 st.getPlayer().sendMessage(u"\u0412\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u043a\u0440\u0438\u0441\u0442\u0430\u043b\u043b\u044b \u0434\u043b\u044f \u0432\u044b\u0437\u043e\u0432\u0430 \u043a\u0443\u0431\u0438\u043a\u0430")
 st.getPlayer().doCast(SkillTable.getInstance().getInfo(33,)
 return "cubic.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "110":
if cubic == "ON":
 st.takeItems(prise_ID,cubic_prise)
 st.giveItems(1458,13)
 st.getPlayer().sendMessage(u"\u0412\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u043a\u0440\u0438\u0441\u0442\u0430\u043b\u043b\u044b \u0434\u043b\u044f \u0432\u044b\u0437\u043e\u0432\u0430 \u043a\u0443\u0431\u0438\u043a\u0430")
 st.getPlayer().doCast(SkillTable.getInstance().getInfo(67,7))
 return "cubic.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "111":
if cubic == "ON":
 st.takeItems(prise_ID,cubic_prise)
 st.giveItems(1458,6)
 st.getPlayer().sendMessage(u"\u0412\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u043a\u0440\u0438\u0441\u0442\u0430\u043b\u043b\u044b \u0434\u043b\u044f \u0432\u044b\u0437\u043e\u0432\u0430 \u043a\u0443\u0431\u0438\u043a\u0430")
 st.getPlayer().doCast(SkillTable.getInstance().getInfo(278,6))
 return "cubic.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "112":
if cubic == "ON":
 st.takeItems(prise_ID,cubic_prise)
 st.giveItems(1458,13)
 st.getPlayer().sendMessage(u"\u0412\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u043a\u0440\u0438\u0441\u0442\u0430\u043b\u043b\u044b \u0434\u043b\u044f \u0432\u044b\u0437\u043e\u0432\u0430 \u043a\u0443\u0431\u0438\u043a\u0430")
 st.getPlayer().doCast(SkillTable.getInstance().getInfo(449,4))
 return "cubic.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "113":
if cubic == "ON":
 st.takeItems(prise_ID,cubic_prise)
 st.giveItems(1458,13)
 st.getPlayer().sendMessage(u"\u0412\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u043a\u0440\u0438\u0441\u0442\u0430\u043b\u043b\u044b \u0434\u043b\u044f \u0432\u044b\u0437\u043e\u0432\u0430 \u043a\u0443\u0431\u0438\u043a\u0430")
 st.getPlayer().doCast(SkillTable.getInstance().getInfo(1279,9))
 return "cubic.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "114":
if cubic == "ON":
 st.takeItems(prise_ID,cubic_prise)
 st.giveItems(1458,7)
 st.getPlayer().sendMessage("\u0412\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u043a\u0440\u0438\u0441\u0442\u0430\u043b\u043b\u044b \u0434\u043b\u044f \u0432\u044b\u0437\u043e\u0432\u0430 \u043a\u0443\u0431\u0438\u043a\u0430")
 st.getPlayer().doCast(SkillTable.getInstance().getInfo(1280,9))
 return "cubic2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"
if event == "115":
if cubic == "ON":
 st.takeItems(prise_ID,cubic_prise)
 st.giveItems(1458,13)
 st.getPlayer().sendMessage("\u0412\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u043a\u0440\u0438\u0441\u0442\u0430\u043b\u043b\u044b \u0434\u043b\u044f \u0432\u044b\u0437\u043e\u0432\u0430 \u043a\u0443\u0431\u0438\u043a\u0430")
 st.getPlayer().doCast(SkillTable.getInstance().getInfo(1281,9))
 return "cubic2.htm"
 st.setState(COMPLETED)
else:
 htmltext = u"<html><head><body>\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.</body></html>"

if htmltext != event:
st.setState(COMPLETED)
st.exitQuest(1)
return htmltext

def onTalk (self,npc,player):
st = player.getQuestState(qn)
htmltext = u"<html><head><body>\u041c\u043d\u0435 \u043d\u0435\u0447\u0435\u0433\u043e \u0442\u0435\u0431\u0435 \u0441\u043a\u0430\u0437\u0430\u0442\u044c</body></html>"
return InitialHtml
QUEST	 = Quest(912,qn,"custom")
CREATED	 = State('Start', QUEST)
QUEST.setInitialState(CREATED)
for npcId in NPC:
QUEST.addStartNpc(npcId)
QUEST.addTalkId(npcId)

Ты крут чувак=) спасибку ткнул, т.к сам похожее искал =)) но засунуть бы эту бандурину в спойлер =)

Сорри за офф топ)

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

Для публикации сообщений создайте учётную запись или авторизуйтесь

Вы должны быть пользователем, чтобы оставить комментарий

Создать учетную запись

Зарегистрируйте новую учётную запись в нашем сообществе. Это очень просто!

Регистрация нового пользователя

Войти

Уже есть аккаунт? Войти в систему.

Войти
Авторизация  

  • Последние посетители   0 пользователей онлайн

    Ни одного зарегистрированного пользователя не просматривает данную страницу

×
×
  • Создать...