View Single Post
  #12  
Old 01-22-2011, 09:23 PM
MrOmega MrOmega is offline
One More Time
MrOmega's Avatar
Join Date: Aug 2010
Location: TN, USA
Posts: 631
MrOmega is an unknown quantity at this point
Send a message via AIM to MrOmega Send a message via MSN to MrOmega Send a message via Yahoo to MrOmega
My method to handling is a tad different. I use -sword system which handles slicing/charging/spining/updating tiles, but I have individual sword weapons. When a player selects a sword I trigger a function serverside of the sword weapon which handles the stat modifiers and sets a clientr val with the sword name/sword image/inventory position. When player selects another sword I find the sword the player has by a clientr value I set, then after it returns the mods to normal then update the clientr val and then trigger the mods in the new sword.
__________________
Time is the fire in which we burn...
Up, Up, Down, Down, Left, Right, Left, Right, B, A, Select, Start! Now I got 99 LIVES!!!
Reply With Quote