PDA

View Full Version : [Guide] How to Change Npc Buffers Adena Price/recieve Level/Return Html


eKo
11-26-2007, 01:18 PM
#Victories of Pa'agrio
if event == "71":
st.takeitems(ADENA_ID,20000)
st.getPlayer().useMagic(SkillTable.getinstance().g etinfo(1414,1),False,False)
st.getPlayer().setCurrentMp(st.getPlayer().getMaxM p())
return "8.htm"
st.setState(COMPLETED)


st.takeitems(ADENA_ID,20000) ~ 20000 "Adena Price"
it can be changed to any price

st.getPlayer().getLevel() < 40 :
st.getPlayer().getLevel() < 40 : ~ 40 "is the lvl you need to be able to get buffs can be changed to 1-80"


#Heal
if event == "72":
st.takeItems(ADENA_ID,20000)
st.getPlayer().restoreHP()
return "1.htm"
st.setState(COMPLETED)
Return html can be changed to any html you want from you buffer if you have an annoying problemm that htmlreturns after every buff to main page you can change it easy here

This File can be found at your npc buffer under :

__init__.py

not much but it may help someone here ;)