WhippedButter
New member
Hi Guys.
So I'm using my own Weapon Template Shell as a Usable Item Prefab which will take in the Item Attributes from the Item Database, then send the values to my own Item List.
When using Smart Exchange Drag and Drop or Equip Item Action, It looks like the item attributes start to blend into each other? I've attached a video file below.
So essentially what I have in my item attribute list is a projectile prefab gameobject for the fireball staff which is essentially a fireball gameobject that flings out during an attack. When equipping another item to the same slot, the Projectile Prefab appears to stay as the fireball for a weapon that has a different gameobject assignment. What will also sometimes happen is that the previous item's attributes will copy into the next item's attributes overriding it.
EI. if my current weapon is the fireball staff, if I equip an ice sword with ice damage on it, it'll inherit all of the values of the fireball staff and lose it's ice damage, and when I unequip the ice sword, it'll stay as the fireball staff. The ice sword that had it's attributes mixed with the fireball staff will auto correct itself if I find another ice sword allowing me to equip the correct ice sword stats to my weapon template.
In the video, projectile 4 is the fireball where as the default projectile prefab for all weapons is the weaponblank for ease of view.
So I'm using my own Weapon Template Shell as a Usable Item Prefab which will take in the Item Attributes from the Item Database, then send the values to my own Item List.
When using Smart Exchange Drag and Drop or Equip Item Action, It looks like the item attributes start to blend into each other? I've attached a video file below.
So essentially what I have in my item attribute list is a projectile prefab gameobject for the fireball staff which is essentially a fireball gameobject that flings out during an attack. When equipping another item to the same slot, the Projectile Prefab appears to stay as the fireball for a weapon that has a different gameobject assignment. What will also sometimes happen is that the previous item's attributes will copy into the next item's attributes overriding it.
EI. if my current weapon is the fireball staff, if I equip an ice sword with ice damage on it, it'll inherit all of the values of the fireball staff and lose it's ice damage, and when I unequip the ice sword, it'll stay as the fireball staff. The ice sword that had it's attributes mixed with the fireball staff will auto correct itself if I find another ice sword allowing me to equip the correct ice sword stats to my weapon template.
In the video, projectile 4 is the fireball where as the default projectile prefab for all weapons is the weaponblank for ease of view.