Skip to content

Commit

Permalink
Merge pull request #19 from 11BelowStudio/develop
Browse files Browse the repository at this point in the history
1.3.5 - Bugfix + a QoL improvement for magic users
  • Loading branch information
11BelowStudio authored Sep 20, 2024
2 parents ae76124 + ad09a9b commit 8d1fec7
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 6 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# CHANGELOG

## 1.3.5

*20/9/2024*

* Fixed bug that made MUDKIP not respond to `qs` when using a persona who has magic.
* Added a couple of triggers to (hopefully) update one's stats if after using a spell.
* (I have a persona who has magic again so I've only just noticed and fixed these issues xd)

## 1.3.4

*16/9/2024*
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,10 @@ Consider taking a look at the documentation of muddler if you wish to contribute

## CHANGELOG

* **1.3.4** (`16/9/2024`)
* Found workaround for issue which turned the helpful tooltips on the stamina/magic bars into unusable black rectangles.
* **1.3.5** (`20/9/2024`)
* Fixed bug that made MUDKIP not respond to `qs` when using a persona who has magic.
* Added a couple of triggers to (hopefully) update one's stats after using a spell.
* (I have a persona who has magic again so I've only just noticed and fixed these issues xd)

See [CHANGELOG.md](https://github.com/11BelowStudio/MUDKIP_Mud2/blob/main/CHANGELOG.md) for the full changelog.

Expand Down
2 changes: 1 addition & 1 deletion mfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"package": "MUDKIP_Mud2",
"version": "1.3.4",
"version": "1.3.5",
"author": "11BelowStudio",
"title": "Multi User Dungeon Kool Informational Package (for playing MUD2 with Mudlet)",
"outputFile": true,
Expand Down
3 changes: 3 additions & 0 deletions src/triggers/MUDKIP_Mud2/spell_used_autofes.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
if MUDKIP_Mud2:isInGame() then
send("␛-[fes␛-]")
end
21 changes: 18 additions & 3 deletions src/triggers/MUDKIP_Mud2/triggers.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
"isActive": "yes",
"patterns": [
{
"pattern":"^(\\*)?eff str (?<effStr>\\d+)\\h*eff dex (?<effDex>\\d+)\\h*sta (?<sta>\\d+)/(?<maxSta>\\d+)\\h*(mag (?<mag>)\\h*)?pts (?<pts>\\d+(,\\d+)*).*$",
"pattern":"^(\\*)?eff str (?<effStr>\\d+)\\h*eff dex (?<effDex>\\d+)\\h*sta (?<sta>\\d+)\/(?<maxSta>\\d+)\\h*(mag (?<mag>\\d+)\\h*)?pts (?<pts>\\d+(,\\d+)*).*$",
"type": "regex"
}
]
Expand All @@ -148,15 +148,15 @@
"type": "regex"
},
{
"pattern":"^(\\*)?Stamina=(?<stam>\\d+)/(?<maxStam>\\d+)\\.$",
"pattern":"^(\\*)?Stamina=(?<stam>\\d+)\/(?<maxStam>\\d+)\\.$",
"type": "regex"
},
{
"pattern":"^(\\*)?Your stamina is (?<stam>\\d+)\\.$",
"type": "regex"
},
{
"pattern": "^(The )?(\\S+ )*\\S+ hits you \\((?<stam>\\d+)/(?<maxStam>\\d+)\\).$",
"pattern": "^(The )?(\\S+ )*\\S+ hits you \\((?<stam>\\d+)\/(?<maxStam>\\d+)\\).$",
"type": "regex"
}
]
Expand Down Expand Up @@ -187,5 +187,20 @@
]
}
]
},
{
"name": "spell_used_autofes",
"isActive": "yes",
"multiline": "yes",
"patterns": [
{
"pattern":"15,0",
"type": "color"
},
{
"pattern":"^Your spell (work|fail)ed!$",
"type":"regex"
}
]
}
]

0 comments on commit 8d1fec7

Please sign in to comment.