Coder Social home page Coder Social logo

55honey / acore_eventscripts Goto Github PK

View Code? Open in Web Editor NEW
19.0 6.0 9.0 720 KB

Lua script for Azerothcore with ElunaLUA to spawn custom phased bosses and other toys.

License: GNU Affero General Public License v3.0

Lua 100.00%
azerothcore azerothcore-lua lua-scripts hacktoberfest

acore_eventscripts's People

Contributors

55honey avatar acidmanifesto avatar helias avatar r-o-b-o-t-o avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

acore_eventscripts's Issues

Fun event finish message uncapitalized.

The event Battle for [eventname] has ended. See you next time!

[eventname] is always uncapitalized due to the internal event names being uncapitalized in the script. This causes messages like:
The event Battle for zangarmarsh has ended. See you next time!
to appear. Zangarmarsh should be capitalized in this message as it is a proper noun, i.e.:
The event Battle for Zangarmarsh has ended. See you next time!

Go for a full rewrite to get rid of all the spaghetti code

The looong events for creatures currently firing every 100ms with many chained IFs are very bad practice.
It would be preferred to have a creature-related event per event/spell, which keeps self-registering.

Also, the current config/Ai code only allows for very specific scenarios. There should be more general blocks of code, which allow us to easily adjust the kind of action, similar to how SAI works in the core, just in a way smaller scope.

The raid events should allow more than one simultaneous fight

Currently, only a single raid can fight simultaneously. The others are locked out until the one raid fighting is done.

It would be possible to make use of more phases than just 2, to allow more raids fighting at once. Ideally, the party would be sent and locked to phase 2 while raids make use of the remaining phases.

boss scripts outside this repo

There should be a config flag to allow any kind of scripts for the spawned enemy and not force the Lua scripts on them. That way it would be possible to add a custom NPC with SQL and a dedicated Lua, SAI, or .cpp boss script.

Note that this seems arguably impossible with the current Eluna module. The Lua logic can not request creature events like start combat or OnDeath without wiping SAI. And a C++ script applied to a creature will stop the Eluna AI from working.

Eluna is designed in a way that forces one AI exclusively.

add GO for los

The configuration of an encounter should allow for GOs to be added.

Multiple encounters can be started

The global locker currently only checks the OnHello event. It must be extended to the OnGossipSelect to prevent multiple simultaneous starts.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.