Currently, I am working on a map called "Witch Hunt". The concept is similar to that of Werewolf/Zerg Infestation/Parasite/Metastasis type maps. One person is randomly selected as a witch, and is trying to conceal their identity while ruining a small town. I'll try to limit questions I have for this map to this particular thread.

The first thing I want to do might be kind of tricky, but I'm fairly certain I've heard of something vaguely similar being done (though I'm not sure how to go about doing it):

I'd like to create an ability that will prevent a certain player from using chat for a set duration. This would be a "curse" by the witch used to silence someone else and possibly conceal his (the witch's) identity.

I don't really know JASS, so I'd prefer an answer for GUI. However, if it's impossible or too difficult to do GUI, I might be able to work with a sufficiently detailed JASS example (I am sort of familiar with some programming, and could conceivably tailor it to suit my specific purpose).

EDIT: If you're reasonably certain it can't be done, please say that as well. I've actually seen INSTRUCTIONS on how to do something sort of similar before, but can't find them. I have never actually seen it in action, though.

Last edited by Dylan1473 on Mon Mar 15, 2010 5:28 pm, edited 1 time in total.

I would like to level up spells within a spellbook - but only SPECIFIC spells. Which is to say, I don't want to just place in higher level spells in general as the spellbook increases in level, but rather as changes are made to the player's hero I want spells to become more powerful. For example, the spell book is full of "skills" and I want it to reflect the actual skill of the player. The witchcraft skill would have different descriptions at different levels.

If this is absolutely impossible, I could just use variables to keep track and put it in a multiboard, but I'd prefer to actually have increasing skills. I'm fairly certain this can't be done with GUI.

I'm aware of how to do this. The issue is that the ability with multiple levels exists INSIDE the spell book (or it should - currently it doesn't even show up, possibly because it is within the spellbook). I don't think that particular action works WITHIN a spell book either (though I could be wrong; since I've been unable to put the levelled ability within the spellbook thus far, I haven't actually been able to test it).

What I have said works, even inside of spellbooks. Download the map attatched to this post.Load it in WC3. Open your spell book, verify the ability is level 1. Now close the spell book. Type -lvl. Go back into the spellbook, and it will be level 2.Go into the map, see I have not attatched any fancy bells and whistles, and you're good to go.

That won't be necessary, actually. If the action works, it works. As I've just discovered, levelled spells DO work in the spell book, it's just that for reasons I do not yet understand the PARTICULAR spell with which I am concerned does not.

Yes. I based it off an attribute bonus at first because the ability exists only to influence the effect of others, but apparently attribute bonus-based abilities don't like being in spell books. So I based it off critical strike instead, and it seems to work ok now.

I'm developing sort of an economic system (one of the skills is commerce) and players can buy structures for income and other benefits. It works ok for the most part - players can buy houses and get income for houses by buying an item. Here is the problem:

After houses are purchased, the item is still available. I've tried the obvious action to remove items from neutral buildings and added the "sell items" ability to affected buildings (apparently the action only works on buildings that have that ability) but the item, nonetheless, remains there.

This is important because it allows players to "buy" houses repeatedly, resulting in them spending more money but also gaining extra experience.