Open jpfed opened 14 years ago
Powers should know what class they are. Don't use hasTeleport; use inventory[TeleportPower]. When displaying powers, use inventory[power] to determine whether that power should be displayed in the first place.
Powers should know what class they are. Don't use hasTeleport; use inventory[TeleportPower]. When displaying powers, use inventory[power] to determine whether that power should be displayed in the first place.