Home
last modified time | relevance | path

Searched refs:spells (Results 1 – 25 of 2248) sorted by relevance

12345678910>>...90

/dports/games/arx-libertatis/arx-libertatis-1.1.2/src/game/
H A DSpells.cpp2696 spells[i].longinfo = spells[i].longinfo2 = -1; in ARX_SPELLS_GetFree()
2708 if(spells[i].exist && spells[i].type == typ) { in ARX_SPELLS_GetInstance()
2724 if(spells[i].exist && spells[i].type == typ && spells[i].caster == caster) { in ARX_SPELLS_GetInstanceForThisCaster()
3151 spells[i].hand_pos = entities[spells[i].caster]->obj->vertexlist3[spells[i].hand_group].v; in ARX_SPELLS_Launch()
3558 spells[i].target = spells[i].caster; in ARX_SPELLS_Launch()
3622 spells[i].target = spells[i].caster; in ARX_SPELLS_Launch()
3761 spells[i].target = spells[i].caster; in ARX_SPELLS_Launch()
3800 if(!spells[n].exist || spells[n].target == spells[i].caster) { in ARX_SPELLS_Launch()
3976 if(!spells[n].exist || !spells[n].pSpellFx) { in ARX_SPELLS_Launch()
4428 spells[i].tolive = long(spells[i].tolive * mul); in ARX_SPELLS_Launch()
[all …]
/dports/games/scummvm/scummvm-2.5.1/engines/saga2/
H A Dspeldraw.cpp152 return spells[s]; in operator []()
171 if (spells) { in cleanup()
173 if (spells[i]) { in cleanup()
177 delete[] spells; in cleanup()
178 spells = nullptr; in cleanup()
189 assert(spells); in SpellDisplayPrototypeList()
195 delete[] spells; in ~SpellDisplayPrototypeList()
196 spells = nullptr; in ~SpellDisplayPrototypeList()
230 delete[] spells; in cleanup()
231 spells = nullptr; in cleanup()
[all …]
/dports/devel/py-jsonpickle/jsonpickle-2.0.0/tests/
H A Dwizard_test.py23 self.spells = collections.OrderedDict()
30 for (ka, va), (kb, vb) in zip(self.spells.items(), other.spells.items()):
41 for (ka, va), (kb, vb) in zip(self.spells.items(), other.spells.items()):
60 spells = caster.spells[target]
62 spells = caster.spells[target] = []
63 spells.append(self)
118 merlin_spells = wizard_merlin.spells
128 morgana_spells_keys = list(wizard_morgana.spells.keys())
175 self.assertEqual(wizard_morgana.spells, morgana_decoded.spells)
178 merlin_spells = u_wizard_merlin.spells
[all …]
/dports/games/nlarn/nlarn-NLarn-0.7.6/inc/
H A Dspells.h110 extern const spell_data spells[SP_MAX];
169 #define spell_code(spell) (spells[(spell)->id].code)
170 #define spell_name(spell) (spells[(spell)->id].name)
179 #define spell_code_by_id(id) (spells[(id)].code)
180 #define spell_name_by_id(id) (spells[(id)].name)
181 #define spell_type_by_id(id) (spells[(id)].type)
183 #define spell_effect_by_id(id) (spells[(id)].effect)
186 #define spell_colour_by_id(id) (spells[(id)].colour)
187 #define spell_level_by_id(id) (spells[(id)].level)
198 #define book_name(book) (spells[(book)->id].name)
[all …]
/dports/games/exult/exult-snapshot-v1.7.0.20211128/content/bgkeyring/src/spells/
H A Dmain_spells.uc26 #include "spells/spell_functions.uc" //Spell functions used by a few spells
28 #include "spells/linear_spells.uc" //Linear spells for NPCs
29 #include "spells/first_circle.uc" //First Circle spells for NPCs
30 #include "spells/second_circle.uc" //Second Circle spells for NPCs
31 #include "spells/third_circle.uc" //Third Circle spells for NPCs
32 #include "spells/fourth_circle.uc" //Fourth Circle spells for NPCs
33 #include "spells/fifth_circle.uc" //Fifth Circle spells for NPCs
34 #include "spells/sixth_circle.uc" //Sixth Circle spells for NPCs
35 #include "spells/seventh_circle.uc" //Seventh Circle spells for NPCs
36 #include "spells/eighth_circle.uc" //Eighth Circle spells for NPCs
[all …]
/dports/games/openmw/openmw-openmw-0.47.0/apps/openmw/mwmechanics/
H A Dspelllist.cpp73 for(const auto& it : spells) in add()
78 spells.push_back(id); in add()
93 for(auto it = spells.begin(); it != spells.end(); it++) in remove()
97 spells.erase(it); in remove()
114 const auto it = std::remove_if(spells.begin(), spells.end(), [&] (const auto& spell) in removeAll()
119 if (it == spells.end()) in removeAll()
121 spells.erase(it, spells.end()); in removeAll()
141 if(spells.empty()) in clear()
143 spells.clear(); in clear()
153 void SpellList::addListener(Spells* spells) in addListener() argument
[all …]
H A Dspells.cpp27 Spells::Spells(const Spells& spells) : mSpellList(spells.mSpellList), mSpells(spells.mSpells), in Spells() argument
28 mSelectedSpell(spells.mSelectedSpell), mUsedPowers(spells.mUsedPowers), in Spells()
29 …mSpellsChanged(spells.mSpellsChanged), mEffects(spells.mEffects), mSourcedEffects(spells.mSourcedE… in Spells()
35 …Spells::Spells(Spells&& spells) : mSpellList(std::move(spells.mSpellList)), mSpells(std::move(spel… in Spells() argument
36 … mSelectedSpell(std::move(spells.mSelectedSpell)), mUsedPowers(std::move(spells.mUsedPowers)), in Spells()
37 mSpellsChanged(std::move(spells.mSpellsChanged)), mEffects(std::move(spells.mEffects)), in Spells()
38 mSourcedEffects(std::move(spells.mSourcedEffects)) in Spells()
41 mSpellList->updateListener(&spells, this); in Spells()
488 void Spells::addAllToInstance(const std::vector<std::string>& spells) in addAllToInstance() argument
490 for(const std::string& id : spells) in addAllToInstance()
/dports/games/fargoal/fargoal/src/
H A Dsave.c132 save (list[id].spells[0].max); in save_char()
135 save (list[id].spells[1].max); in save_char()
138 save (list[id].spells[2].max); in save_char()
141 save (list[id].spells[3].max); in save_char()
144 save (list[id].spells[4].max); in save_char()
147 save (list[id].spells[5].max); in save_char()
217 load (list[id].spells[0].max); in load_char()
220 load (list[id].spells[1].max); in load_char()
223 load (list[id].spells[2].max); in load_char()
226 load (list[id].spells[3].max); in load_char()
[all …]
H A Dplayer.c139 list[id].spells[SPELL_SHIELD].active = 0; in cancel_fighting()
203 if (list[e].spells[s].amount) in player_won()
206 list[id].spells[s].amount += list[e].spells[s].amount; in player_won()
284 list[e].spells[s].amount = list[id].spells[s].amount; in player_fight()
285 list[id].spells[s].amount = 0; in player_fight()
495 list[id].spells[SPELL_SHIELD].active--; in player_treasure()
809 list[id].spells[SPELL_DRIFT].active--; in player_in_trap()
890 list[id].spells[SPELL_SHIELD].amount=1; in player_process()
892 list[id].spells[SPELL_DRIFT].amount=1; in player_process()
893 list[id].spells[SPELL_LIGHT].amount=1; in player_process()
[all …]
/dports/games/moria/umoria/util/
H A Dshowmon.c90 if (c_ptr->spells != 0) in print_monsters()
97 if (CS_TEL_LONG & c_ptr->spells) in print_monsters()
99 if (CS_TEL_TO & c_ptr->spells) in print_monsters()
101 if (CS_LGHT_WND & c_ptr->spells) in print_monsters()
103 if (CS_SER_WND & c_ptr->spells) in print_monsters()
107 if (CS_BLIND & c_ptr->spells) in print_monsters()
109 if (CS_CONFUSE & c_ptr->spells) in print_monsters()
111 if (CS_FEAR & c_ptr->spells) in print_monsters()
127 if (CS_BR_GAS & c_ptr->spells) in print_monsters()
129 if (CS_BR_ACID & c_ptr->spells) in print_monsters()
[all …]
/dports/games/gemrb/gemrb-0.9.0/gemrb/core/
H A DSpellbook.cpp85 if (spells[i][j]) { in ~Spellbook()
87 spells[i][j] = NULL; in ~Spellbook()
92 delete [] spells; in ~Spellbook()
118 if (spells[i][j]) { in CopyFrom()
120 spells[i][j] = NULL; in CopyFrom()
123 spells[i].clear(); in CopyFrom()
424 for (sm = spells[i].begin(); sm != spells[i].end(); ++sm) { in RemoveSpell()
468 for (sm = spells[type].begin(); sm != spells[type].end(); ++sm) { in RemoveSpell()
491 for (sm = spells[type].begin(); sm != spells[type].end(); ++sm) { in RemoveSpell()
803 for (sm = spells[i].begin(); sm != spells[i].end(); ++sm) { in UnmemorizeSpell()
[all …]
/dports/games/stonesoup/crawl-0.27.1/crawl-ref/source/
H A Drandbook.cc243 ASSERT(spells.size()); in theme_book_spells()
262 for (auto spell : spells) in fixup_randbook_disciplines()
305 vector<spell_type> spells; in build_themed_book() local
307 spells); in build_themed_book()
493 ASSERT(!spells.empty()); in _set_book_spell_list()
494 sort(begin(spells), end(spells), _compare_spells); in _set_book_spell_list()
551 vector<spell_type> spells; in make_book_level_randart() local
556 if (spells.empty()) in make_book_level_randart()
584 shuffle_array(spells); in make_book_level_randart()
817 for (auto spell : spells) in _gen_randbook_owner()
[all …]
H A Ddescribe-spells.cc233 for (auto &book : spells) in _spellset_contents()
234 for (auto spell : book.spells) in _spellset_contents()
239 for (auto &book : spells) in _spellset_contents()
241 for (auto spell : book.spells) in _spellset_contents()
522 for (auto spell : book.spells) in _describe_book()
593 if (doublecolumn && book.spells.size() % 2) in _describe_book()
608 void describe_spellset(const spellset &spells, in describe_spellset() argument
614 for (auto book : spells) in describe_spellset()
628 for (auto spell : book.spells) in _write_book()
665 void write_spellset(const spellset &spells, in write_spellset() argument
[all …]
/dports/games/pcgen/pcgen/data/pathfinder/super_genius_games/adventurers_handbook/
H A Dsggah_abilities_class_apg.lst45 …2 DESC:You have selected %1 as 2nd-level spells from another list.…
46 …3 DESC:You have selected %1 as 3rd-level spells from another list.…
47 …4 DESC:You have selected %1 as 4th-level spells from another list.…
48 …5 DESC:You have selected %1 as 5th-level spells from another list.…
52 …2 DESC:You have selected %1 as 2nd-level spells from another list.…
53 …3 DESC:You have selected %1 as 3rd-level spells from another list.…
54 …4 DESC:You have selected %1 as 4th-level spells from another list.…
55 …5 DESC:You have selected %1 as 5th-level spells from another list.…
56 …6 DESC:You have selected %1 as 6th-level spells from another list.…
57 …7 DESC:You have selected %1 as 7th-level spells from another list.…
[all …]
/dports/games/scourge/scourge/src/
H A Dhealdialog.cpp69 spells.clear(); in updateUI()
97 spellText[ spells.size() ] = priceStr; in updateUI()
99 spellText[ spells.size() ] += s; in updateUI()
100 if ( spells.empty() ) { in updateUI()
103 …spellIcons[ spells.size() ] = scourge->getShapePalette()->spellsTex[ spell->getIconTileX() ][ spel… in updateUI()
106 spells.push_back( spell ); in updateUI()
110 if ( spells.empty() ) in updateUI()
113 spellList->setLines( spells.size(), spellText, NULL, spellIcons ); in updateUI()
122 Spell *spell = spells[ line ]; in handleEvent()
128 Spell *spell = spells[ line ]; in handleEvent()
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/data/mods/Magiclysm/
H A Dlore.md9 High-powered combat spells are either family or military secrets
21 …ine the spells. The classes were established in ancient Greece, when it was noted that certain spe…
25 …avity, and Force. Magus spells are the most versatile of the classes, and it also usually has the …
27 - Kelvinist: Heat and Cold spells. Can also produce light to a lesser degree.
28 - Stormshaper: Wind, weather, and electricity. Most of these spells are really loud.
29 - Technomancer: Invention. This usually manifests as spells that summon arms and armor, holograms, …
30 …ith the earth. The spells often focus on melee and defense. Lava is a high-tier earthshaper thing …
31 - Biomancer: Flesh mage. Manipulating the caster's flesh is easier but higher tier spells can manip…
35spells that are "classless," due to sharing one more traits with multiple classes that do not tip …
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/data/mods/Magiclysm/
H A Dlore.md9 High-powered combat spells are either family or military secrets
21 …ine the spells. The classes were established in ancient Greece, when it was noted that certain spe…
25 …avity, and Force. Magus spells are the most versatile of the classes, and it also usually has the …
27 - Kelvinist: Heat and Cold spells. Can also produce light to a lesser degree.
28 - Stormshaper: Wind, weather, and electricity. Most of these spells are really loud.
29 - Technomancer: Invention. This usually manifests as spells that summon arms and armor, holograms, …
30 …ith the earth. The spells often focus on melee and defense. Lava is a high-tier earthshaper thing …
31 - Biomancer: Flesh mage. Manipulating the caster's flesh is easier but higher tier spells can manip…
35spells that are "classless," due to sharing one more traits with multiple classes that do not tip …
/dports/games/pcgen/pcgen/data/3e/fantasy_flight_games/midnight_campaign/campaign_setting/
H A Dmidnight_feats.lst8 … can create spell talismans, which reduce the cot for casting a specific spells. SOURCEPAG…
20 …al PREABILITY:1,CATEGORY=FEAT,TYPE.Magecraft DESC:You gain knowledge of spells from one school of…
21 … Evocation) PREPCLEVEL:MIN=7 DESC:You gain knowledge of spells from one of the gr…
24 … DESC:You gain knowledge of spells from the Abjuratio…
25 … DESC:You gain knowledge of spells from the Lesser Co…
26 … DESC:You gain knowledge of spells from the Divinatio…
27 … DESC:You gain knowledge of spells from the Enchantme…
28 … DESC:You gain knowledge of spells from the Lesser Ev…
29 … DESC:You gain knowledge of spells from the Illusion …
30 … DESC:You gain knowledge of spells from the Necromanc…
[all …]
/dports/games/pcgen/pcgen/data/pathfinder/paizo/adventure_path/shattered_star/ap61/
H A Dap61_abilities.lst8 …nternal TYPE:SaveBonus ASPECT:SaveBonus|+2 insight bonus vs. abjuration spells and spell-like abi…
9 …nternal TYPE:SaveBonus ASPECT:SaveBonus|+2 insight bonus vs. necromancy spells and spell-like abi…
10 …rnal TYPE:SaveBonus ASPECT:SaveBonus|+2 insight bonus vs. transmutation spells and spell-like abi…
11 …ternal TYPE:SaveBonus ASPECT:SaveBonus|+2 insight bonus vs. enchantment spells and spell-like abi…
12 …:Internal TYPE:SaveBonus ASPECT:SaveBonus|+2 insight bonus vs. illusion spells and spell-like abi…
13 …ternal TYPE:SaveBonus ASPECT:SaveBonus|+2 insight bonus vs. conjuration spells and spell-like abi…
14 …Internal TYPE:SaveBonus ASPECT:SaveBonus|+2 insight bonus vs. evocation spells and spell-like abi…
18 …TEGORY:Internal TYPE:SaveBonus ASPECT:SaveBonus|+2 resistance bonus vs. spells and spell-like abi…
/dports/games/angband/Angband-4.2.2/src/
H A Dui-spell.c36 int *spells; member
53 int *spells = d->spells; in spell_menu_valid() local
55 return d->is_valid(spells[oid]); in spell_menu_valid()
65 int spell_index = d->spells[oid]; in spell_menu_display()
115 d->selected_spell = d->spells[oid]; in spell_menu_handler()
133 int spell_index = d->spells[oid]; in spell_menu_browser()
172 d->n_spells = spell_collect_from_book(obj, &d->spells); in spell_menu_new()
173 if (d->n_spells == 0 || !spell_okay_list(is_valid, d->spells, d->n_spells)){ in spell_menu_new()
175 mem_free(d->spells); in spell_menu_new()
208 mem_free(d->spells); in spell_menu_destroy()
/dports/games/moria/umoria/doc/
H A DERRORS6 explain non obvious spells/prayers, many of the priest spells are confusing,
7 really should have a general section on spells explaining the 'G' command,
8 how int/wis and level affects number of spells/prayers, how area effect
9 spells work, centering before casting an area effect spell is very useful
10 and perhaps other stuff about spells/magic
/dports/games/arx-libertatis/arx-libertatis-1.1.2/src/graphics/spells/
H A DSpells02.cpp79 if(spells[spellinstance].caster == 0) { in Create()
82 eSrc = entities[spells[spellinstance].caster]->pos; in Create()
166 if(spells[spellinstance].caster == 0) { in Update()
168 } else if(ValidIONum(spells[spellinstance].target)) { in Update()
169 eSrc = entities[spells[spellinstance].target]->pos; in Update()
257 Entity * io = entities[spells[spellinstance].caster]; in Create()
267 spells[spellinstance].longinfo = 1; in Create()
269 else spells[spellinstance].longinfo = 0; in Create()
305 Entity * io = entities[spells[spellinstance].target]; in Create()
315 spells[spellinstance].longinfo = 1; in Create()
[all …]
/dports/games/pcgen/pcgen/data/zen_test/pcgen_test_advanced/
H A Dpcgen_test_advanced_classes_dragon.lst65 #Blue - *Can also cast cleric spells and those from the Air, Evil, and Law domains as arcane spells.
66 #red *Can also cast cleric spells and those from the Chaos, Evil, and Fire domains as arcane spells.
67 #Brass *Can also cast cleric spells and those from the Chaos and Knowledge domains as arcane spells.
68 #Bronze *Can also cast cleric spells and those from the Animal, Law, and Water domains as arcane sp…
69 #Copper *Can also cast cleric spells and those from the Chaos, Earth, and Trickery domains as arcan…
70 #Gold *Can also cast cleric spells and those from the Law, Luck, and Good domains as arcane spells.
71 #Silver *Can also cast cleric spells and those from the Air, Good, Law, and Sun domains as arcane s…
81 # Removes missing Classlist error for spells
/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/spell/
H A Dspell.cpp45 spellstats_t spells[] = { variable
166 return _( spells[id].name ); in GetName()
171 return _( spells[id].description ); in GetDescription()
176 return spells[id].movePoints; in MovePoint()
181 u32 res = spells[id].spellPoints; in SpellPoint()
190 res = spells[id].spellPoints / ( acount * 2 ); in SpellPoint()
399 return spells[id].extraValue; in Damage()
426 return spells[id].imageId; in IndexSprite()
434 return spells[id].extraValue; in Restore()
449 return spells[id].extraValue; in Resurrect()
[all …]
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/xeen/dialogs/
H A Ddialogs_spells.cpp47 Spells &spells = *_vm->_spells; in execute() local
137 spells._lastCaster = _buttonValue; in execute()
278 Spells &spells = *_vm->_spells; in setSpellText() local
426 Spells &spells = *vm->_spells; in show() local
433 } else if (spells._lastCaster >= 0 && spells._lastCaster < (int)party._activeParty.size()) { in show()
434 charNum = spells._lastCaster; in show()
438 spells._lastCaster = charNum; in show()
468 Spells &spells = *_vm->_spells; in execute() local
579 Spells &spells = *_vm->_spells; in execute() local
645 Spells &spells = *_vm->_spells; in execute() local
[all …]

12345678910>>...90