RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Resource icon

Number of Followers based on Intelligence 1.1

No permission to download
Intruduction

Intelligent people have more influence over others. So, this script evaluates how intelligent is the player and changes the number of creatures he could control.


Installation

1. Drop this script somewhere in your Scripts folder
2. Open it and change the config to suit your needs.
3. Open PlayerMobile.cs and find, in the ValidateEquipment_Sandbox method, the following line:
C#:
Mobile from = this;
Under that line, add the line bellow:
C#:
MaxFollowersIntelBased.Evaluate(from);
4. Restart the shard and it will automatically start evaluating the max followers of the players.

Configuration

You can configure it on the first lines of the script.

C#:
MaxIntAllowed = 150;      // What's the Intelligence limit for players?
MaxFollowersAllowed = 10;  // What's the maximum number of followers they can have?
MinFollowersAllowed = 2;  // What's the minimum number of followers they can have?
  • Like
Reactions: Bittiez
Author
Felladrin
Downloads
52
Views
279
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Felladrin

Latest updates

  1. Improved

    Removed some unnecessary lines and changed the default values.
Top