<item id="6107" name="simon special'staff">
<attribute key="description" value="It is special weapon for Vip'Players."/>
<attribute key="weight" value="2550"/>
<attribute key="weaponType" value="wand"/>
<attribute key="shootType" value="energy"/>
<attribute key="range" value="7"/>
</item>
<item id="7735" article="the" name="star special'staff">
<attribute key="description" value="It is special weapon for Vip'Players."/>
<attribute key="weight" value="2300"/>
<attribute key="weaponType" value="rod"/>
<attribute key="shootType" value="holy"/>
<attribute key="range" value="7"/>
</item>
<item id="7958" article="a" name="jester special'staff">
<attribute key="description" value="It is special weapon for Vip'Players."/>
<attribute key="weight" value="2700"/>
<attribute key="weaponType" value="wand"/>
<attribute key="shootType" value="fire"/>
<attribute key="range" value="7"/>
</item>
<talkaction words="!vipstaff" script="others/vipstaff.lua"/>
<talkaction words="!vipwand" script="others/vipwand.lua"/>
<talkaction words="!viprod" script="others/viprod.lua"/>
function onSay(cid, words, param)
if doPlayerRemoveItem(cid,6107,1) then
doPlayerAddItem(cid,7958,1)
doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MORTAREA)
doCreatureSay(cid, "You created the Jester Special'Staff", TALKTYPE_ORANGE_1)
else
doPlayerSendCancel(cid, 'You don\'t have a Vip Weapon.')
doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF)
end
return true
end
function onSay(cid, words, param)
if doPlayerRemoveItem(cid,6107,1) then
doPlayerAddItem(cid,7735,1)
doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MORTAREA)
doCreatureSay(cid, "You created the Star Special'Staff", TALKTYPE_ORANGE_1)
else
doPlayerSendCancel(cid, 'You don\'t have a Vip Weapon.')
doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF)
end
return true
end
function onSay(cid, words, param)
if doPlayerRemoveItem(cid,7735,1) or doPlayerRemoveItem(cid,7958,1) == TRUE then
doPlayerAddItem(cid,6107,1)
doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MORTAREA)
doCreatureSay(cid, "You reset your Vip'Weapon to Simon Special'Staff", TALKTYPE_ORANGE_1)
else
doPlayerSendCancel(cid, 'You don\'t have a Vip Weapon.')
doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF)
end
return true
end
<wand id="7735" level="85" mana="35" min="100" max="155" type="holy" event="function" value="default"> <!-- Underworld Rod -->
<vocation id="2"/>
</wand>
<wand id="7958" level="85" mana="35" min="100" max="155" type="fire" event="function" value="default"> <!-- Wand of Voodoo -->
<vocation id="1"/>
</wand>
<wand id="6107" level="85" mana="35" min="100" max="155" type="energy" event="function" value="default"> <!-- Underworld Rod -->
<vocation id="1"/>
<vocation id="2"/>
</wand>