item.solid = SOLID_NOT;\r
setmodel(item, e.model);\r
item.health = e.health;\r
- item.inithealth = e.health;\r
+ if(e.inithealth)\r
+ {\r
+ item.inithealth = e.inithealth;\r
+ item.initdmg = e.initdmg;\r
+ }\r
+ else\r
+ {\r
+ item.inithealth = e.health;\r
+ item.initdmg = e.dmg;\r
+ }\r
item.max_health = e.max_health;\r
- item.initdmg = e.dmg;\r
\r
item.predator = pl;\r
item.aiment = pl;\r
setmodel(item, e.model);\r
item.health = e.health;\r
item.inithealth = e.inithealth;\r
- item.max_health = e.max_health;\r
item.initdmg = e.initdmg;\r
+ item.max_health = e.max_health;\r
item.scale = e.scale;\r
item.colormod = e.colormod;\r
\r