192 lines
4.7 KiB
Lua
192 lines
4.7 KiB
Lua
function get_module_name()
|
|
return "ETC_Pieces"
|
|
end
|
|
|
|
function piece_init(pID)
|
|
|
|
if pID > 0 then
|
|
|
|
-- //START ALTERED (DURA) PIECES
|
|
if pID == 910064 then -- Healthy
|
|
cprint("<b>Your pet main pet has also received this buff")
|
|
add_state(9931,1,720000)
|
|
add_cstate(9931,1,720000)
|
|
end
|
|
|
|
if pID == 910065 then -- Spiritual
|
|
cprint("<b>Your pet main pet has also received this buff")
|
|
add_state(9932,1,720000)
|
|
add_cstate(9931,1,720000)
|
|
end
|
|
|
|
if pID == 910066 then -- Rapid
|
|
cprint("<b>Your pet main pet has also received this buff")
|
|
add_state(9933,1,720000)
|
|
add_cstate(9933,1,720000)
|
|
end
|
|
|
|
if pID == 910067 then -- Sturdy
|
|
cprint("<b>Your pet main pet has also received this buff")
|
|
add_state(9934,1,720000)
|
|
add_cstate(9934,1,720000)
|
|
end
|
|
|
|
if pID == 910068 then -- Eager
|
|
cprint("<b>Your pet main pet has also received this buff")
|
|
add_state(9935,1,720000)
|
|
add_cstate(9935,1,720000)
|
|
end
|
|
|
|
if pID == 910069 then -- Armored
|
|
cprint("<b>Your pet main pet has also received this buff")
|
|
add_state(9936,1,720000)
|
|
add_cstate(9936,1,720000)
|
|
end
|
|
|
|
if pID == 910070 then -- Devoted
|
|
cprint("<b>Your pet main pet has also received this buff")
|
|
add_state(9937,1,720000)
|
|
add_cstate(9937,1,720000)
|
|
end
|
|
|
|
if pID == 910071 then -- Savage
|
|
cprint("<b>Your pet main pet has also received this buff")
|
|
add_state(9938,1,720000)
|
|
add_cstate(9938,1,720000)
|
|
end
|
|
|
|
if pID == 910072 then -- Resilient
|
|
cprint("<b>Your pet main pet has also received this buff")
|
|
add_state(9939,1,720000)
|
|
add_cstate(9939,1,720000)
|
|
end
|
|
|
|
if pID == 910073 then -- Forceful
|
|
cprint("<b>Your pet main pet has also received this buff")
|
|
add_state(9940,1,720000)
|
|
add_cstate(9940,1,720000)
|
|
end
|
|
|
|
if pID == 910074 then -- Fiendish
|
|
cprint("<b>Your pet main pet has also received this buff")
|
|
add_state(9941,1,720000)
|
|
add_cstate(9941,1,720000)
|
|
end
|
|
|
|
if pID == 910075 then -- Polished
|
|
cprint("<b>Your pet main pet has also received this buff")
|
|
add_state(9942,1,720000)
|
|
add_cstate(9942,1,720000)
|
|
end
|
|
|
|
if pID == 910076 then -- Ardent
|
|
cprint("<b>Your pet main pet has also received this buff")
|
|
add_state(9943,1,720000)
|
|
add_cstate(9943,1,720000)
|
|
end
|
|
--//END DURA PIECES
|
|
|
|
--//START Purified Pieces
|
|
if pID == 930000 then -- Strength
|
|
add_cstate(9904,1,720000)
|
|
cprint("<b>Your pet main pet has also received this buff")
|
|
end
|
|
|
|
if pID == 930001 then -- Vitality
|
|
add_cstate(9905,1,720000)
|
|
cprint("<b>Your pet main pet has also received this buff")
|
|
end
|
|
|
|
if pID == 930002 then -- Dex
|
|
add_cstate(9906,1,720000)
|
|
cprint("<b>Your pet main pet has also received this buff")
|
|
end
|
|
|
|
if pID == 930003 then -- Agility
|
|
add_cstate(9907,1,720000)
|
|
cprint("<b>Your pet main pet has also received this buff")
|
|
end
|
|
|
|
if pID == 930004 then -- Intelligence
|
|
add_cstate(9908,1,720000)
|
|
cprint("<b>Your pet main pet has also received this buff")
|
|
end
|
|
|
|
if pID == 930005 then -- Wisdom
|
|
add_cstate(9909,1,720000)
|
|
cprint("<b>Your pet main pet has also received this buff")
|
|
end
|
|
|
|
--//END Purified Pieces
|
|
|
|
--//START Explorer's Altered Pieces
|
|
|
|
if pID == 930071 then
|
|
add_cstate(9910,1,720000)
|
|
cprint("<b>Your pet main pet has also received this buff")
|
|
end
|
|
|
|
if pID == 930072 then
|
|
add_cstate(9911,1,720000)
|
|
cprint("<b>Your pet main pet has also received this buff")
|
|
end
|
|
|
|
if pID == 930073 then
|
|
add_cstate(9911,1,720000)
|
|
cprint("<b>Your pet main pet has also received this buff")
|
|
end
|
|
|
|
if pID == 930074 then
|
|
add_cstate(9912,1,720000)
|
|
cprint("<b>Your pet main pet has also received this buff")
|
|
end
|
|
|
|
if pID == 930075 then
|
|
add_cstate(9913,1,720000)
|
|
cprint("<b>Your pet main pet has also received this buff")
|
|
end
|
|
|
|
if pID == 930076 then
|
|
add_cstate(9914,1,720000)
|
|
cprint("<b>Your pet main pet has also received this buff")
|
|
end
|
|
|
|
--//END Explorer's Altered Pieces
|
|
|
|
--//START Altered Pieces
|
|
|
|
if pID == 910030 then
|
|
add_cstate(9910,1,720000)
|
|
cprint("<b>Your pet main pet has also received this buff")
|
|
end
|
|
|
|
if pID == 910031 then
|
|
add_cstate(9911,1,720000)
|
|
cprint("<b>Your pet main pet has also received this buff")
|
|
end
|
|
|
|
if pID == 910032 then
|
|
add_cstate(9912,1,720000)
|
|
cprint("<b>Your pet main pet has also received this buff")
|
|
end
|
|
|
|
if pID == 910033 then
|
|
add_cstate(9913,1,720000)
|
|
cprint("<b>Your pet main pet has also received this buff")
|
|
end
|
|
|
|
if pID == 910034 then
|
|
add_cstate(9914,1,720000)
|
|
cprint("<b>Your pet main pet has also received this buff")
|
|
end
|
|
|
|
if pID == 910035 then
|
|
add_cstate(9915,1,720000)
|
|
cprint("<b>Your pet main pet has also received this buff")
|
|
end
|
|
|
|
--//END Altered Pieces
|
|
end
|
|
|
|
end
|