{"Builder", "self"},
{"Can_NsPemit", "levchk"},
{"Cemit", "self"},
- {"Chat", "self"},
+ {"Chat", "levchk"},
{"Chown", "levchk"},
{"Combat", "levchk"},
{"Cron", "self"},
power = add_power_type(arg_left, powc_list[i].name);
notify_format(player, "Added power '%s' as a '%s' type power.",
power->name, powc_list[i].name);
+ /* Ok.. they added the power, they should get it themself.. At its max level */
+ RESET_POWER(player, power);
+ GIVE_DPBIT(player, power->flag_yes);
+ GIVE_DPBIT(player, power->flag_lte);
+ GIVE_DPBIT(player, power->flag_lt);
+
} else
notify(player, "Invalid Type.");
} else
notify(player, "No point adding a power that already exists.");
- } else if (SW_ISSET(sw, SWITCH_DELETE) && Site(player)) {
+ } else if (SW_ISSET(sw, SWITCH_DELETE) && Site(player) && Prived(player)) {
/* This should handle deleting both aliases & powers */
if (arg_left && *arg_left) {
power = (POWER *) ptab_find_exact(ps_tab.powers, arg_left);