Jump to content
  • 0

Question

Posted

Hello guys

 

I'd like to ask for some help. I have a Freya buffer, and the thing is, that its buffing everyone, with every buff in my party ( including the pets! ). We r working on a high class balanced server now, and I dont want to see full buffed pets. So the question is, what should I do, if I don't want the pets to be buffed?

 

Here is a part of the buffers code:

 

qn = "50000_NPCBuffer"

 

NPC=[50000]

 

QuestId = 50000

QuestName      = "NPCBuffer"

QuestDesc      = "custom"

InitialHtml    = "1.htm"

ADENA_ID=57

 

NotEnoughAdena = "<html><body>You don't have enough adena.</body></html>"

 

print "#####################################"

print "#Betoltve: 50000_NPCBuffer by slshr#"

print "#####################################"

 

############################################################################

def skillCast(player,skill,level,useAnimation):   #

# This line is necessary and gets the skill information.   #

skillInfo = SkillTable.getInstance().getInfo(skill,level)   #

if not skillInfo:   #

return False   #

############################################################################

# This line causes the client to display the animation for the   #

# skill.  If you do not want the client to display the animation   #

# for a specific skill simply set useAnimation to false for that   #

# skill call.  If you want to disable it for all skills simply   #

# comment out the below two lines.   #

############################################################################

# We need to make sure the player has him/herself targetted, but   #

# we also want to make sure we don't permanently change the target   #

# so we will save off the current target before changing it to the   #

# player.   #

currentTarget = player.getTarget()   #

player.setTarget(player)   #

############################################################################

# This gets all the targets for the skill (self, party, clan, ally, etc...)#

targets = skillInfo.getTargetList(player)   #

############################################################################

# Now we reset the target we had before we switched to the player.   #

player.setTarget(currentTarget)   #

############################################################################

# This applies the skill effects to all valid targets.  If you only want  #

# it to apply the effects to the player then you should change "targets"  #

# in the line below to "[player]".   #

player.callSkill(skillInfo,targets)   #

return True   #

############################################################################

 

def conditionalCast(st,player,cost,skill,level,html,useAnimation):

adena = st.getQuestItemsCount(ADENA_ID)

if adena < cost:

st.exitQuest(1)

return NotEnoughAdena

else:

st.takeItems(ADENA_ID,cost)

ok = skillCast(player,skill,level,useAnimation)

if ok == False:

return "<html><body>Skill " + str(skill) + " at level " + str(level) + " can not be found.</body></html>"

return html

 

class Quest (JQuest):

 

def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr)

 

def onEvent(self,event,st):

htmltext = event

adena = st.getQuestItemsCount(ADENA_ID)

 

#############################

#Script Begins for the Buffs#

##################################################

# Linked to 1.htm - Default Page #

#################################

 

#Heal CP,HP,MP

if event == "1":

if adena < 0:

st.exitQuest(1)

return NotEnoughAdena

st.takeItems(ADENA_ID,0)

st.getPlayer().setCurrentHp(st.getPlayer().getMaxHp())

st.getPlayer().setCurrentMp(st.getPlayer().getMaxMp())

st.getPlayer().setCurrentCp(st.getPlayer().getMaxCp())

htmltext = "1.htm"

 

######################################

# Linked to 5.htm - Choose Buffs    #

######################################

 

#Wind Walk

elif event == "2":

htmltext = conditionalCast(st,st.getPlayer(),0,1204,2,"5.htm",True)

 

#Arcane Protection

elif event == "3":

htmltext = conditionalCast(st,st.getPlayer(),0,1354,1,"5.htm",True)

 

#Shield

elif event == "4":

htmltext = conditionalCast(st,st.getPlayer(),0,1040,3,"5.htm",True)

 

#Might

elif event == "5":

htmltext = conditionalCast(st,st.getPlayer(),0,1068,3,"5.htm",True)

What do I have to change? :$

Thankx for the help, maybe it's useful for others too )

3 answers to this question

Recommended Posts

  • 0
Posted
import sys

from com.l2jserver.gameserver.model.actor.instance import L2PcInstance

from java.util import Iterator

from com.l2jserver.gameserver.datatables import SkillTable

from com.l2jserver       import L2DatabaseFactory

from com.l2jserver.gameserver.model.quest import State

from com.l2jserver.gameserver.model.quest import QuestState

from com.l2jserver.gameserver.model.quest.jython import QuestJython as JQuest

 

qn = "50000_NPCBuffer"

 

NPC=[50000]

 

QuestId = 50000

QuestName      = "NPCBuffer"

QuestDesc      = "custom"

InitialHtml    = "1.htm"

ADENA_ID=57

 

NotEnoughAdena = "<html><body>You don't have enough adena.</body></html>"

 

print "#####################################"

print "#Betoltve: 50000_NPCBuffer by kandur#"

print "#####################################"

 

############################################################################

def skillCast(player,skill,level,useAnimation):   #

# This line is necessary and gets the skill information.   #

skillInfo = SkillTable.getInstance().getInfo(skill,level)   #

if not skillInfo:   #

return False   #

############################################################################

# This line causes the client to display the animation for the   #

# skill.  If you do not want the client to display the animation   #

# for a specific skill simply set useAnimation to false for that   #

# skill call.  If you want to disable it for all skills simply   #

# comment out the below two lines.   #

############################################################################

# We need to make sure the player has him/herself targetted, but   #

# we also want to make sure we don't permanently change the target   #

# so we will save off the current target before changing it to the   #

# player.   #

currentTarget = player.getTarget()   #

player.setTarget(player)   #

############################################################################

# This gets all the targets for the skill (self, party, clan, ally, etc...)#

targets = skillInfo.getTargetList(player)   #

############################################################################

# Now we reset the target we had before we switched to the player.   #

player.setTarget(currentTarget)   #

############################################################################

# This applies the skill effects to all valid targets.  If you only want   #

# it to apply the effects to the player then you should change "targets"   #

# in the line below to "[player]".   #

player.callSkill(skillInfo,targets)   #

return True   #

############################################################################

 

def conditionalCast(st,player,cost,skill,level,html,useAnimation):

adena = st.getQuestItemsCount(ADENA_ID)

if adena < cost:

st.exitQuest(1)

return NotEnoughAdena

else:

st.takeItems(ADENA_ID,cost)

ok = skillCast(player,skill,level,useAnimation)

if ok == False:

return "<html><body>Skill " + str(skill) + " at level " + str(level) + " can not be found.</body></html>"

return html

 

class Quest (JQuest):

 

def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr)

 

def onEvent(self,event,st):

htmltext = event

adena = st.getQuestItemsCount(ADENA_ID)

 

#############################

#Script Begins for the Buffs#

##################################################

# Linked to 1.htm - Default Page #

#################################

 

#Heal CP,HP,MP

if event == "1":

if adena < 0:

st.exitQuest(1)

return NotEnoughAdena

st.takeItems(ADENA_ID,0)

st.getPlayer().setCurrentHp(st.getPlayer().getMaxHp())

st.getPlayer().setCurrentMp(st.getPlayer().getMaxMp())

st.getPlayer().setCurrentCp(st.getPlayer().getMaxCp())

htmltext = "1.htm"

 

######################################

# Linked to 5.htm - Choose Buffs     #

######################################

 

#Wind Walk

elif event == "2":

htmltext = conditionalCast(st,st.getPlayer(),0,1204,2,"5.htm",True)

 

#Arcane Protection

elif event == "3":

htmltext = conditionalCast(st,st.getPlayer(),0,1354,1,"5.htm",True)

*

*

*

 

#pow

elif event == "30":

htmltext = conditionalCast(st,st.getPlayer(),0,1355,1,"5.htm",True)

 

#powi

elif event == "31":

htmltext = conditionalCast(st,st.getPlayer(),0,1357,1,"5.htm",True)

 

##################################

# Choose Buffs  -   Default Page #

##################################

 

#Wind Walk

elif event == "107":

htmltext = conditionalCast(st,st.getPlayer(),0,4342,2,"5.htm",True)

 

#Decrease Weight

elif event == "108":

htmltext = conditionalCast(st,st.getPlayer(),0,4343,3,"5.htm",True)

 

*

*(just deleted here some buffs, quote was too long)

 

#Death Whisper

elif event == "125":

htmltext = conditionalCast(st,st.getPlayer(),0,4360,3,"5.htm",True)

 

############################

# Linked to 2.htm - Dances #

############################

 

#Dance of the Warrior

elif event == "200":

htmltext = conditionalCast(st,st.getPlayer(),0,271,1,"2.htm",True)

 

#Dance of Inspiration

elif event == "201":

htmltext = conditionalCast(st,st.getPlayer(),0,272,1,"2.htm",True)

 

#Dance of the Mystic

elif event == "202":

htmltext = conditionalCast(st,st.getPlayer(),0,273,1,"2.htm",True)

 

#Dance of Fire

elif event == "203":

htmltext = conditionalCast(st,st.getPlayer(),0,274,1,"2.htm",True)

 

#Dance of Fury

elif event == "204":

htmltext = conditionalCast(st,st.getPlayer(),0,275,1,"2.htm",True)

 

#Dance of Concentration

elif event == "205":

htmltext = conditionalCast(st,st.getPlayer(),0,276,1,"2.htm",True)

 

#Dance of Light

elif event == "206":

htmltext = conditionalCast(st,st.getPlayer(),0,277,1,"2.htm",True)

 

#Dance of Aqua Guard

elif event == "207":

htmltext = conditionalCast(st,st.getPlayer(),0,307,1,"2.htm",True)

 

#Dance of Earth Guard

elif event == "208":

htmltext = conditionalCast(st,st.getPlayer(),0,309,1,"2.htm",True)

 

#Dance of the Vampire

elif event == "209":

htmltext = conditionalCast(st,st.getPlayer(),0,310,1,"2.htm",True)

 

#Dance of Protection

elif event == "210":

htmltext = conditionalCast(st,st.getPlayer(),0,311,1,"2.htm",True)

 

#Dance of Shadows

elif event == "211":

htmltext = conditionalCast(st,st.getPlayer(),0,366,1,"2.htm",True)

 

#Siren's Dance

elif event == "212":

htmltext = conditionalCast(st,st.getPlayer(),0,365,1,"2.htm",True)

 

#Dance of Alignment

elif event == "213":

htmltext = conditionalCast(st,st.getPlayer(),0,530,1,"2.htm",True)

 

#Dance of Blade Storm

elif event == "214":

htmltext = conditionalCast(st,st.getPlayer(),0,765,1,"2.htm",True)

 

#All Dance

elif event == "215":

if adena < 0:

st.exitQuest(1)

return NotEnoughAdena

st.takeItems(ADENA_ID,0)

skillCast(st.getPlayer(),271,1,True)

skillCast(st.getPlayer(),272,1,True)

skillCast(st.getPlayer(),273,1,True)

skillCast(st.getPlayer(),274,1,True)

skillCast(st.getPlayer(),275,1,True)

skillCast(st.getPlayer(),276,1,True)

skillCast(st.getPlayer(),277,1,True)

skillCast(st.getPlayer(),307,1,True)

skillCast(st.getPlayer(),309,1,True)

skillCast(st.getPlayer(),310,1,True)

skillCast(st.getPlayer(),311,1,True)

skillCast(st.getPlayer(),365,1,True)

skillCast(st.getPlayer(),530,1,True)

skillCast(st.getPlayer(),765,1,True)

htmltext = "2.htm"

 

###########################

# Linked to 3.htm - Songs #

###########################

 

#Song of Earth

elif event == "300":

htmltext = conditionalCast(st,st.getPlayer(),0,264,1,"3.htm",True)

 

*

*

*

 

#Song of Wind Strom

               elif event == "315":

htmltext = conditionalCast(st,st.getPlayer(),0,764,1,"3.htm",True)

 

#All Song

elif event == "316":

if adena < 0:

st.exitQuest(1)

return NotEnoughAdena

st.takeItems(ADENA_ID,50000)

skillCast(st.getPlayer(),264,1,True)

skillCast(st.getPlayer(),265,1,True)

skillCast(st.getPlayer(),266,1,True)

skillCast(st.getPlayer(),267,1,True)

skillCast(st.getPlayer(),268,1,True)

skillCast(st.getPlayer(),269,1,True)

skillCast(st.getPlayer(),270,1,True)

skillCast(st.getPlayer(),304,1,True)

skillCast(st.getPlayer(),305,1,True)

skillCast(st.getPlayer(),306,1,True)

skillCast(st.getPlayer(),308,1,True)

skillCast(st.getPlayer(),363,1,True)

skillCast(st.getPlayer(),364,1,True)

skillCast(st.getPlayer(),349,1,True)

skillCast(st.getPlayer(),529,1,True)

htmltext = "3.htm"

 

#################################

# Linked to 4.htm - Buff Groups #

#################################

 

#Fighter Buffs

elif event == "400":

if adena < 0:

st.exitQuest(1)

return NotEnoughAdena

st.takeItems(ADENA_ID,500000)

skillCast(st.getPlayer(),1204,2,True) #Wind Walk

skillCast(st.getPlayer(),1040,3,True) #Shield

skillCast(st.getPlayer(),1068,3,True) #Might

skillCast(st.getPlayer(),1035,4,True) #Mental Shield

skillCast(st.getPlayer(),1045,6,True) #Bless the Body

skillCast(st.getPlayer(),1048,6,True) #Bless the Soul

skillCast(st.getPlayer(),1036,2,True) #Magic Barrier

skillCast(st.getPlayer(),1259,4,True) #Resist Shock

skillCast(st.getPlayer(),1078,6,True) #Concentration

skillCast(st.getPlayer(),1062,2,True) #Berserker Spirit

skillCast(st.getPlayer(),1268,4,True) #Vampiric Rage

skillCast(st.getPlayer(),1086,2,True) #Haste

skillCast(st.getPlayer(),1240,3,True) #Guidance

skillCast(st.getPlayer(),1077,3,True) #Focus

skillCast(st.getPlayer(),1242,3,True) #Death Whisper

skillCast(st.getPlayer(),1388,3,True) #greatmight

skillCast(st.getPlayer(),1392,3,True) #holyresist

skillCast(st.getPlayer(),1393,3,True) #Unholyresist

skillCast(st.getPlayer(),1352,1,True) #elemtprotect

skillCast(st.getPlayer(),1304,3,True) #advblock

skillCast(st.getPlayer(),1353,1,True) #divProtect

skillCast(st.getPlayer(),1047,4,True) #manareg

 

skillCast(st.getPlayer(),271,1,True) #Dance of the Warrior

skillCast(st.getPlayer(),272,1,True) #Dance of Inspiration

skillCast(st.getPlayer(),274,1,True) #Dance of Fire

skillCast(st.getPlayer(),275,1,True) #Dance of Fury

skillCast(st.getPlayer(),277,1,True) #Dance of Light

skillCast(st.getPlayer(),310,1,True) #Dance of Vampire

skillCast(st.getPlayer(),311,1,True) #Dance of Protection

skillCast(st.getPlayer(),530,1,True) #Dance of Alignment

skillCast(st.getPlayer(),765,1,True) #Dance of Blade Storm

 

skillCast(st.getPlayer(),264,1,True) #Song of Earth

skillCast(st.getPlayer(),265,1,True) #Song of Life

skillCast(st.getPlayer(),266,1,True) #Song of Water

skillCast(st.getPlayer(),267,1,True) #Song of Warding

skillCast(st.getPlayer(),268,1,True) #Song of Wind

skillCast(st.getPlayer(),269,1,True) #Song of Hunter

skillCast(st.getPlayer(),270,1,True) #Song of Invocation

skillCast(st.getPlayer(),304,1,True) #Song of Vitality

skillCast(st.getPlayer(),305,1,True) #Song of Vengeance

skillCast(st.getPlayer(),363,1,True) #Song of Meditation

skillCast(st.getPlayer(),364,1,True) #Song of Champion

skillCast(st.getPlayer(),349,1,True) #Song of Renewal

skillCast(st.getPlayer(),529,1,True) #Song of Elemental

skillCast(st.getPlayer(),764,1,True) #Song of Wind Strom

 

skillCast(st.getPlayer(),1363,1,True) #Chant of Victory

 

skillCast(st.getPlayer(),1476,3,True) #Apetite

skillCast(st.getPlayer(),1478,2,True) #Protection

 

skillCast(st.getPlayer(),1323,1,True) #Noblesse Blessing

 

skillCast(st.getPlayer(),1487,8,True) #Restoration

skillCast(st.getPlayer(),834,1,True) #Blood Pact

skillCast(st.getPlayer(),1229,18,True) #Chant of Life

htmltext = "4.htm"

 

#Mage Buffs

elif event == "401":

if adena < 0:

st.exitQuest(1)

return NotEnoughAdena

 

skillCast(st.getPlayer(),4349,2,True)

skillCast(st.getPlayer(),4344,3,True)

skillCast(st.getPlayer(),4347,6,True)

skillCast(st.getPlayer(),4353,6,True)

skillCast(st.getPlayer(),4351,6,True)

skillCast(st.getPlayer(),4355,3,True)

skillCast(st.getPlayer(),4352,2,True)

skillCast(st.getPlayer(),4356,3,True)

skillCast(st.getPlayer(),1303,2,True)

skillCast(st.getPlayer(),365,1,True)

skillCast(st.getPlayer(),267,1,True)

skillCast(st.getPlayer(),276,1,True)

skillCast(st.getPlayer(),273,1,True)

skillCast(st.getPlayer(),268,1,True)

skillCast(st.getPlayer(),269,1,True)

skillCast(st.getPlayer(),264,1,True)

skillCast(st.getPlayer(),304,1,True)

skillCast(st.getPlayer(),349,1,True)

skillCast(st.getPlayer(),266,1,True)

skillCast(st.getPlayer(),1252,2,True) #Chant of Evasion

skillCast(st.getPlayer(),1355,1,True) #pow

skillCast(st.getPlayer(),1303,2,True) #wildmagic

 

skillCast(st.getPlayer(),1204,2,True) #Wind Walk

skillCast(st.getPlayer(),1040,3,True) #Shield

skillCast(st.getPlayer(),1068,3,True) #Might

skillCast(st.getPlayer(),1035,4,True) #Mental Shield

skillCast(st.getPlayer(),1045,6,True) #Bless the Body

skillCast(st.getPlayer(),1048,6,True) #Bless the Soul

skillCast(st.getPlayer(),1036,2,True) #Magic Barrier

 

skillCast(st.getPlayer(),1243,6,True) #Bless Shield

skillCast(st.getPlayer(),1078,6,True) #Concentration

 

 

skillCast(st.getPlayer(),264,1,True) #Song of Earth

 

 

skillCast(st.getPlayer(),1479,3,True) #Magic

skillCast(st.getPlayer(),1478,2,True) #Protection

 

skillCast(st.getPlayer(),1323,1,True) #Noblesse Blessing

 

htmltext = "4.htm"

 

#Custom Buffs

elif event == "402":

if adena < 0:

st.exitQuest(1)

return NotEnoughAdena

skillCast(st.getPlayer(),4346,4,True) #Clan Hall: Mental Shield

skillCast(st.getPlayer(),4342,2,True) #Clan Hall: Wind Walk

skillCast(st.getPlayer(),4343,3,True) #Clan Hall: Decrease Weight

skillCast(st.getPlayer(),4344,3,True) #Clan Hall: Shield

skillCast(st.getPlayer(),4345,3,True) #Clan Hall: Might

skillCast(st.getPlayer(),4349,2,True) #Clan Hall: Magic Barrier

skillCast(st.getPlayer(),4348,6,True) #Clan Hall: Blessed Soul

htmltext = "4.htm"

 

 

######################################

# Linked to 5.htm - Individual Buffs #

######################################

 

#Clan Hall: Wind Walk

elif event == "500":

htmltext = conditionalCast(st,st.getPlayer(),0,4342,2,"5.htm",True)

 

#Clan Hall: Acumen

elif event == "513":

htmltext = conditionalCast(st,st.getPlayer(),0,4355,3,"5.htm",True)

 

#Clan Hall: Empower

elif event == "514":

htmltext = conditionalCast(st,st.getPlayer(),0,4356,3,"5.htm",True)

 

#Clan Hall: Haste

elif event == "515":

htmltext = conditionalCast(st,st.getPlayer(),0,4357,2,"5.htm",True)

 

#Clan Hall: Guidance

elif event == "516":

htmltext = conditionalCast(st,st.getPlayer(),0,4358,3,"5.htm",True)

 

#Clan Hall: Wild Magic

elif event == "519":

htmltext = conditionalCast(st,st.getPlayer(),0,1303,2,"5.htm",True)

 

############################

# Linked to 7.htm - Chants #

############################

 

#Chant of Battle

elif event == "700":

htmltext = conditionalCast(st,st.getPlayer(),0,1007,3,"7.htm",True)

 

#Chant of Shielding

elif event == "701":

htmltext = conditionalCast(st,st.getPlayer(),0,1009,3,"7.htm",True)

 

#Chant of Fire

elif event == "702":

htmltext = conditionalCast(st,st.getPlayer(),0,1006,3,"7.htm",True)

 

#Flame Chant

elif event == "703":

htmltext = conditionalCast(st,st.getPlayer(),0,1002,3,"7.htm",True)

 

#Chant of Life

elif event == "704":

htmltext = conditionalCast(st,st.getPlayer(),0,1229,18,"7.htm",True)

 

#Chant of Fury

elif event == "705":

htmltext = conditionalCast(st,st.getPlayer(),0,1251,2,"7.htm",True)

 

#Chant of Evasion

elif event == "706":

htmltext = conditionalCast(st,st.getPlayer(),0,1252,2,"7.htm",True)

 

#Chant of Rage

elif event == "707":

htmltext = conditionalCast(st,st.getPlayer(),0,1253,3,"7.htm",True)

 

#Chant of Revenge

elif event == "708":

htmltext = conditionalCast(st,st.getPlayer(),0,1284,3,"7.htm",True)

 

#Chant of Vampire

elif event == "709":

htmltext = conditionalCast(st,st.getPlayer(),0,1310,4,"7.htm",True)

 

#Chant of Eagle

elif event == "710":

htmltext = conditionalCast(st,st.getPlayer(),0,1309,3,"7.htm",True)

 

#Chant of Predator

elif event == "711":

htmltext = conditionalCast(st,st.getPlayer(),0,1308,3,"7.htm",True)

 

#Chant of Spirit

elif event == "712":

htmltext = conditionalCast(st,st.getPlayer(),0,1362,1,"7.htm",True)

 

#Chant of Victory

elif event == "713":

htmltext = conditionalCast(st,st.getPlayer(),0,1363,1,"7.htm",True)

 

#Magnus' Chant

elif event == "714":

htmltext = conditionalCast(st,st.getPlayer(),0,1413,1,"7.htm",True)

 

#War Chant

elif event == "715":

htmltext = conditionalCast(st,st.getPlayer(),0,1390,3,"7.htm",True)

 

#Earth Chant

elif event == "716":

htmltext = conditionalCast(st,st.getPlayer(),0,1391,3,"7.htm",True)

 

#Chant of Magnus

elif event == "740":

htmltext = conditionalCast(st,st.getPlayer(),0,1413,1,"7.htm",True)

 

#Chant of Protection

elif event == "741":

htmltext = conditionalCast(st,st.getPlayer(),0,1461,1,"7.htm",True)

 

#All Chant

elif event == "742":

if adena < 0:

st.exitQuest(1)

return NotEnoughAdena

st.takeItems(ADENA_ID,360000)

skillCast(st.getPlayer(),1007,3,True)

skillCast(st.getPlayer(),1009,3,True)

skillCast(st.getPlayer(),1006,3,True)

skillCast(st.getPlayer(),1002,3,True)

skillCast(st.getPlayer(),1229,18,True)

skillCast(st.getPlayer(),1251,2,True)

skillCast(st.getPlayer(),1252,2,True)

skillCast(st.getPlayer(),1253,3,True)

skillCast(st.getPlayer(),1284,3,True)

skillCast(st.getPlayer(),1310,4,True)

skillCast(st.getPlayer(),1309,3,True)

skillCast(st.getPlayer(),1308,3,True)

skillCast(st.getPlayer(),1362,1,True)

skillCast(st.getPlayer(),1363,1,True)

skillCast(st.getPlayer(),1413,1,True)

skillCast(st.getPlayer(),1390,3,True)

skillCast(st.getPlayer(),1391,3,True)

skillCast(st.getPlayer(),1413,1,True)

skillCast(st.getPlayer(),1461,1,True)

htmltext = "7.htm"

 

#prophecy of Fire

elif event == "717":

htmltext = conditionalCast(st,st.getPlayer(),0,1356,1,"8.htm",True)

 

#Prophecy of Water

elif event == "718":

htmltext = conditionalCast(st,st.getPlayer(),0,1355,1,"8.htm",True)

 

#Prophecy of Wind

elif event == "719":

htmltext = conditionalCast(st,st.getPlayer(),0,1357,1,"8.htm",True)

 

##############################

# Linked to 10.htm - Summon  #

##############################

 

#Blessing of Queen

elif event == "720":

htmltext = conditionalCast(st,st.getPlayer(),0,4699,13,"10.htm",True)

 

#Gift of Queen

elif event == "721":

htmltext = conditionalCast(st,st.getPlayer(),0,4700,13,"10.htm",True)

 

#Blessing of Seraphim

elif event == "722":

htmltext = conditionalCast(st,st.getPlayer(),0,4702,13,"10.htm",True)

 

#Gift of Seraphim

elif event == "723":

htmltext = conditionalCast(st,st.getPlayer(),0,4703,13,"10.htm",True)

 

##############################

# Linked to 9.htm - Noblesse #

##############################

 

#Noblesse Blessing

elif event == "800":

htmltext = conditionalCast(st,st.getPlayer(),0,1323,1,"1.htm",True)

 

#Fortune of Noblesse

elif event == "801":

htmltext = conditionalCast(st,st.getPlayer(),0,1325,1,"9.htm",True)

 

#All Noblesse

elif event == "802":

if adena < 0:

st.exitQuest(1)

return NotEnoughAdena

st.takeItems(ADENA_ID,500000)

skillCast(st.getPlayer(),1323,1,True) #Noblesse Blessing

skillCast(st.getPlayer(),1325,1,True) #Fortune of Noblesse

htmltext = "9.htm"

 

#################################

# Linked to 11.htm - Hell Bound #

#################################

 

#Improve Combat

elif event == "900":

htmltext = conditionalCast(st,st.getPlayer(),0,1499,1,"11.htm",True)

 

#Improve Magic

elif event == "901":

htmltext = conditionalCast(st,st.getPlayer(),0,1500,1,"11.htm",True)

 

#Improve Condition

elif event == "902":

htmltext = conditionalCast(st,st.getPlayer(),0,1501,1,"11.htm",True)

 

#Improve Critical Attack

elif event == "903":

htmltext = conditionalCast(st,st.getPlayer(),0,1502,1,"11.htm",True)

 

#Improve Shield Defense

elif event == "904":

htmltext = conditionalCast(st,st.getPlayer(),0,1503,1,"11.htm",True)

 

#Improve Movement

elif event == "905":

htmltext = conditionalCast(st,st.getPlayer(),0,1504,1,"11.htm",True)

 

#Chant of Combat

elif event == "906":

htmltext = conditionalCast(st,st.getPlayer(),0,1517,1,"11.htm",True)

 

#Chant of Critical Attack

elif event == "907":

htmltext = conditionalCast(st,st.getPlayer(),0,1518,1,"11.htm",True)

 

#Improve Movement

elif event == "908":

htmltext = conditionalCast(st,st.getPlayer(),0,1519,1,"11.htm",True)

 

#All Noblesse

elif event == "909":

if adena < 0:

st.exitQuest(1)

return NotEnoughAdena

skillCast(st.getPlayer(),1499,1,True)

skillCast(st.getPlayer(),1500,1,True)

skillCast(st.getPlayer(),1501,1,True)

skillCast(st.getPlayer(),1502,1,True)

skillCast(st.getPlayer(),1503,1,True)

skillCast(st.getPlayer(),1504,1,True)

skillCast(st.getPlayer(),1517,1,True)

skillCast(st.getPlayer(),1518,1,True)

skillCast(st.getPlayer(),1519,1,True)

htmltext = "11.htm"

 

#################################

# Linked to 12.htm - Kamael     #

#################################

 

#Apetite

elif event == "910":

htmltext = conditionalCast(st,st.getPlayer(),0,1476,3,"12.htm",True)

 

#Vampiric

elif event == "911":

htmltext = conditionalCast(st,st.getPlayer(),0,1477,3,"12.htm",True)

 

#Protection

elif event == "912":

htmltext = conditionalCast(st,st.getPlayer(),0,1478,2,"12.htm",True)

 

#Magic

elif event == "913":

htmltext = conditionalCast(st,st.getPlayer(),0,1479,3,"12.htm",True)

 

#All Kamael

elif event == "914":

if adena < 0:

st.exitQuest(1)

return NotEnoughAdena

skillCast(st.getPlayer(),1476,3,True)

skillCast(st.getPlayer(),1477,3,True)

skillCast(st.getPlayer(),1478,2,True)

skillCast(st.getPlayer(),1479,3,True)

htmltext = "12.htm"

 

##############################

# Linked  - Cancel Buffs     #

##############################

 

#Cancel Buffs

if event == "1000":

st.getPlayer().stopAllEffects()

return "1.htm"

st.setState(COMPLETED)

return htmltext

############################

#Script Ended for the Buffs#

############################

 

if htmltext != event:

st.setState(COMPLETED)

st.exitQuest(1)

return htmltext

 

def onTalk (self,npc,player):

st = player.getQuestState(qn)

if not st : st = self.newQuestState(player)

st.setState(State.STARTED)

  return InitialHtml

 

QUEST       = Quest(QuestId,str(QuestId) + '_' + QuestName,QuestDesc)

 

for npcId in NPC:

QUEST.addStartNpc(npcId)

QUEST.addTalkId(npcId)

 

Where you see " * * * ", there were other buffs, I just deleted some so I can post it here

  • 0
Posted

its because of

 

############################################################################

# This gets all the targets for the skill (self, party, clan, ally, etc...)#

targets = skillInfo.getTargetList(player)

 

i'm searching for solution :) i need it too :D i'll post here if i find

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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.



  • Posts

    • MoMoProxy has updated more static residential proxies for USA location, anyone interested in can view: https://momoproxy.com/static-residential-proxies
    • This post originally appeared on MmoGah.   Dear Exiles, here's a detailed guide for Path of Exile 3.26 Gauntlet, tailored for beginners and focused on the top 5 builds that balance survivability, damage, and ease of gearing in the Hardcore Solo Self-Found (HCSSF) environment. This guide goes deep into mechanics, gear, leveling, and strategy—no fluff, just actionable insights.       What Is the Gauntlet in PoE 3.26? The Gauntlet is a community-run event, often organized by Zizaran, which pushes players into a brutal version of the game:   ● Hardcore Solo Self-Found (HCSSF): No trading, no partying, no outside help. ● Global Modifiers: Increased monster damage, life, elemental penetration, extra projectiles, and more. ● Limited Portals: Only 3 portals per boss kill count toward points. ● Custom Ascendancies: In 3.26, the Fishia League introduces new ascendancy classes like Ancestral Commander and Servant of Arakali.   The goal? Survive, level up, kill bosses, and earn points for prizes. But first, you need a build that won't crumble under pressure.   Top 5 Builds for Gauntlet Beginners These builds are chosen for their tankiness, simplicity, and ability to progress through the campaign and early maps with minimal gear.   1. Raise Zombie Puppeteer (Necromancer) Why It Works: Minions absorb damage, keeping you safe. Scales well with minimal gear. Strong bossing potential with high zombie levels.   Core Mechanics: Uses Raise Zombie as the main damage source. Strength stacking boosts zombie power. Animate Guardian adds utility and buffs.   Defensive Layers: Minions tank hits. Block chance from gear and passive tree. Energy shield and life stacking.   Leveling Tips: Use Summon Skeletons and Raise Zombie early. Prioritize +minion gem levels and strength gear. Transition to spectres and Animate Guardian by Act 5.   Pros: Safe, ranged playstyle. Easy to gear in SSF. Strong boss damage.   Cons: Minion AI can be clunky. Damage may taper off in the late game without investment.   2. Power Siphon Mines (Scavenger Saboteur) Why It Works: Ranged mine playstyle avoids direct damage. One-button mechanics for comfort. Fast leveling and strong suppression.   Core Mechanics: Power Siphon linked to mines for remote detonation. Uses High-Impact Mine Support and Minefield Support. Cloak of Flames for early damage scaling.   Defensive Layers: High evasion and suppression. Life stacking and stun immunity. Arctic Armor and Flesh and Stone for mitigation.   Leveling Tips: Start with Stormblast Mine or Explosive Trap. Switch to Power Siphon at level 28. Use Smoke Mine and Flame Dash for mobility.   Pros: Safe ranged playstyle. Low gear dependency. Comfortable mechanics.   Cons: Mines require setup. It can feel clunky without proper gem links.   3. Ice Nova Archmage (Hierophant) Why It Works: Combines Mind Over Matter (MoM) with mana stacking. Strong AoE and single-target damage. Good defenses and smooth leveling.   Core Mechanics: Ice Nova cast on Frostbolt for double damage. Archmage Support scales damage with mana. Hierophant ascendancy boosts mana and endurance charges.   Defensive Layers: MoM absorbs damage via mana. High armor and resistances. Chill and freeze for crowd control.   Leveling Tips: Start with Holy Flame Totem or Rolling Magma. Switch to Ice Nova after Act 3. Stack mana and use Clarity early.   Pros: Strong defenses and damage. Scales well into the endgame. Beginner-friendly caster setup.   Cons: Requires mana management. Squishy if not geared properly.   4. Explosive Arrow Ballista (Ancestral Commander) Why It Works: Totems do the work while you stay safe. Easy to gear and scale. Great for campaign progression.   Core Mechanics: Explosive Arrow linked to Ballista Totem Support. Totems stack arrows for massive explosions. Ancestral Commander ascendancy grants endurance charges and slam synergy.   Defensive Layers: Totems absorb aggro. High life and resistances. Fortify from gear or ascendancy.   Leveling Tips: Use Caustic Arrow or Split Arrow early. Switch to Explosive Arrow at level 28. Prioritize attack speed and totem placement.   Pros: Safe, passive playstyle. Strong single-target damage. Easy to respec and adapt.   Cons: Totem AI can be slow. Requires positioning for optimal damage.   5. Lightning Strike Daughter of Oshabi Why It Works: High energy shield and shrine buffs. Converts physical damage to chaos. Fast, clear, and strong bossing.   Core Mechanics: Lightning Strike with pure energy shield gear. Oath of the Magi node doubles armor defenses. Ghost Dance for ES sustain.   Defensive Layers: 10,000+ energy shield. Suppression and resist caps. Stun immunity and chaos conversion.   Leveling Tips: Use Smite or Molten Strike early. Transition to Lightning Strike with ES gear. Stack shrine buffs and movement speed.   Pros: Tanky and fast. Handles tier 17 maps. Good for face-tanking bosses.   Cons: Requires ES gear early. Shrine RNG can affect consistency.   Beginner Tips for Gauntlet Success Campaign Strategy: Overlevel before boss fights. Cap resistances ASAP. Use movement skills to dodge mechanics. Practice Acts 1, 4, and 9—they're deadly.   Gear Prioritization: Life and resistances > damage. Movement speed on boots. Vendor recipes for gear upgrades.   Flask Setup: 1 Instant Life Flask 1 Granite Flask 1 Jade Flask 1 Quicksilver Flask 1 Utility Flask (e.g., Sulphur or Basalt)   Passive Tree Tips: Prioritize life nodes early. Take suppression and block nodes. Avoid complex mechanics—simplicity wins.   Mapping and Bossing Strategy Mapping: Use fast-clearing skills. Avoid risky map mods. Keep portals in reserve.   Bossing: Learn boss mechanics. Use Sniper's Mark or Assassin's Mark. Position mercenaries or totems strategically.   Final Thoughts The Gauntlet is unforgiving, but with the right build and mindset, you can push deep into the event—even as a beginner. Focus on survivability, learn from each death, and don't be afraid to restart. Every run teaches you something new.
    • SocNet x Dolphin Anty Partnership — Reaching New Heights Together! We’re excited to announce our new partnership with the anti-detect browser Dolphin Anty! Thank you for your trust and support — it's because of you that we continue to grow, expand, and bring even more value and opportunities to our customers. This partnership with Dolphin Anty offers more convenience, security, and flexibility for your work and automation needs. Read more on Dolphin Anty’s official blog: https://dolphin-anty.com/blog/en/socnet-and-dolphin-anty/ We’re also looking for new suppliers! — Snapchat accounts — Reddit accounts with karma — LinkedIn accounts with connections Contact us via DM or support to discuss terms — we’re always open to partnership proposals! Explore our online store: ➡ Accounts: Telegram, Facebook, Reddit, Twitter (X), Instagram, YouTube, TikTok, Discord, VK, LinkedIn, GitHub, Snapchat, Gmail, and emails (Outlook, Firstmail, Rambler, Onet, Gazeta, GMX, Yahoo, Proton, Web.de), Google Voice, Google Ads ➡ Premium Subscriptions: Telegram Premium, Twitter X Premium, YouTube Premium, Spotify Premium, Netflix Premium, Discord Nitro, ChatGPT Plus/PRO, XBOX Game Pass ➡ Additional Services: Telegram Stars, proxies (IPv4, IPv6, ISP, Mobile), VPNs (Outline, WireGuard, others), VDS/RDP servers To celebrate the partnership, use promo code DOLPHIN15 for 15% off in our online store! SMM Panel Services: ➡ Use our SMM Panel to boost: Facebook, Instagram, Telegram, Spotify, SoundCloud, YouTube, Reddit, Threads, Kick, Discord, LinkedIn, Likee, VK, Twitch, Kwai, website traffic, TikTok, TrustPilot, Apple Music, TripAdvisor, Snapchat, and more. Get $1 Trial Credit for your first SMM Panel launch: Just submit a support ticket titled "Get Trial Bonus" on our website. ➡ Go to the SMM Panel (clickable) or contact support via bot. Our Key Products: ➡ Online Store: Click ➡ Telegram Store Bot: Click ➡ SMM Panel: Click Payment methods: bank cards · crypto · other popular methods Returning customers get extra discounts & promo codes! Support Contacts: ➡ Telegram: https://t.me/solomon_bog ➡ Discord: https://discord.gg/y9AStFFsrh ➡ WhatsApp: https://wa.me/79051904467 ➡ ✉ Email: solomonbog@socnet.store ➡ Telegram Channel: https://t.me/accsforyou_shop You can also use these contacts to: — consult about bulk purchases — propose partnerships (our partners: https://socnet.bgng.io/partners ) — become a supplier SocNet — Digital Goods & Premium Subscriptions Store
  • 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