summaryrefslogtreecommitdiff
path: root/src/map/magic-expr.c
AgeCommit message (Collapse)AuthorFilesLines
2010-04-11Add new function to the magic system, mob_idFreeyorp1-0/+10
This takes one parameter, an entity, and returns the id of the class associated with a mob if it is a mob, and fails otherwise.
2009-12-26Used the "indent" C formatting program from GNU to do some clean upsChuck Miller1-1124/+1198
The command options used was: -nbad -bap -sc -bl -blf -bli0 -cli4 -cbi0 -di5 -nbc -bls -ip2 -nut -ts4 -bap -i4 -sob -npsl
2009-09-16Found and replaced more calls to rand()MadCamel1-9/+8
2009-07-26Alter fun_is_gm_invisible to a more generic fun_status_optionFreeyorp1-3/+3
This function now accepts an integer as a second argument for a bitmask, and should be able to be used for other status options now too.
2009-07-15Add a function to the magic system, fun_is_gm_invisibleFreeyorp1-0/+8
2009-03-08Remove pet and vending systemsJared Adams1-2/+0
2009-01-31When running out of spell charges, make sure to use spell attack delay for ↵Fate1-1/+9
last attack, too
2009-01-31Add functionality for healer XP handlingFate1-0/+13
2009-01-10Reserved another status change for the new "hide" spellFate1-0/+4
2008-11-29Added SLang function `is_dead'Fate1-0/+9
2008-11-29Added SLang commands `map_level', `map_nr', `dir_towards'Fate1-3/+76
2008-11-29SLang: Added `sqrt' function, permit looping over NPCsFate1-0/+8
2008-11-29Added bitwise negation operator `neg'Fate1-0/+8
2008-11-29Added SLang operations `is_exterior', `strstr', `substr', `contains_string', ↵Fate1-0/+60
`strlen'
2008-11-24Fixed looping over spellsFate1-9/+8
2008-11-24Fixed is_equipped() and count_item() operations after last refactoringFate1-4/+15
2008-11-24Added spell_index and is_equipped operations, permitted coercions from ↵Fate1-0/+23
invocations to strings
2008-11-23Magic: looping over spells, spell field access, is-equipped checkFate1-15/+76
2008-11-02* Minor cleanup in login serverJared Adams1-1/+1
* Char server now records client version and reports it to map server * Map server will now report all skills (even ones with dangerous indices) for client version 1 and above * Use status change val1 (instead of val2) index for speed potions, so that they can be triggered more easily from within scripts * Item database now also keeps track of the effect that items have on the spower stat * spower is now based on level + int*2 + modifier (see last point) * Minor bugfixes in support functionality for the SLang interpreter - Do not restart the map server without also restarting the char server, as the interserver protocol has changed slightly! (patch by fate)
2008-10-11Commit magic patch v13Jared Adams1-0/+1286