BYOND Version: 414.979
Operating System: Windows XP
Web Browser: Internet Explorer 7
Game/Hub(s): hub://
Video Card (for graphics bugs):
Descriptive Problem Summary: When an obj is made into a subcategory, another obj in the same sub-category may pass down it's characteristics.
Numbered Steps to Reproduce Problem: Make an obj with characteristics, make the next. Badda-bing-badda-boom.
Code Snippet (if applicable) to Reproduce Problem:
obj/projectile // Using a projectile subtype so
// similar objects like bullets,
// arrows, or darts can be added easily.
Aqua_Undo
//blah blah blah
Bump(atom/A)
if(ismob(A))
if(shooter.hp <= shooter.mhp-7)
shooter.hp += 7
var/mob/victim=A
view(A)<<"[shooter] hit [victim]!"
victim.hp -= 15
victim.Deathcheck()
view(shooter)<<"[shooter] drinks some water that comes off from his spell!"
else
var/mob/victim=A
view(A)<<"[shooter] hit [victim]!"
victim.hp -= 15
else
view(A)<<"[shooter]'s spell missed their intended target and hit [A]!"
obj/projectile // Using a projectile subtype so
// similar objects like bullets,
// arrows, or darts can be added easily.
Calx
//blah blah blah
Bump(atom/A)
if(ismob(A))
var/mob/victim=A
view(A)<<"[shooter] hit [victim]!"
victim.hp -= 15
victim.Deathcheck()
else
view(A)<<"[shooter]'s spell missed their intended target and hit [A]!"
obj/projectile // Using a projectile subtype so
// similar objects like bullets,
// arrows, or darts can be added easily.
Aero
//blah blah blah
Bump(atom/A)
if(ismob(A))
var/mob/victim=A
view(A)<<"[shooter] hit [victim]!"
step(victim, shooter.dir)
victim.hp -= 15
victim.Deathcheck()
else
view(A)<<"[shooter]'s spell missed their intended target and hit [A]!"
Expected Results: That each spell used will have their own chararteristics.
Actual Results: Each spell has the chararacteristics listed plus Aero's step().
Does the problem occur:
Every time? Or how often? Every time
In other games? Uknown
On other computers? Unknown
In other user accounts? Unknown
When does the problem NOT occur? When you make it move on
Workarounds: Make a new obj that does basically nothing that is in the sub-category.
Other Information: It is unknown to me if this works with all objs since I've only tried it with projectiles.
EDIT: I ahve recently discovered that characteristics are shared even if there is no subtype.
Edit: