#include <server/miscfunctions.qh>
#include <server/items.qh>
#include <server/resources.qh>
+#include <common/mapobjects/triggers.qh>
#include <common/weapons/_all.qh>
spawnfunc(target_items);
SetResourceAmount(actor, RESOURCE_PLASMA, start_ammo_plasma);
SetResourceAmount(actor, RESOURCE_FUEL, start_ammo_fuel);
- actor.weapons = start_weapons;
+ STAT(WEAPONS, actor) = start_weapons;
if (this.spawnflags & 32)
{
// TODO
{
actor.strength_finished = 0;
actor.invincible_finished = 0;
- actor.buffs = 0;
+ STAT(BUFFS, actor) = 0;
}
if (!(this.spawnflags & 16))