Skip to content

jdelglise/AdventureLand-TheCode-Scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AdventureLand-TheCode-Scripts

JavaScript created for the game "Adventure Land - The Code", feel free to use


How To Use



function.js

Save the function.js as functions the game

/!\ A few variable should be changed to match your account :

  • partyLeaderName="Nedjed" // put your leader name here, preferably a war

  • function inviteMyOtherChar() // change all my character names by yours

Other functions might also be fine tuned as you whish with the params, e.g :

minHPPercentToKeep=50 // reduce it to save potions, increase it to increase survavibility minLifeForHeal=0.8 // Priest param only, in my situations 80% is perfect, for your case you might change it ;)


character.js

Load character script ob any of your character



What this script can do


This script does the following :

  • use potions when needed (based on params)

  • attack ennemies in area, but won't attack too weak target for your level

  • Have a party behaviour :

    • The leader (tank) :
      • invite all your characters to a group
      • choose the ennemies and tank them
      • taunt ennemis targeting your allies
      • use hardshell skill if life is below a certain limit
    • The others (dps, heal) :
      • accept leader invites
      • attack the leader target
      • follow the leader and stay at a certain range
      • heal the tank in prio + heal the whole party (healer only, cast skill party heal)
      • mage cast manaburst to spend mana
  • Merchant behaviour :

    • Add a specific code to send all items to merchant
    • Merchant will decide what to do with items and will upgrade it, exchange it or sell it


Futur improvement



Merchant and item crafting

  • Fix item slott issue causing deconnexion if merchant inventory is full

Automated journey

  • Currently the leader needs to be moved manually to a zone, this should be automated at some point (will requires a lot of effort)

Behaviour enhancement

  • Currently, the character are not able to "unstuck" themselves, manual move might be required
  • During fight, the tank should start kitting when low life
  • Add spell casting for missing classes and complete existing classes (only important skill are handled now)
  • Create more solo behaviour, currently always party
  • Create "superiors" behaviour to take advantage over other groups present in the zone

and many others

About

JavaScript created for the game "Adventure Land - The Code", feel free to use

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published