/* $Id: psionics.h,v 1.666 2004/09/20 10:49:52 shrike Exp $ */ /************************************************************************************ * Copyright 2004 Astrum Metaphora consortium * * * * Licensed under the Apache License, Version 2.0 (the "License"); * * you may not use this file except in compliance with the License. * * You may obtain a copy of the License at * * * * http://www.apache.org/licenses/LICENSE-2.0 * * * * Unless required by applicable law or agreed to in writing, software * * distributed under the License is distributed on an "AS IS" BASIS, * * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * See the License for the specific language governing permissions and * * limitations under the License. * * * ************************************************************************************/ /* #define MIND_BLANK 0 #define THOUGHT_SHIELD 1 #define MENTAL_BARRIER 2 #define INTELLECT_FORTRESS 3 #define TOWER_OF_IRON_WILL 4 #define MIND_THRUST 0 #define EGO_WHIP 1 #define ID_INSINUATION 2 #define PSYCHIC_CRUSH 3 #define PSIONIC_BLAST 4 */ int power_score (CHAR_DATA *ch, int sn); int power_check (CHAR_DATA *ch, int sn); bool psychic_contest (CHAR_DATA *ch, CHAR_DATA *victim, int sn); bool is_contacted (CHAR_DATA *ch, CHAR_DATA *victim); bool add_contact (CHAR_DATA *ch, CHAR_DATA *victim); void remove_contact (CHAR_DATA *ch, CHAR_DATA *victim); void free_contacts (CHAR_DATA *ch); bool has_discipline (CHAR_DATA * ch, flag32_t disc); CHAR_DATA *Contacted (CHAR_DATA *ch); int psp_max (CHAR_DATA *ch); int psionic_level (CHAR_DATA *ch);