X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fweapons%2Fweapon%2Fvaporizer.qh;h=f87a800a921aeeba42b06d248cbb16e303559472;hb=af43b181a15f348a4de2045b716ebc7765ce8f9f;hp=ea9f8dd2ba60db6a8452b088e424e5ed0d976046;hpb=6860495bd0cb15353c11be01ad03f052c34b9536;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/weapons/weapon/vaporizer.qh b/qcsrc/common/weapons/weapon/vaporizer.qh index ea9f8dd2b..f87a800a9 100644 --- a/qcsrc/common/weapons/weapon/vaporizer.qh +++ b/qcsrc/common/weapons/weapon/vaporizer.qh @@ -2,7 +2,7 @@ CLASS(Vaporizer, Weapon) /* spawnfunc */ ATTRIB(Vaporizer, m_canonical_spawnfunc, string, "weapon_vaporizer"); -/* ammotype */ ATTRIB(Vaporizer, ammo_type, int, RESOURCE_CELLS); +/* ammotype */ ATTRIB(Vaporizer, ammo_type, int, RES_CELLS); /* impulse */ ATTRIB(Vaporizer, impulse, int, 7); /* flags */ ATTRIB(Vaporizer, spawnflags, int, WEP_FLAG_RELOADABLE | WEP_FLAG_CANCLIMB | WEP_FLAG_SUPERWEAPON | WEP_TYPE_HITSCAN | WEP_FLAG_NODUAL); /* rating */ ATTRIB(Vaporizer, bot_pickupbasevalue, float, 10000); @@ -22,7 +22,8 @@ CLASS(Vaporizer, Weapon) BEGIN(class) \ P(class, prefix, ammo, float, PRI) \ P(class, prefix, animtime, float, PRI) \ - P(class, prefix, damage, float, PRI) \ + P(class, prefix, damage, float, PRI) \ + P(class, prefix, force, float, PRI) \ P(class, prefix, refire, float, PRI) \ P(class, prefix, ammo, float, SEC) \ P(class, prefix, animtime, float, SEC) \ @@ -30,6 +31,7 @@ CLASS(Vaporizer, Weapon) P(class, prefix, delay, float, SEC) \ P(class, prefix, edgedamage, float, SEC) \ P(class, prefix, force, float, SEC) \ + P(class, prefix, force_zscale, float, SEC) \ P(class, prefix, lifetime, float, SEC) \ P(class, prefix, radius, float, SEC) \ P(class, prefix, refire, float, SEC) \