summaryrefslogtreecommitdiff
path: root/src/emap/script_buildins.h
AgeCommit message (Collapse)AuthorFilesLines
2021-06-16Add recalcstats() wrapper for Focus.Jesusaves1-0/+1
2021-04-10Changes demanded by testingJesusaves1-3/+0
2021-04-10Remove calcdmg(); There's a risk of a loop and I don't wanna hear of it.Jesusaves1-1/+0
This is pre-renewal with much less overhead, we can use Atk/Matk without mods. Means no criticals; But with no evasion and no defense it is like "always crit".
2021-04-10Include the functions which scripts will need: aggravate, calcdmg and harmJesusaves1-0/+6
2021-04-09WONT-FIXJesusaves1-0/+2
2020-09-26changeplayermusic() script functionJesusaves1-0/+1
required for clientdata!174 Tested in Moubootaur Legends
2020-08-29getskillname(), function required by magic functionalityJesusaves1-0/+1
Gumi suggested a [skill] in ManaPlus, but it was not done. Besides, these are known to not work on menus, so this is a better idea. Note that the field returned in skill_db is "desc", not "name".
2020-08-14add a script command to get craft recipe ingredientsgumi1-0/+1
2020-07-24add a script command to kick players offlinegumi1-0/+1
2020-07-13aggravate() will cause target RID to target player.Jesusaves1-0/+2
2020-04-26add buildin getnpcsubtype() to get nd->subtypegumi1-0/+1
2020-01-13New function: readbattleparam( <param> )Jesusaves1-0/+1
Complements with some info only available with getunitdata(), which only works with non-players. Not everything covered by getunitdata() is covered by this function. TEMPORARY COMMIT, should be replaced with getunitdata() when the function is updated upstream to receive player data as well.
2019-04-05Implement sendMapMask() which sends a custom map mask only to a specified user.Jesusaves1-0/+1
Remember to use getmapmask() before!
2018-03-26add missing hashtable iterator buildinsgumi1-0/+3
2018-02-27Add script function for check is hash table exists.Andrei Karas1-0/+1
New script function: htexists.
2018-02-15Add script command for check is id belong to existing instance.Andrei Karas1-0/+1
New script command: isinstance id
2017-06-05Remove areatimer from buildins.Andrei Karas1-1/+0
2017-06-05remove isstrgumi1-1/+0
2017-06-05remove misceffectgumi1-1/+0
2017-04-19Add script functions for manipulate item options.Andrei Karas1-0/+4
New functions: getitemoptionidbyindex getitemoptionvaluebyindex getitemoptionparambyindex setitemoptionbyindex
2016-09-26Add/extend functions for manipulate quest variables and time.Andrei Karas1-0/+3
See evol script docs.
2016-09-05add slide buildingumi1-0/+1
2016-09-04Add script command for close npc dialog only on client without affecting ↵Andrei Karas1-0/+1
server side. New script command: closeclientdialog
2016-09-04Fix hack with input string. Previous commit missing custom input function.Andrei Karas1-0/+1
2016-08-17Add function for convert label to int and int to label.Andrei Karas1-0/+2
New functions: getlabel - get label and return int tolabel - get int and return label
2016-06-21Add script command for remove card in item by inventory and card index.Andrei Karas1-0/+1
New script command: removecardbyindex itemIndex, cardIndex
2016-06-21Add script command for get card from item by inventory index.Andrei Karas1-0/+1
New script command: getcardbyindex itemIndex, cardIndex
2016-06-20add buildin setfakecells (fake client-side collision)mekolat1-0/+1
2016-06-15add hashtable functionsJoseph Botosh1-0/+10
htnew, htdelete, htput, htget, htclear, htsize htiterator, htinextkey, hticheck, htidelete
2016-03-30Add script command failedremovecardsindex.Andrei Karas1-0/+1
For remove all cards from item by inventory index.
2016-03-30Add script command successremovecardsindex.Andrei Karas1-0/+1
For remove all cards from item by inventory index.
2016-03-30Split script.c into buildins and other script functions.Andrei Karas1-0/+73