summaryrefslogtreecommitdiff
path: root/src/emap/init.c
AgeCommit message (Collapse)AuthorFilesLines
2024-08-11[PATCH] Add *duplicate/remove npc script commandHEADtmw2Emistry Haoyan1-0/+2
- `npc_duplicate()` duplicate any existing duplicated NPC. - `npc_duplicate_remove()` will remove any existing NPC other than source NPC. Edited by Jesusalva for ease of use in Moubootaur Legends context See also https://github.com/HerculesWS/Hercules/pull/2473
2024-07-27Homunculus evolution or swapping frameworkJesusaves1-0/+2
2024-07-27Fix theoretical bug I don't want to concern myself withJesusaves1-0/+1
2024-07-27Add a command to retrieve Homunculus GIDJesusaves1-0/+1
2024-05-08Botter SyndromeJesusaves1-0/+2
2022-05-08Fix typoJesusaves1-1/+1
2022-05-08Add apiasync, for raw packetsJesusaves1-0/+1
2022-05-06Add support to make API updates with PYTHON_LOGS if set.Jesusaves1-0/+1
2022-01-02Implement SC_HALT_REGENERATION.Jesusaves1-0/+1
2021-12-29Allow source to be specified in harm() - for more precise calculationsJesusaves1-1/+1
2021-12-26Add advanced wrappers for Battle GroundsJesusaves1-0/+2
2021-09-20I'll need notice capability tooJesusaves1-0/+1
2021-09-20Add consolewarn() and consolebug() replacements for consolemes() and debugmes()Jesusaves1-0/+2
For the syslog monitor
2021-06-06add a script command to kick players offlineJesusaves1-0/+1
Author: gumi <git@gumi.ca> Date: Fri Jul 24 15:11:14 2020 -0400 You are currently cherry-picking commit 6d131f8. This reverts commit a22e3af8232b2e72e2c610339b3fd4fc9a0693e9.
2020-09-12add a script command to get craft recipe ingredientsgumi1-0/+1
fixup for getcraftrecipe
2020-09-12Revert "fix the hooks for npc->unload and mob->spawn_dataset, remove the ↵Jesusaves1-0/+1
unused hook for status->change_end_" This reverts commit fc19fdff65ee1561b2b1e30e5bab6906f65d34fa.
2020-09-12Partly Revert "update the call syntax of some internal functions"Jesusaves1-1/+1
This reverts commit 02963c54fa43b41ed8346e243c415e777e9caa4c.
2020-09-12fix the hooks for npc->unload and mob->spawn_dataset, remove the unused hook ↵gumi1-1/+0
for status->change_end_
2020-09-12update the call syntax of some internal functionsgumi1-1/+1
2020-09-12add buildin getnpcsubtype() to get nd->subtypeJesusaves1-0/+1
fix an incompatible assignment in buildin getnpcsubtype() Patch by gumi
2020-08-07Revert "add a script command to kick players offline"Jesusaves1-1/+0
This reverts commit 0902765036bc3fe663317043435b73aabe39677a.
2020-08-07add a script command to kick players offlinegumi1-0/+1
Author: gumi <git@gumi.ca> Date: Fri Jul 24 15:11:14 2020 -0400 You are currently cherry-picking commit 6d131f8.
2020-06-25getskillname() - strictly requiredJesusaves1-0/+1
2020-06-15Magic Attacks may now crit.Jesusaves1-1/+1
Perfect Dodge / Blocking will now work versus magic as well. Infinite Defense rules respected.
2020-06-07Update harm() - It now accepts element, and now uses raw damage.Jesusaves1-1/+2
Add new command: calcdmg(src, target, type). It calcs ATK or MATK. Already taking in account everything.
2020-05-28Theoretical fix for crafting.Jesusaves1-0/+1
getinventorylist() will now be reliable enough to determine item indexes. Be careful when looping. Hopefully, Nicholas rotten code was squashed.
2020-05-22New builtin: harm()Jesusaves1-0/+1
Effect: Causes damage :> WARNING: Magic Damage is currently a joke >__>
2020-05-22Override built-in atcommand() to ensure it'll survive upstream changes.Jesusaves1-0/+1
2020-05-22TMW2 Plugin: Support for skill target on script skills.Jesusaves1-0/+2
Moved around some other critical function details, be warned.
2020-05-15New (DANGEROUS) Function for Moubootaur Legends runtime: resetrng()Jesusaves1-0/+2
This will select a new seed (between 0 and 4294967295) and replace it. Using this command should affect EVERYTHING ingame - from scripts to monsters.
2020-04-26New builtin script command: aggravateJesusaves1-0/+1
Does what Provoke and Mass Provoke should do, but 10x better. And 40x more hackish.
2020-02-26New utility function: instanceowner.Jesusaves1-0/+1
Will return the ID of the instance owner. "0" means global instance or invalid. Party and Guilds share IDs, so be careful when not using account IDs for this.
2020-02-05New command: @setguildmaster <guild_master>Jesusaves1-0/+1
Ignores the “are you the guild master” check. Meant to be used by admins.
2020-01-25ChangePlayerMusic()Jesusaves1-0/+1
2020-01-22Merge branch 'master' into tmw2Jesusaves1-1/+1
Rewrite readbattleparam() to rEvolt syntax
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.
2020-01-11Revert "Fix redefine HPM interfaces"Jesusaves1-3/+0
This reverts commit c687d2d1b2ad48b5b15899f34b73a41ae73f674c.
2020-01-10Merge branch 'master' into tmw2Jesusaves1-0/+3
2020-01-09Fix redefine HPM interfacesAndrei Karas1-0/+3
2019-11-06countitem() - add support for RIDJesusaves1-0/+3
2019-10-21Patch the plugin so it delete items and works out-of-boxJesusaves1-0/+1
2019-10-19Add a function to retrieve EXP tax for a certain guild role.Jesusaves1-0/+2
There's a prototype (WIP) to retrieve the configured role name. That would allow us in a future to allow guild role name customization
2019-10-19New CMD Command: doeventJesusaves1-0/+1
This allows me to fire NPC events from CPC which is convenient to me. But we're using a dummy SD and I've removed some checks, so it is fragile.
2019-10-17And now remove the cheat mentioned on previous commit; When resetting statsJesusaves1-0/+1
equipment requeriments will be unequipped. FINALLY. The bug was data being set to NULL...
2019-10-17Fix the mage set and the quiver bug, hopefully without introducing a new one.Jesusaves1-0/+1
If you reset status, you'll be able to be equipping an item you otherwise wouldn't be able to. That allows you to circumvent stat restrictions. Option for Atk, MAtk, Def and MDef requeriments were removed. Only base stat counts.
2019-10-07REWRITE Healing Formula.Jesusaves1-0/+1
It now relies on Defense and MATK; It will use whatever is higher. When healing self only, healing others still follow previous formula.
2019-10-04Override @refresh with a WORKING version.Jesusaves1-0/+1
This effectively annulates commit 0bdc4bd177 from upstream Note: Do not cast @refresh while a dialog is open. But we don't allow non-staff to use @refresh directly so it is fine.
2019-10-02New 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.
2019-09-14Merge branch 'master' into tmw2Jesusaves1-0/+6
2019-09-14Force debugmes to don't be deprecated. I'm not going to change that on ML. Dot.Jesusaves1-0/+1