Welcome to the Builder Academy

Question Interesting find about spells and equipment.

More
24 Jun 2012 23:18 #235 by Liko
Hello,

I found an interesting little glitch.
Lets say you have a perm racial affect like AFF_INFRAV then equip an item that bestows the same affect. As soon as you unequip the item you lose your AFF_INFAV even if it's suppose to be a perm racial affect. Any way to fix?

Randian(0.0.0)
Owner/Developer

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

More
25 Jun 2012 00:03 #237 by Vatiken
Technically not a glitch because tbaMUD doesn't contain stock races. But a solution is to set the racial affect flags when the character is created and whenever an affect is removed.

tbaMUD developer/programmer

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

More
25 Jun 2012 00:30 #238 by Liko

Vatiken wrote: Technically not a glitch because tbaMUD doesn't contain stock races. But a solution is to set the racial affect flags when the character is created and whenever an affect is removed.


True, but it can apply this way:

* Note for this example haste grants you an additional hit per round.

A) Your equipped with an item that bestows haste while equipped.
B) A mage casts haste on the group or you..
C) As soon as the haste buff wears off it it would remove the perm haste you obtained from the object.

Now the fix would be for the player to remove the object then to reequip it, but is there a way to make it auto reattach equipment spells?

Randian(0.0.0)
Owner/Developer

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

More
25 Jun 2012 01:03 #239 by Vatiken
I'm pretty sure this already how the stock system works, where whenever something is removed all affects are removed, and then re-attached. I could be wrong as I don't have the code in front of me, but when I was doing my race addition and handling innate affects I didn't notice this issue.

tbaMUD developer/programmer

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

More
25 Jun 2012 04:42 #240 by Fizban
I know Merc certainly handles affects the way Liko described, thought Circle did as well, but not checked but know for sure from playing merc muds in the past that it's definitely the case on them.

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

More
25 Jun 2012 11:02 #242 by Liko

Vatiken wrote: I'm pretty sure this already how the stock system works, where whenever something is removed all affects are removed, and then re-attached. I could be wrong as I don't have the code in front of me, but when I was doing my race addition and handling innate affects I didn't notice this issue.


You are correct to a point, stock doesn't reattach them.

Fizban wrote: I know Merc certainly handles affects the way Liko described, thought Circle did as well, but not checked but know for sure from playing merc muds in the past that it's definitely the case on them.


Correct you are Fizban.

Randian(0.0.0)
Owner/Developer

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

Time to create page: 0.197 seconds