Followers (charmed) & Exp distribution

  • Halenbane
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
8 years 11 months ago #34 by Halenbane
Followers (charmed) & Exp distribution was created by Halenbane
It seems that if you have followers (charmed mob) assisting you, if they get the last hit, it robs the exp and you get none. You can order them to join your group, but this may be tedious at times. Also, you could theoretically write a script to get them to group join char, but if the player hasn't started a group prior, of course this won't work.

Any ideas on an easier way to achieve this , so a class that is dependent on their summons IE: Animate Dead , may still get exp if the charmed creature gets a last hit. Even better if the charmed npc doesn't receive any exp at all.

Please Log in or Create an account to join the conversation.

  • Vatiken
  • Vatiken's Avatar
  • Offline
  • Administrator
  • Administrator
  • tbaMUD Programmer
More
8 years 11 months ago #38 by Vatiken
Replied by Vatiken on topic Re: Followers (charmed) & Exp distribution
You could always just make it so the ch->master (if applicable) gets the experience. Although, from a personal standpoint, I feel it should be necessary to group with your NPC followers. If you were to use the above step to rectify your problem, you might find yourself with balancing issues as someone with Animate Dead would be able to topple much higher level NPCs AND thus gain much more experience faster then someone without.

tbaMUD developer/programmer

Please Log in or Create an account to join the conversation.

  • Halenbane
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
8 years 11 months ago - 8 years 11 months ago #39 by Halenbane
Replied by Halenbane on topic Re: Followers (charmed) & Exp distribution
Would there be a way with the new group code, to make it so the follower automatically joins the group of the master? Also if the master doesn't have a current group then it forces them to create one. At which point the follower then joins.
Last edit: 8 years 11 months ago by Halenbane.

Please Log in or Create an account to join the conversation.

  • Vatiken
  • Vatiken's Avatar
  • Offline
  • Administrator
  • Administrator
  • tbaMUD Programmer
More
8 years 11 months ago #43 by Vatiken
Replied by Vatiken on topic Re: Followers (charmed) & Exp distribution
if (GROUP(ZOMBIE->master))
  join_group(ZOMBIE, GROUP(ZOMBIE->master));
else {
  create_group(ZOMBIE->master);
  join_group(ZOMBIE->master);
}

Something like this in the mag_summons() code should do the trick.

tbaMUD developer/programmer

Please Log in or Create an account to join the conversation.

Time to create page: 0.085 seconds