Welcome to the Achaea Forums! Please be sure to read the Forum Rules.
[Mudlet] Blademaster Combo Scripting

Wynedere
Member Posts: 305 ✭✭✭✭ - Eminent
I'm at a loss for how to handle BM strike/slash combos. If I make aliases for every possible combination, frankly, I don't think I'll never be able to remember them all. I was thinking of somehow setting variables for strike modes and adding them to what I already have coded for slashing, though I'm not entirely sure how to go about doing that cleanly.
It would be great if you who play blademasters would give me an idea of how you handle combos.
0
Comments
-
Check out http://forums.achaea.com/discussion/780/mudlet-blademaster-coding/p1 for a few people's takes. I've changed my system of aliases a little since what I posted there, but the idea is the same; I can elaborate at some point if it would be helpful.1
-
Well, this is what I've finally come up with. The functions, strikes, and infusions were posted in the thread Eld mentioned. I'm sure there are better ways of doing this, but maybe it'll help someone else.Script:function changeInfuse(infuse_arg)infuse = infuse_argendfunction changeStrike(strike_arg)strike = strike_argendKeys to change strikes (one for each strike):
changeStrike("STERNUM")
cecho("\n<brown>STRIKE CHANGED TO STERNUM - DMG")
Keys to change infusions (one for each infusion):changeInfuse("FIRE")
cecho("\n<SeaGreen>INFUSION CHANGED TO FIRE - ABLAZE")
Alias to toggle between arm|leg|centre slashes and compassslashes:if slash == false thencecho("\n<medium_violet_red>SLASH MODE ON!")slash = trueelseif slash == true thencecho("\n<orange_red>COMPASS MODE ON!")slash = falseendMain Keys (6 of these total, one for each limb):if gmcp.Char.Status.race == "Dragon" thensend("rend " .. target .. " left arm")if not svo.inslowcuringmode() thensend("breathgust " .. target)endelseif slash == true thenif not svo.inslowcuringmode() thensend("INFUSE " .. infuse)endsend("armslash " .. target .. " left")if not svo.inslowcuringmode() thensend("STRIKE " .. target.." " .. strike)endelseif not svo.inslowcuringmode() thensend("INFUSE " .. infuse)endsend("compassslash " .. target .. " east")if not svo.inslowcuringmode() thensend("STRIKE " .. target.." " .. strike)endendI've tested in aeon and it seems to work as intended, even if it isn't the cleanest.1
Sign In to Comment.
Categories
- 6K All Categories
- 3K Everything Achaea
- 1.5K North of Thera
- 21 Archives of the Terraformer
- 240 The Matsuhama Arena
- 873 The Golden Dais of Creation
- 283 The Scarlattan Theatre
- 144 The Blank Canvas
- 1.9K Getting Help
- 389 General Questions
- 247 Quick Class Questions
- 1.3K Tech Support
- 298 Client Help
- 456 Curing Systems and Scripts
- 829 Off-Topic
- 250 The Wander Inn
- 579 The Universal Membrane
- 280 Class Discussions
- 280 Individual Class Sections
- 20 Alchemist
- 8 Apostate
- 29 Blademaster
- 9 Depthswalker
- 12 Druid
- 4 Infernal
- 20 Jester
- 19 Magi
- 30 Monk
- 9 Occultist
- 7 Paladin
- 7 Priest
- 28 Runewarden
- 17 Sentinel
- 24 Serpent
- 19 Shaman
- 9 Sylvan