📄 const.c
字号:
"weaken", { 7, 37, 37, 37, 37 },
spell_weaken, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
NULL, SLOT(68), 20, 12,
"spell", "You feel stronger."
},
{
"word of recall", { 37, 37, 37, 37, 37 },
spell_word_of_recall, TAR_CHAR_SELF, POS_RESTING,
NULL, SLOT(42), 5, 12,
"", "!Word of Recall!"
},
/*
* Dragon breath
*/
{
"acid breath", { 33, 37, 37, 37, 37 },
spell_acid_breath, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
NULL, SLOT(200), 0, 4,
"blast of acid", "!Acid Breath!"
},
{
"fire breath", { 34, 37, 37, 37, 37 },
spell_fire_breath, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
NULL, SLOT(201), 0, 4,
"blast of flame", "!Fire Breath!"
},
{
"frost breath", { 31, 37, 37, 37, 37 },
spell_frost_breath, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
NULL, SLOT(202), 0, 4,
"blast of frost", "!Frost Breath!"
},
{
"gas breath", { 35, 37, 37, 37, 37 },
spell_gas_breath, TAR_IGNORE, POS_FIGHTING,
NULL, SLOT(203), 0, 4,
"blast of gas", "!Gas Breath!"
},
{
"lightning breath", { 32, 37, 37, 37, 37 },
spell_lightning_breath, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
NULL, SLOT(204), 0, 4,
"blast of lightning", "!Lightning Breath!"
},
/*
* Fighter and thief skills.
*/
{
"backstab", { 37, 37, 1, 37, 37 },
spell_null, TAR_IGNORE, POS_STANDING,
&gsn_backstab, SLOT( 0), 0, 24,
"backstab", "!Backstab!"
},
{
"disarm", { 37, 37, 10, 37, 37 },
spell_null, TAR_IGNORE, POS_FIGHTING,
&gsn_disarm, SLOT( 0), 0, 24,
"", "!Disarm!"
},
{
"dodge", { 37, 37, 1, 37, 37 },
spell_null, TAR_IGNORE, POS_FIGHTING,
&gsn_dodge, SLOT( 0), 0, 0,
"", "!Dodge!"
},
{
"enhanced damage", { 37, 37, 37, 1, 37 },
spell_null, TAR_IGNORE, POS_FIGHTING,
&gsn_enhanced_damage, SLOT( 0), 0, 0,
"", "!Enhanced Damage!"
},
{
"hide", { 37, 37, 1, 37, 37 },
spell_null, TAR_IGNORE, POS_RESTING,
&gsn_hide, SLOT( 0), 0, 12,
"", "!Hide!"
},
{
"kick", { 37, 37, 37, 1, 37 },
spell_null, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
&gsn_kick, SLOT( 0), 0, 8,
"kick", "!Kick!"
},
{
"parry", { 37, 37, 37, 1, 37 },
spell_null, TAR_IGNORE, POS_FIGHTING,
&gsn_parry, SLOT( 0), 0, 0,
"", "!Parry!"
},
{
"peek", { 37, 37, 1, 37, 37 },
spell_null, TAR_IGNORE, POS_STANDING,
&gsn_peek, SLOT( 0), 0, 0,
"", "!Peek!"
},
{
"pick lock", { 37, 37, 1, 37, 37 },
spell_null, TAR_IGNORE, POS_STANDING,
&gsn_pick_lock, SLOT( 0), 0, 12,
"", "!Pick!"
},
{
"rescue", { 37, 37, 37, 1, 37 },
spell_null, TAR_IGNORE, POS_FIGHTING,
&gsn_rescue, SLOT( 0), 0, 12,
"", "!Rescue!"
},
{
"second attack", { 37, 37, 1, 1, 37 },
spell_null, TAR_IGNORE, POS_FIGHTING,
&gsn_second_attack, SLOT( 0), 0, 0,
"", "!Second Attack!"
},
{
"sneak", { 37, 37, 1, 37, 37 },
spell_null, TAR_IGNORE, POS_STANDING,
&gsn_sneak, SLOT( 0), 0, 12,
"", NULL
},
{
"steal", { 37, 37, 1, 37, 37 },
spell_null, TAR_IGNORE, POS_STANDING,
&gsn_steal, SLOT( 0), 0, 24,
"", "!Steal!"
},
{
"third attack", { 37, 37, 37, 1, 37 },
spell_null, TAR_IGNORE, POS_FIGHTING,
&gsn_third_attack, SLOT( 0), 0, 0,
"", "!Third Attack!"
},
/*
* Spells for mega1.are from Glop/Erkenbrand.
*/
{
"general purpose", { 37, 37, 37, 37, 37 },
spell_general_purpose, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
NULL, SLOT(205), 0, 12,
"general purpose ammo", "!General Purpose Ammo!"
},
{
"high explosive", { 37, 37, 37, 37, 37 },
spell_high_explosive, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
NULL, SLOT(206), 0, 12,
"high explosive ammo", "!High Explosive Ammo!"
},
/*
* Psionicist spell/skill definitions
* Psi class conceived, created, and coded by Thelonius (EnvyMud)
*/
{
"adrenaline control", { 37, 37, 37, 37, 10 },
spell_adrenaline_control, TAR_CHAR_SELF, POS_STANDING,
NULL, SLOT(500), 6, 12,
"", "The adrenaline rush wears off."
},
{
"agitation", { 37, 37, 37, 37, 6 },
spell_agitation, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
NULL, SLOT(501), 10, 12,
"agitation", "!Agitation!"
},
{
"aura sight", { 37, 37, 37, 37, 14 },
spell_aura_sight, TAR_CHAR_DEFENSIVE, POS_STANDING,
NULL, SLOT(502), 9, 12,
"", "!Aura Sight!"
},
{
"awe", { 37, 37, 37, 37, 21 },
spell_awe, TAR_CHAR_DEFENSIVE, POS_FIGHTING,
NULL, SLOT(503), 35, 12,
"", "!Awe!"
},
{
"ballistic attack", { 37, 37, 37, 37, 1 },
spell_ballistic_attack, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
NULL, SLOT(504), 5, 12,
"ballistic attack", "!Ballistic Attack!"
},
{
"biofeedback", { 37, 37, 37, 37, 18 },
spell_biofeedback, TAR_CHAR_SELF, POS_STANDING,
NULL, SLOT(505), 75, 12,
"", "Your biofeedback is no longer effective."
},
{
"cell adjustment", { 37, 37, 37, 37, 11 },
spell_cell_adjustment, TAR_CHAR_SELF, POS_STANDING,
NULL, SLOT(506), 8, 12,
"", "!Cell Adjustment!"
},
{
"chameleon power", { 37, 37, 37, 37, 6 },
spell_null, TAR_IGNORE, POS_STANDING,
&gsn_chameleon, SLOT(507), 0, 12,
"", "!Chameleon Power!"
},
{
"combat mind", { 37, 37, 37, 37, 15 },
spell_combat_mind, TAR_CHAR_DEFENSIVE, POS_STANDING,
NULL, SLOT(508), 15, 12,
"", "Your battle sense has faded."
},
{
"complete healing", { 37, 37, 37, 37, 28 },
spell_complete_healing, TAR_CHAR_SELF, POS_STANDING,
NULL, SLOT(509), 100, 12,
"", "!Complete Healing!"
},
{
"control flames", { 37, 37, 37, 37, 8 },
spell_control_flames, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
NULL, SLOT(510), 15, 12,
"tongue of flame", "!Control Flames!"
},
{
"create sound", { 37, 37, 37, 37, 2 },
spell_create_sound, TAR_CHAR_DEFENSIVE, POS_STANDING,
NULL, SLOT(511), 5, 12,
"", "!Create Sound!"
},
{
"death field", { 37, 37, 37, 37, 30 },
spell_death_field, TAR_IGNORE, POS_FIGHTING,
NULL, SLOT(512), 200, 18,
"field of death", "!Death Field!"
},
{
"detonate", { 37, 37, 37, 37, 20 },
spell_detonate, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
NULL, SLOT(513), 35, 24,
"detonation", "!Detonate!"
},
{
"disintegrate", { 37, 37, 37, 37, 27 },
spell_disintegrate, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
NULL, SLOT(514), 150, 18,
"disintegration", "!Disintegrate!"
},
{
"displacement", { 37, 37, 37, 37, 9 },
spell_displacement, TAR_CHAR_SELF, POS_STANDING,
NULL, SLOT(515), 10, 12,
"", "You are no longer displaced."
},
{
"domination", { 37, 37, 37, 37, 16 },
spell_domination, TAR_CHAR_OFFENSIVE, POS_STANDING,
&gsn_domination, SLOT(516), 5, 12,
"", "You regain control of your body."
},
{
"ectoplasmic form", { 37, 37, 37, 37, 19 },
spell_ectoplasmic_form, TAR_CHAR_SELF, POS_STANDING,
NULL, SLOT(517), 20, 12,
"", "You feel solid again."
},
{
"ego whip", { 37, 37, 37, 37, 13 },
spell_ego_whip, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
NULL, SLOT(518), 20, 12,
"", "You feel more confident."
},
{
"energy containment", { 37, 37, 37, 37, 10 },
spell_energy_containment, TAR_CHAR_SELF, POS_STANDING,
NULL, SLOT(519), 10, 12,
"", "You no longer absorb energy."
},
{
"enhance armor", { 37, 37, 37, 37, 15 },
spell_enhance_armor, TAR_OBJ_INV, POS_STANDING,
NULL, SLOT(520), 100, 24,
"", "!Enhance Armor!"
},
{
"enhanced strength", { 37, 37, 37, 37, 7 },
spell_enhanced_strength, TAR_CHAR_SELF, POS_STANDING,
NULL, SLOT(521), 20, 12,
"", "You no longer feel so HUGE."
},
{
"flesh armor", { 37, 37, 37, 37, 11 },
spell_flesh_armor, TAR_CHAR_SELF, POS_STANDING,
NULL, SLOT(522), 15, 12,
"", "Your skin returns to normal."
},
{
"heighten senses", { 37, 37, 37, 37, 3 },
spell_null, TAR_CHAR_SELF, POS_STANDING,
&gsn_heighten, SLOT(523), 0, 0,
"", "Your senses return to normal."
},
{
"inertial barrier", { 37, 37, 37, 37, 19 },
spell_inertial_barrier, TAR_IGNORE, POS_STANDING,
NULL, SLOT(524), 40, 24,
"", "Your inertial barrier dissipates."
},
{
"inflict pain", { 37, 37, 37, 37, 5 },
spell_inflict_pain, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
NULL, SLOT(525), 10, 12,
"mindpower", "!Inflict Pain!"
},
{
"intellect fortress", { 37, 37, 37, 37, 12 },
spell_intellect_fortress, TAR_IGNORE, POS_STANDING,
NULL, SLOT(526), 25, 24,
"", "Your intellectual fortress crumbles."
},
{
"lend health", { 37, 37, 37, 37, 10 },
spell_lend_health, TAR_CHAR_DEFENSIVE, POS_STANDING,
NULL, SLOT(527), 10, 12,
"", "!Lend Health!"
},
{
"levitation", { 37, 37, 37, 37, 3 },
spell_levitation, TAR_CHAR_DEFENSIVE, POS_STANDING,
NULL, SLOT(528), 10, 18,
"", "You slowly float to the ground."
},
{
"mental barrier", { 37, 37, 37, 37, 6 },
spell_mental_barrier, TAR_CHAR_SELF, POS_STANDING,
NULL, SLOT(529), 8, 12,
"", "Your mental barrier breaks down."
},
{
"mind thrust", { 37, 37, 37, 37, 2 },
spell_mind_thrust, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
NULL, SLOT(530), 8, 12,
"mind thrust", "!Mind Thrust!"
},
{
"project force", { 37, 37, 37, 37, 9 },
spell_project_force, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
NULL, SLOT(531), 18, 12,
"projected force", "!Project Force!"
},
{
"psionic blast", { 37, 37, 37, 37, 17 },
spell_psionic_blast, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
NULL, SLOT(532), 25, 12,
"psionic blast", "!Psionic Blast!"
},
{
"psychic crush", { 37, 37, 37, 37, 8 },
spell_psychic_crush, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
NULL, SLOT(533), 15, 18,
"psychic crush", "!Psychic Crush!"
},
{
"psychic drain", { 37, 37, 37, 37, 4 },
spell_psychic_drain, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
NULL, SLOT(534), 20, 12,
"", "You no longer feel drained."
},
{
"psychic healing", { 37, 37, 37, 37, 5 },
spell_psychic_healing, TAR_CHAR_SELF, POS_STANDING,
NULL, SLOT(535), 20, 12,
"", "!Psychic Healing!"
},
{
"shadow form", { 37, 37, 37, 37, 2 },
spell_null, TAR_IGNORE, POS_STANDING,
&gsn_shadow, SLOT(536), 0, 12,
"", "You no longer move in the shadows."
},
{
"share strength", { 37, 37, 37, 37, 11 },
spell_share_strength, TAR_CHAR_DEFENSIVE, POS_STANDING,
NULL, SLOT(537), 8, 12,
"", "You no longer share strength with another."
},
{
"thought shield", { 37, 37, 37, 37, 1 },
spell_thought_shield, TAR_CHAR_SELF, POS_STANDING,
NULL, SLOT(538), 5, 12,
"", "You no longer feel so protected."
},
{
"ultrablast", { 37, 37, 37, 37, 25 },
spell_ultrablast, TAR_IGNORE, POS_FIGHTING,
NULL, SLOT(539), 75, 24,
"ultrablast", "!Ultrablast!"
}
#if 1 // @@@
,
/*
* These spells are to allow TFC zones to load for testing. They all call
* spell_dispel_magic, which says 'unimplemented' or something...
*/
{
"cause disease", { 37, 37, 37, 37, 37 },
spell_dispel_magic, TAR_CHAR_OFFENSIVE, POS_STANDING,
NULL, SLOT(105), 15, 12,
"", "!Cause Disease!"
},
{
"cure disease", { 37, 37, 37, 37, 37 },
spell_dispel_magic, TAR_CHAR_DEFENSIVE, POS_STANDING,
NULL, SLOT(104), 15, 12,
"", "!Cause Disease!"
},
{
"detect good", { 37, 37, 37, 37, 37 },
spell_dispel_magic, TAR_CHAR_SELF, POS_STANDING,
NULL, SLOT(9), 15, 12,
"", "The blue in your vision disappears"
},
{
"dispel good", { 37, 37, 37, 37, 37 },
spell_dispel_magic, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
NULL, SLOT(37), 15, 12,
"dispel good", "!Dispel Good!"
},
{
"jump", { 37, 37, 37, 37, 37 },
spell_dispel_magic, TAR_CHAR_SELF, POS_FIGHTING,
NULL, SLOT(47), 15, 12,
"", "!Jump!"
},
{
"protection good", { 37, 37, 37, 37, 37 },
spell_dispel_magic, TAR_CHAR_SELF, POS_STANDING,
NULL, SLOT(45), 15, 12,
"", "!Protection Good!"
},
{
"tongues", { 37, 37, 37, 37, 37 },
spell_dispel_magic, TAR_CHAR_SELF, POS_STANDING,
NULL, SLOT(98), 15, 12,
"", "!Tongues!"
},
{
"true seeing", { 37, 37, 37, 37, 37 },
spell_dispel_magic, TAR_CHAR_SELF, POS_STANDING,
NULL, SLOT(103), 15, 12,
"", "You see less true <cackle>"
},
{
"animate dead", { 37, 37, 37, 37, 37 },
spell_animate_dead, TAR_IGNORE, POS_STANDING,
NULL, SLOT(97), 5, 12,
"", "!Animate Dead!"
},
#endif
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -