Jump to content
  • 0

Buff Costs


Guarder
 Share

Question

I added in the buffer a button that gives "vote buff" to the players.

added the cost in 10 vote medals.

 

But....its ok if for example i have 20 vote medals in inventory,it consumes 10....But if i have 8 medals it consumes 8 and still gives me the buff. If the medals number are bigger than 10 then yes it consumes 10 only....but it also gives the buff even for 2 medals or 1. i want the cost to be 10 and if i dont have 10 medals to say a message saying "incorrect item count" or like that

 

event id= 104

medal id = 6393

skill id = 2064

NPC=[20701]
ADENA_ID=57
MEDAL_ID=6393
QuestId     = 20701
QuestName   = "NPCBuffer"
QuestDesc   = "custom"
InitialHtml = "1.htm"

			if event == "104":
				st.takeItems(MEDAL_ID,10)
				SkillTable.getInstance().getInfo(2064,1).getEffects(st.getPlayer(),st.getPlayer())
				return "1.htm"		
				st.setState(COMPLETED)

 

Edited by KIDutz
Link to comment
Share on other sites

11 answers to this question

Recommended Posts

  • 0

if event if event if event if event if event if event if event if event if event if event if event if event if event if event if event

if event if event if event if event if event if event if event if event if event

 

@SweeTs :keepo:

 

To owner: Drop this shit. It's from 1994 script seriously it can be written using java with 3 lines of code. You guys open servers with these shit? 

Edited by Kara`
Link to comment
Share on other sites

  • 0
17 minutes ago, KIDutz said:

close this shit.

 

ty 

The way a code can be written dynamic is java is like

StringTokenizer st = new StringTokenizer(command, " ");
st.nextToken();

int buffId = Integer.parseInt(st.nextToken());
int buffLvl = Integer.parseInt(st.nextToken());

//Continue

Instead of 500 lines just 3-4 and in xmls you make it like

%objectId_buff 1234 1 

Link to comment
Share on other sites

  • 0
7 minutes ago, Kara` said:

The way a code can be written dynamic is java is like


StringTokenizer st = new StringTokenizer(command, " ");
st.nextToken();

int buffId = Integer.parseInt(st.nextToken());
int buffLvl = Integer.parseInt(st.nextToken());

//Continue

Instead of 500 lines just 3-4 and in xmls you make it like

%objectId_buff 1234 1 

 

i dont know what language you talking. i just wanna know how to make this buffer not to be free and consume that 10 medals.

it gives me the buff even if i have 0 medals...

 

i know i'm annoying  :D

Link to comment
Share on other sites

  • 0
23 minutes ago, KIDutz said:

 

i dont know what language you talking. i just wanna know how to make this buffer not to be free and consume that 10 medals.

it gives me the buff even if i have 0 medals...

 

i know i'm annoying  :D

 

English. I'm kidding. I already tell you it's java. You live in 2k19 if you type on google other than youjizz,  it will amaze you what else it can offer. There are plenty of buffers and tutorials. 

Ex. 

 

Edited by Kara`
Link to comment
Share on other sites

  • 0
2 hours ago, KIDutz said:

count=st.getQuestItemsCount(ADENA_ID)

 

2 hours ago, KIDutz said:

st.takeItems(ADENA_ID,0)

 

Those 2 should be changed into your medal.

Link to comment
Share on other sites

  • 0
1 hour ago, SweeTs said:

 

 

Those 2 should be changed into your medal.

 changed but the same . Tryed with MEDAL_ID , with ADENA_ID =6393 (medal id) , and with medal id instead of MEDAL_ID

it gives it for free if i dont have any medals. but it also takes 10 medals if i have 2342 medals

 

NPC=[20701]
MEDAL_ID=6393
QuestId     = 20701
QuestName   = "NPCBuffer"
QuestDesc   = "custom"
InitialHtml = "1.htm"

 

    def onEvent(self,event,st):
        htmltext = event
        count=st.getQuestItemsCount(MEDAL_ID)
        if count < 0  or st.getPlayer().getLevel() < 1 :

 

            if event == "104":
                st.takeItems(MEDAL_ID,10)
                SkillTable.getInstance().getInfo(2064,1).getEffects(st.getPlayer(),st.getPlayer())
                return "1.htm"        
                st.setState(COMPLETED)

 

might be something with this? :

        if count < 0  or st.getPlayer().getLevel() < 1 :

 

 

 

@Kara` it's pornhub bro . it's also damn frozen...but i was thinking to buy a acis pack from you with some custom features

 

 

 

 

Edited by KIDutz
Link to comment
Share on other sites

  • 0
8 minutes ago, KIDutz said:

 changed but the same . Tryed with MEDAL_ID , with ADENA_ID =6393 (medal id) , and with medal id instead of MEDAL_ID

it gives it for free if i dont have any medals. but it also takes 10 medals if i have 2342 medals

 

NPC=[20701]
MEDAL_ID=6393
QuestId     = 20701
QuestName   = "NPCBuffer"
QuestDesc   = "custom"
InitialHtml = "1.htm"

 

    def onEvent(self,event,st):
        htmltext = event
        count=st.getQuestItemsCount(MEDAL_ID)
        if count < 0  or st.getPlayer().getLevel() < 1 :

 

            if event == "104":
                st.takeItems(MEDAL_ID,10)
                SkillTable.getInstance().getInfo(2064,1).getEffects(st.getPlayer(),st.getPlayer())
                return "1.htm"        
                st.setState(COMPLETED)

 

might be something with this? :

        if count < 0  or st.getPlayer().getLevel() < 1 :

 


import sys
from com.l2jfrozen.gameserver.model.actor.instance import L2PcInstance
from java.util import Iterator
from com.l2jfrozen.gameserver.datatables import SkillTable
from com.l2jfrozen.util.database import L2DatabaseFactory
from com.l2jfrozen.gameserver.model.quest import State
from com.l2jfrozen.gameserver.model.quest import QuestState
from com.l2jfrozen.gameserver.model.quest.jython import QuestJython as JQuest

qn = "20701_NPCBuffer"

NPC=[20701]
MEDAL_ID=6393
QuestId     = 20701
QuestName   = "NPCBuffer"
QuestDesc   = "custom"
InitialHtml = "1.htm"

print "============> Buffer Virus: LOADED"

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(MEDAL_ID)
		if count < 0  or st.getPlayer().getLevel() < 1 :
			htmltext = "<html><head><body>Voce nao tem MEDAL,<br> Ou esta com level muito baixo. Tem que ter level 40 ou mais.</body></html>"
		else:
			st.takeItems(MEDAL_ID,0)
			st.getPlayer().setTarget(st.getPlayer())
			
			if event == "1": 
				st.takeItems(MEDAL_ID,0)
				st.getPlayer().stopAllEffects()
				SkillTable.getInstance().getInfo(4342,2).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1087,3).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(4353,6).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(4347,6).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(4348,6).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(4360,3).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(4351,3).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(4359,3).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(4358,3).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(4357,2).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(4349,2).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(4346,4).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(4345,3).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(4350,4).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(4344,3).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1311,6).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(307,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(274,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(304,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(275,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(272,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(271,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(310,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(311,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(364,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(264,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(306,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(269,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(270,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(265,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())
				SkillTable.getInstance().getInfo(308,1).getEffects(st.getPlayer(),st.getPlayer())				
				SkillTable.getInstance().getInfo(305,1).getEffects(st.getPlayer(),st.getPlayer())				
				SkillTable.getInstance().getInfo(304,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(267,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(266,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(268,1).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(4699,13).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(4703,13).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1323,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1393,3).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1392,3).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1182,3).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1189,3).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1191,3).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1352,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1353,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1254,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1416,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1354,1).getEffects(st.getPlayer(),st.getPlayer())
				return "1.htm"
				st.setState(COMPLETED)
			
			if event == "2":
				st.takeItems(MEDAL_ID,0)
				st.getPlayer().stopAllEffects()
				SkillTable.getInstance().getInfo(1204,2).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(4355,3).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(4353,6).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(4347,6).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(4348,6).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(4351,6).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(4356,3).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(4349,2).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(4346,4).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(4350,4).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(4344,3).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1303,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1311,6).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(276,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(273,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(365,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(311,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(364,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(264,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(306,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(269,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(270,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(265,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())
				SkillTable.getInstance().getInfo(308,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(305,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(304,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(267,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(266,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(268,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1389,3).getEffects(st.getPlayer(),st.getPlayer())				
				SkillTable.getInstance().getInfo(4702,13).getEffects(st.getPlayer(),st.getPlayer())				
				SkillTable.getInstance().getInfo(4699,13).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1323,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1393,3).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1392,3).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1182,3).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1189,3).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1191,3).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1352,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1353,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1252,3).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1416,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1413,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1393,3).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1392,3).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1354,1).getEffects(st.getPlayer(),st.getPlayer())
				return "1.htm"
				st.setState(COMPLETED)

			if event == "3": 
				st.takeItems(MEDAL_ID,0)
				st.getPlayer().stopAllEffects()
				SkillTable.getInstance().getInfo(1062,2).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(4342,2).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1087,3).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(4353,6).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(4347,6).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(4348,6).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(4360,3).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(4351,3).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(4359,3).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(4358,3).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(4357,2).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(4349,2).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(4346,4).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(4345,3).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(4350,4).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(4344,3).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1311,6).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(307,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(274,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(304,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(275,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(272,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(271,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(310,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(311,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(364,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(264,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(306,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(269,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(270,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(265,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())
				SkillTable.getInstance().getInfo(308,1).getEffects(st.getPlayer(),st.getPlayer())				
				SkillTable.getInstance().getInfo(305,1).getEffects(st.getPlayer(),st.getPlayer())				
				SkillTable.getInstance().getInfo(304,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(267,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(266,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(268,1).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(4699,13).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(4703,13).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1323,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1393,3).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1392,3).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1182,3).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1189,3).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1191,3).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1352,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1353,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1254,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1416,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1354,1).getEffects(st.getPlayer(),st.getPlayer())
				return "1.htm"
				st.setState(COMPLETED)
				
                        
			if event == "4":
				st.takeItems(MEDAL_ID,0)
				st.getPlayer().stopAllEffects()
				SkillTable.getInstance().getInfo(1062,2).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1204,2).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(4355,3).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(4353,6).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(4347,6).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(4348,6).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(4351,6).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(4356,3).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(4349,2).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(4346,4).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(4350,4).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(4344,3).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1303,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1311,6).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(276,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(273,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(365,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(311,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(364,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(264,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(306,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(269,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(270,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(265,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())
				SkillTable.getInstance().getInfo(308,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(305,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(304,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(267,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(266,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(268,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1389,3).getEffects(st.getPlayer(),st.getPlayer())				
				SkillTable.getInstance().getInfo(4702,13).getEffects(st.getPlayer(),st.getPlayer())				
				SkillTable.getInstance().getInfo(4699,13).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1323,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1393,3).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1392,3).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1182,3).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1189,3).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1191,3).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1352,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1353,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1252,3).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1416,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1413,1).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1393,3).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1392,3).getEffects(st.getPlayer(),st.getPlayer())
				SkillTable.getInstance().getInfo(1354,1).getEffects(st.getPlayer(),st.getPlayer())
				
				return "1.htm"			
				st.setState(COMPLETED)

			if event == "6":
				st.takeItems(MEDAL_ID,0)
				return "1.htm"		
				st.setState(COMPLETED)

			#Wind Walk
			if event == "7":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(4342,2).getEffects(st.getPlayer(),st.getPlayer())
				return "2.htm"		
				st.setState(COMPLETED)

			#Decrease Weight
			if event == "8":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(4343,3).getEffects(st.getPlayer(),st.getPlayer())
				return "2.htm"		
				st.setState(COMPLETED)

			#Shield
			if event == "9":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(4344,3).getEffects(st.getPlayer(),st.getPlayer())
				return "2.htm"		
				st.setState(COMPLETED)

			#Might
			if event == "10":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(4345,3).getEffects(st.getPlayer(),st.getPlayer())
				return "2.htm"		
				st.setState(COMPLETED)

			#Mental Shield
			if event == "11":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(4346,4).getEffects(st.getPlayer(),st.getPlayer())
				return "7.htm"		
				st.setState(COMPLETED)

			#Bless the Body
			if event == "12":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(4347,6).getEffects(st.getPlayer(),st.getPlayer())
				return "2.htm"		
				st.setState(COMPLETED)

			#Bless the Soul
			if event == "13":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(4348,6).getEffects(st.getPlayer(),st.getPlayer())
				return "2.htm"		
				st.setState(COMPLETED)

			#Magic Barrier
			if event == "14":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(4349,2).getEffects(st.getPlayer(),st.getPlayer())
				return "2.htm"		
				st.setState(COMPLETED)

			#Resist Shock
			if event == "15":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(4350,4).getEffects(st.getPlayer(),st.getPlayer())
				return "6.htm"		
				st.setState(COMPLETED)

			#Concentration
			if event == "16":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(4351,6).getEffects(st.getPlayer(),st.getPlayer())
				return "2.htm"		
				st.setState(COMPLETED)

			#Berserker Spirit
			if event == "17":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(4352,2).getEffects(st.getPlayer(),st.getPlayer())
				return "2.htm"		
				st.setState(COMPLETED)

			#Bless Shield
			if event == "18":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(4353,6).getEffects(st.getPlayer(),st.getPlayer())
				return "2.htm"		
				st.setState(COMPLETED)

			#Vampiric Rage
			if event == "19":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(4354,4).getEffects(st.getPlayer(),st.getPlayer())
				return "2.htm"		
				st.setState(COMPLETED)

			#Acumen
			if event == "20":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(4355,3).getEffects(st.getPlayer(),st.getPlayer())
				return "2.htm"		
				st.setState(COMPLETED)

			#Empower
			if event == "21":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(4356,3).getEffects(st.getPlayer(),st.getPlayer())
				return "2.htm"		
				st.setState(COMPLETED)

			#Haste
			if event == "22":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(4357,2).getEffects(st.getPlayer(),st.getPlayer())
				return "2.htm"		
				st.setState(COMPLETED)

			#Guidance
			if event == "23":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(4358,3).getEffects(st.getPlayer(),st.getPlayer())
				return "2.htm"		
				st.setState(COMPLETED)

			#Focus
			if event == "24":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(4359,3).getEffects(st.getPlayer(),st.getPlayer())
				return "2.htm"		
				st.setState(COMPLETED)

			#Death Whisper
			if event == "25":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(4360,3).getEffects(st.getPlayer(),st.getPlayer())
				return "2.htm"		
				st.setState(COMPLETED)

			if event == "26":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(271,1).getEffects(st.getPlayer(),st.getPlayer())
				return "4.htm"

			if event == "27":
				st.takeItems(MEDAL_ID,0)	
				SkillTable.getInstance().getInfo(272,1).getEffects(st.getPlayer(),st.getPlayer())
				return "4.htm"

			if event == "28":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(273,1).getEffects(st.getPlayer(),st.getPlayer())
				return "4.htm"

			if event == "29":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(274,1).getEffects(st.getPlayer(),st.getPlayer())
				return "4.htm"

			if event == "30":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(275,1).getEffects(st.getPlayer(),st.getPlayer())
				return "4.htm"

			if event == "31":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(276,1).getEffects(st.getPlayer(),st.getPlayer())
				return "4.htm"

			if event == "32":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(277,1).getEffects(st.getPlayer(),st.getPlayer())
				return "4.htm"

			if event == "33":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(307,1).getEffects(st.getPlayer(),st.getPlayer())
				return "4.htm"

			if event == "34":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(309,1).getEffects(st.getPlayer(),st.getPlayer())
				return "4.htm"

			if event == "35":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(310,1).getEffects(st.getPlayer(),st.getPlayer())
				return "4.htm"

			if event == "36":
				st.takeItems(MEDAL_ID,0)		
				SkillTable.getInstance().getInfo(311,1).getEffects(st.getPlayer(),st.getPlayer())
				return "4.htm"

			if event == "37":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(366,1).getEffects(st.getPlayer(),st.getPlayer())
				return "4.htm"

			if event == "38":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(365,1).getEffects(st.getPlayer(),st.getPlayer())
				return "4.htm"

			if event == "39":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(264,1).getEffects(st.getPlayer(),st.getPlayer())
				return "3.htm"

			if event == "40":
				st.takeItems(MEDAL_ID,0)	
				SkillTable.getInstance().getInfo(265,1).getEffects(st.getPlayer(),st.getPlayer())
				return "3.htm"

			if event == "41":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(266,1).getEffects(st.getPlayer(),st.getPlayer())
				return "3.htm"

			if event == "42":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(267,1).getEffects(st.getPlayer(),st.getPlayer())
				return "3.htm"

			if event == "43":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(268,1).getEffects(st.getPlayer(),st.getPlayer())
				return "3.htm"

			if event == "44":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(269,1).getEffects(st.getPlayer(),st.getPlayer())
				return "3.htm"

			if event == "45":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(270,1).getEffects(st.getPlayer(),st.getPlayer())
				return "3.htm"

			if event == "46":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(304,1).getEffects(st.getPlayer(),st.getPlayer())
				return "3.htm"

			if event == "47":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(305,1).getEffects(st.getPlayer(),st.getPlayer())
				return "3.htm"

			if event == "48":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(306,1).getEffects(st.getPlayer(),st.getPlayer())
				return "3.htm"	

			if event == "49":
				st.takeItems(MEDAL_ID,0)	
				SkillTable.getInstance().getInfo(308,1).getEffects(st.getPlayer(),st.getPlayer())
				return "3.htm"

			if event == "50":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(363,1).getEffects(st.getPlayer(),st.getPlayer())
				return "3.htm"

			if event == "51":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(364,1).getEffects(st.getPlayer(),st.getPlayer())
				return "3.htm"	

			if event == "52":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(349,1).getEffects(st.getPlayer(),st.getPlayer())
				return "3.htm"		
				st.setState(COMPLETED)
				
				
			#Chant of Battle
			if event == "53":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(1007,3).getEffects(st.getPlayer(),st.getPlayer())
				return "5.htm"
				st.setState(COMPLETED)
				
			#Chant of Shielding
			if event == "54":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(1009,3).getEffects(st.getPlayer(),st.getPlayer())
				return "5.htm"
				st.setState(COMPLETED)
				
			#Chant of Fire
			if event == "55":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(1006,3).getEffects(st.getPlayer(),st.getPlayer())
				return "5.htm"
				st.setState(COMPLETED)
				
			#Chant of Flame
			if event == "56":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(1002,3).getEffects(st.getPlayer(),st.getPlayer())
				return "5.htm"
				st.setState(COMPLETED)
				
			#Chant of life
			if event == "57":
				st.takeItems(MEDAL_ID,0)
				st.getPlayer().useMagic(SkillTable.getInstance().getInfo(1229,18),False,False)
				return "5.htm"
				st.setState(COMPLETED)
				
			#Chant of Fury
			if event == "58":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(1251,2).getEffects(st.getPlayer(),st.getPlayer())
				return "5.htm"
				st.setState(COMPLETED)
				
			#Chant of Evasion
			if event == "59":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(1252,3).getEffects(st.getPlayer(),st.getPlayer())
				return "5.htm"
				st.setState(COMPLETED)
				
			#Chant of Rage
			if event == "60":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(1253,3).getEffects(st.getPlayer(),st.getPlayer())
				return "5.htm"
				st.setState(COMPLETED)
				
			#Chant of Revenge
			if event == "61":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(1284,3).getEffects(st.getPlayer(),st.getPlayer())
				return "5.htm"
				st.setState(COMPLETED)
				
			#Chant of Vampire
			if event == "62":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(1310,4).getEffects(st.getPlayer(),st.getPlayer())
				return "5.htm"
				st.setState(COMPLETED)
				
			#Chant of Eagle
			if event == "63":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(1309,3).getEffects(st.getPlayer(),st.getPlayer())
				return "5.htm"
				st.setState(COMPLETED)
				
			#Chant of Predator
			if event == "64":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(1308,3).getEffects(st.getPlayer(),st.getPlayer())
				return "5.htm"
				st.setState(COMPLETED)
			
			#Greater Might
			if event == "71":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(1388,3).getEffects(st.getPlayer(),st.getPlayer())
				return "7.htm"	
				st.setState(COMPLETED)
                        
                        #Noblesse Blessing
			if event == "70":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(1323,1).getEffects(st.getPlayer(),st.getPlayer())
				return "1.htm"
				st.setState(COMPLETED)	
		        
                        #Invigor
			if event == "72":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(1032,3).getEffects(st.getPlayer(),st.getPlayer())
				return "7.htm"
				st.setState(COMPLETED)		
                           
                        #Elemental Protection
			if event == "73":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(1352,1).getEffects(st.getPlayer(),st.getPlayer())
				return "6.htm"
				st.setState(COMPLETED)	
                                              
                        #Divine Protection
			if event == "74":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(1353,1).getEffects(st.getPlayer(),st.getPlayer())
				return "6.htm"
				st.setState(COMPLETED)	
                                                
                        #Arcane Protection
			if event == "75":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(1354,1).getEffects(st.getPlayer(),st.getPlayer())
				return "6.htm"
				st.setState(COMPLETED)	
                                                
                        #Regeneration
			if event == "76":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(1044,3).getEffects(st.getPlayer(),st.getPlayer())
				return "2.htm"
				st.setState(COMPLETED)	
                                                
                        #Agility
			if event == "77":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(1087,3).getEffects(st.getPlayer(),st.getPlayer())
				return "2.htm"
				st.setState(COMPLETED)	
                                                
                        #Clarity
			if event == "78":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(1397,3).getEffects(st.getPlayer(),st.getPlayer())
				return "7.htm"
				st.setState(COMPLETED)	
                                                
                        #Advanced Block
			if event == "79":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(1304,3).getEffects(st.getPlayer(),st.getPlayer())
				return "7.htm"
				st.setState(COMPLETED)	
                                                
                        #Kiss of Eva
			if event == "80":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(1073,1).getEffects(st.getPlayer(),st.getPlayer())
				return "2.htm"
				st.setState(COMPLETED)	
                                                
                        #Greater Shield
			if event == "81":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(1389,3).getEffects(st.getPlayer(),st.getPlayer())
				return "7.htm"
				st.setState(COMPLETED)	
                                               
                        #Wild Magic
			if event == "82":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(1303,2).getEffects(st.getPlayer(),st.getPlayer())
				return "2.htm"
				st.setState(COMPLETED)	
                                                
                        #Body of Avatar
			if event == "83":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(1311,6).getEffects(st.getPlayer(),st.getPlayer())
				return "2.htm"
				st.setState(COMPLETED)	
                                                
                        #Resist Aqua
			if event == "84":
				st.takeItems(MEDAL_ID,0)
				st.getPlayer().useMagic(SkillTable.getInstance().getInfo(1182,3),False,False)
				return "6.htm"
				st.setState(COMPLETED)	
                                                
                        #Resist Fire
			if event == "85":
				st.takeItems(MEDAL_ID,0)
				st.getPlayer().useMagic(SkillTable.getInstance().getInfo(1191,3),False,False)
				return "6.htm"
				st.setState(COMPLETED)	
                                                
                        #Resist Wind
			if event == "86":
				st.takeItems(MEDAL_ID,0)
				st.getPlayer().useMagic(SkillTable.getInstance().getInfo(1189,3),False,False)
				return "6.htm"
				st.setState(COMPLETED)	
                                                
                        #Resist Poison
			if event == "87":
				st.takeItems(MEDAL_ID,0)
				st.getPlayer().useMagic(SkillTable.getInstance().getInfo(1033,3),False,False)
				return "6.htm"
				st.setState(COMPLETED)	
                                                
                        #Salvation
			if event == "88":
				st.takeItems(MEDAL_ID,0)
				st.getPlayer().useMagic(SkillTable.getInstance().getInfo(1410,1),False,False)
				return "1.htm"
				st.setState(COMPLETED)
                                                
                        #Prophecy of Water
			if event == "89":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(1355,1).getEffects(st.getPlayer(),st.getPlayer())
				return "7.htm"
				st.setState(COMPLETED)
                                                
                        #Prophecy of Fire
			if event == "90":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(1356,1).getEffects(st.getPlayer(),st.getPlayer())
				return "7.htm"
				st.setState(COMPLETED)
                                                
                        #Prophecy of Wind
			if event == "91":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(1357,1).getEffects(st.getPlayer(),st.getPlayer())
				return "7.htm"
				st.setState(COMPLETED)
                                                
                        #War Chant
			if event == "92":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(1390,3).getEffects(st.getPlayer(),st.getPlayer())
				return "7.htm"
				st.setState(COMPLETED)
                                                
                        #Earth Chant
			if event == "93":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(1391,3).getEffects(st.getPlayer(),st.getPlayer())
				return "7.htm"
				st.setState(COMPLETED)
                                                
                        #Blessing of Queen
			if event == "94":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(4699,13).getEffects(st.getPlayer(),st.getPlayer())
				return "7.htm"
				st.setState(COMPLETED)
                                                
                        #Gift of Queen
			if event == "95":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(4700,13).getEffects(st.getPlayer(),st.getPlayer())
				return "7.htm"
				st.setState(COMPLETED)
                                                
                        #Blessing of Seraphim
			if event == "96":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(4702,13).getEffects(st.getPlayer(),st.getPlayer())
				return "7.htm"
				st.setState(COMPLETED)
                                                
                        #Gift of Seraphim
			if event == "97":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(4703,13).getEffects(st.getPlayer(),st.getPlayer())
				return "7.htm"
				st.setState(COMPLETED)
                        
                        #Chant of Spirit
			if event == "65":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(1362,1).getEffects(st.getPlayer(),st.getPlayer())
				return "5.htm"
				st.setState(COMPLETED)
				
			#Chant of Victory
			if event == "66":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(1363,1).getEffects(st.getPlayer(),st.getPlayer())
				return "7.htm"
				st.setState(COMPLETED)
				
			#chant of magnus
			if event == "67":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(1413,1).getEffects(st.getPlayer(),st.getPlayer())
				return "7.htm"
				st.setState(COMPLETED)	
				
				#chant of magnus
			if event == "109":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(1416,1).getEffects(st.getPlayer(),st.getPlayer())
				return "7.htm"
				st.setState(COMPLETED)	
				
							#chant of magnus
			if event == "110":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(1393,3).getEffects(st.getPlayer(),st.getPlayer())
				return "6.htm"
				st.setState(COMPLETED)	
				
											#chant of magnus
			if event == "111":
				st.takeItems(MEDAL_ID,0)
				SkillTable.getInstance().getInfo(1392,3).getEffects(st.getPlayer(),st.getPlayer())
				return "6.htm"
				st.setState(COMPLETED)	
			
			#Cancel
			if event == "98": 
				st.getPlayer().stopAllEffects()
				return "1.htm"
				st.setState(COMPLETED)

			#CPHEAL
			if event == "69":
				st.takeItems(MEDAL_ID,0)
				st.getPlayer().restoreCP()
				return "1.htm"		
				st.setState(COMPLETED)	
                        
            #Restore CP
			if event == "100":
				st.takeItems(MEDAL_ID,0)
				st.getPlayer().restoreCP()
				return "1.htm"
				st.setState(State.COMPLETED)	
				
            #Restore HP
			if event == "101":
				st.getPlayer().getStatus().setCurrentHp(st.getPlayer().getStat().getMaxHp())
				st.getPlayer().getStatus().setCurrentMp(st.getPlayer().getStat().getMaxMp())
				st.getPlayer().getStatus().setCurrentCp(st.getPlayer().getStat().getMaxCp())
				return "1.htm"		
				st.setState(COMPLETED)	

            #Restore MP
			if event == "102":
				st.takeItems(MEDAL_ID,0)
				st.getPlayer().restoreMP()
				return "1.htm"
				st.setState(State.COMPLETED)

			if event == "104":
				st.takeItems(MEDAL_ID,10)
				SkillTable.getInstance().getInfo(2064,1).getEffects(st.getPlayer(),st.getPlayer())
				return "1.htm"		
				st.setState(COMPLETED)
				
			if htmltext != event:
				st.setState(COMPLETED)
				st.exitQuest(1)
		return htmltext


	def onTalk (self,npc,player):
	   st = player.getQuestState(qn)
	   htmltext = "<html><head><body>I have nothing to say to you</body></html>"
	   st.setState(STARTED)
	   return InitialHtml

QUEST       = Quest(QuestId,str(QuestId) + "_" + QuestName,QuestDesc)
CREATED=State('Start',QUEST)
STARTED=State('Started',QUEST)
COMPLETED=State('Completed',QUEST)

QUEST.setInitialState(CREATED)

for npcId in NPC:
 QUEST.addStartNpc(npcId)
 QUEST.addTalkId(npcId)

 

 

@Kara` it's pornhub bro . it's also damn frozen...but i was thinking to buy a acis pack from you with some custom features

 

 

 

 

 

1st of all i don't sell aCis i sell only services (java e.t.c). Acis is free. 2nd i gave u link of buffer why u listen to sweets and continue on this ugly Python written script? Download the code i gave you and add it on eclipse.

 

A java script can be placed n datapack as a .py 

 

PS. plz remove the code from ur quote cause i have to scroll 200 lines down.

Edited by Kara`
Link to comment
Share on other sites

  • 0
19 minutes ago, SweeTs said:

@Kara` noob, stop quoting large posts :lied::rage:

You're the biggest bitch :'( I didn't quote. I did quote of someone who quote with big post. Is quote-ception.:goodsir:

Also i love how u advice him to change the itemId instead of drop the script and use a let's say 21 century version.

Link to comment
Share on other sites

  • 0

Let him use whatever he wants. When his buffer stuck on live server he will understand why he should change it :happyforever:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



  • Posts

    • A ability known as "lost target" is one that causes your opponent to shift their focus away from you. If he does not retarget, the effect will be permanent. Naturally, ncSoft didn't think things through very well, thus in interlude you can auto-target, which pretty much nullifies the impact they were going for. Nerdle is not just a math puzzle game, but also a challenge for your brain. Find hidden calculations within 6 tries. You can find both numerical and alphabetical characters.  
    • Welcome new members to this World's Hardest Game forum. So excited.
    • I also have a character on this server. Hope to connect with everyone. Please contact me via nick: Sonic exe.
    • Does that mean we won't be able to find anything here?we become what we behold
    • Mrs Poindexter CBD Gummies Reviews : Truth or Blind-Faith Introducing the CBD gummies from Mrs. Poindexter, which are more than simply tasty treats. They are a type of health supplement that contains hemp to help you unwind both physically and mentally. More than 20,000 clinical investigations have shown them to be effective at reducing anxiety, depression, and inflammation. <<OFFICIAL WEBSITE-” CLICK HERE ORDER NOW>> VISITING OFFICIAL WEBSITE MRS POINDEXTER CBD GUMMIES [TAP TO ORDER] Other Article Link Below: https://groups.google.com/g/exposed-mrs-poindexter-cbd-gummies/c/56rSTvtN9U4 https://groups.google.com/g/exposed-mrs-poindexter-cbd-gummies/c/z9sqlhQTpWc https://sites.google.com/view/new-update-mrs-poindexter-cbdg/home https://forum.ppr.pl/index.php?/topic/20021-green-spectra-cbd-gummies-reviews/ https://forum.playragnarokonlinebr.com/index.php?/topic/104798-mrs-poindexter-cbd-gummies-reviews/ https://forum.techtudo.globo.com/perguntas/582713/mrs-poindexter-cbd-gummies-reviews-is-it-effective-in-reducing-weight-quickly https://xtibia.com/forum/topic/258176-green-spectra-cbd-gummies-reviews/ https://sites.google.com/view/new-update-mrs-poindexter-cbdg/home https://sites.google.com/view/mrs-poindexter-cbd-buy-now/home https://forum.ppr.pl/index.php?/topic/20114-mrs-poindexter-cbd-gummies-why-should-we-buy/ https://sites.google.com/view/usa-mrs-poindexter-cbd-gummy-r/home https://www.dibiz.com/liam-2 https://www.carforums.com/forums/topic/212223-mrs-poindexter-cbd-gummies-reviews/ https://liam143.cgsociety.org/bz0o/mrs-poindexter-cbd-g https://www.toyorigin.com/community/index.php?threads/mrs-poindexter-cbd-gummies-reviews-true-or-fake.32119/ https://community.backtrader.com/topic/61652/mrs-poindexter-cbd-gummies-reviews-scam-or-true https://community.backtrader.com/topic/61666/mrs-poindexter-cbd-gummies-reviews-scam-or-true https://dribbble.com/shots/20563651-Mrs-Poindexter-CBD-Gummies-Reviews-made-in-USA?added_first_shot=true https://www.deviantart.com/nadal2343/art/Pelican-CBD-Gummies-cover-948038876 https://socialsocial.social/pin/mrs-poindexter-cbd-gummies-reviews-scam-or-true/ https://socialsocial.social/pin/mrs-poindexter-cbd-gummies-reviews-side-effects-or-scam/ https://www.scoop.it/topic/mrs-poindexter-cbd-gummies-reviews-side-effects-or-scam?&kind=crawled&fId=1807291 https://discuss.selfmade.ninja/d/10531-mrs-poindexter-cbd-gummies-reviews-good-or-bad-for-health https://www.scoop.it/topic/terry-bradshaw-cbd-gummies-by-terrybradshaw   https://sites.google.com/view/terry-bradshaw-cbd-gummies-t/home https://sites.google.com/view/terry-bradshaw-cbd-gummi/home https://groups.google.com/g/terrybradshawcbdgummiies/c/dZZOWAIKNxs https://sites.google.com/view/lois-griffin-cbd-gummies-/home https://sites.google.com/view/lois-griffin-cbd-gummies-cbd/home https://groups.google.com/g/loisgriffincb/c/dB5ZxOAoaDA https://www.dibiz.com/loisgriffincbdgummies-1 https://www.dibiz.com/loisgriffin https://www.dibiz.com/terrybradshaw45 https://www.dibiz.com/terrybradshawcbdgummies https://www.toyorigin.com/community/index.php?threads/terry-bradshaw-cbd-gummies-ingredients-of-live-well-cbd-gummy-bars.31855/ https://www.toyorigin.com/community/index.php?threads/terry-bradshaw-cbd-gummies-does-this-powerful-chronic-pain-relief-gummies-really-work.31856/ https://www.toyorigin.com/community/index.php?threads/lois-griffin-cbd-chewy-goodies-understanding.31859/ https://www.toyorigin.com/community/index.php?threads/lois-griffin-cbd-gummies-side-effects-results-order.31863/ https://www.sympla.com.br/produtor/terrybradshawcbdgummi https://www.sympla.com.br/produtor/terrybradshawcbd https://www.sympla.com.br/produtor/loisgriffincbdgummies https://www.sympla.com.br/produtor/loisgriffincbdgummiespowerful https://community.backtrader.com/topic/61456/terry-bradshaw-cbd-gummies-cbd-gummies-are-made-with-natural-components https://community.backtrader.com/topic/61460/lois-griffin-cbd-gummies-these-are-assembled-with-superior-co2-extraction-and-triple-filtration-era https://community.thermaltake.com/index.php?/topic/312708-terry-bradshaw-cbd-gummies-are-made-with-natural-components/ https://terrybradshaw01.hashnode.dev/terry-bradshaw-cbd-gummies-relieve-pain-aches-as-theyve-ache-relieving-houses https://loisgriffincbdgummies4.hashnode.dev/lois-griffin-cbd-gummies-you-have-more-potent-immunity-metabolism-and-digestion-as-a-result https://terrybradshaw01.hashnode.dev/terry-bradshaw-cbd-gummies-does-this-powerful-chronic-pain-relief-gummies-really-work https://loisgriffincbdgummies4.hashnode.dev/lois-griffin-cbd-gummies-superior-co2-extraction-and-triple-filtration-era https://www.facebook.com/people/Terry-Bradshaw-CBD-Gummies/100089775202720/ https://www.facebook.com/people/Lois-Griffin-CBD-Gummies/100089676325598/ https://infogram.com/terry-bradshaw-cbd-gummies-1h7g6k0gp3vx02o https://infogram.com/lois-griffin-cbd-gummies-1ho16vokle88x4n https://infogram.com/terry-bradshaw-cbd-gummies-1h7g6k0gp3vx02o https://infogram.com/lois-griffin-cbd-gummies-1ho16vokle88x4n https://www.scoop.it/topic/terry-bradshaw-cbd-gummies-by-terrybradshaw     
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock