Not sure. I just finished implementing the mana system. There is a configurable initial amount, configurable amount you gain, and a configurable time (ie how often you receive mana) Pretty much all that is left is finishing the spells. EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Wow, you are amazing. Also, can you make it (In a later update, not necessary for release) so that bread, and all other foods when eaten give a configurable amout of mana? and sleeping restores mana fully? Thanks.
Iron_Crystal Is it possible for you to give me the permission nodes my players are not allowed to use spells :S
The permissions are HarryPotter.Accio All the permissions are HarryPotter. + the name of the spell with the first letter capitalized The exceptions are the multi-word spells. For example HarryPotter.DisillusionmentCharm I will be able to do that. Like you said, I think I should finish the other spells first. Also, Incendio is done/ EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Well, the way /spells works is that it checks if they have any permissions, and if they do, then it sets them to using that spell, so yes, if you give them the permission for a spell, then they will be able to use it.
Iron_Crystal so did you work on more spells can you list me the ones that are finished since the last update?
Well, since the last update, I finished Incendio, but I have been working on some of the harder spells, like Homenum Revelio, and currently I am working on Flame Freezing Charm
Sounds awesome, take your time. I am sure you have already done so much more than necessary, so much in so little time
Hey all. In regards to increasing the dueling range of some spells, I found a way to do it, but I wanted to know your thoughts. What I did was make a for loop for the blocks in your line of site for a configurable distance. Then I said to get the entities in your line of sight and kill them The backside is, is that is gets ALL the entities in your line of sight from a configurable range and kills them. Is this fine, or should I find a way to make it only kill one?
Iron_Crystal Try making only one but if you can't it will be fine with me to kill them ALL. though could you add so when pvp is off you can still hit the target with your spells?
Oh yeah. The way I did it does not require you to hit the player, so it doesn't matter if PVP is on or not I actually just thought of a way to only kill one, but let me try it out first. I plan on giving you guys another test update today.
I think that is fine, I know spells technically don't hit two people at once, but hell what does it matter? it is extremely hard to code anyways, that is absolutely fine. Also, it does matter. PVP will still be blocked even if it is not physical contact as the game knows that you dealt the damage. No combat spells will work with pvp off. USE WORLDGUARD. It is so easy, why should he bog down his plugin when you can use another one that is MEANT for this kind of thing. EDIT by Moderator: merged posts, please use the edit button instead of double posting.
[quote uid=90581069 name="TheFluffey" post=1079920]snip![/quote] [quote uid=90631162 name="Mig_B" post=1078709]snip![/quote] [quote uid=90663113 name="xchilly38x" post=1078078]snip![/quote] Hey All! Heres another update: New Things: Mana System! You can edit its initial amount, rate, how often players receive mana, and the max mana limit Range! Now all dueling spells that I have finished have a configurable range! Working Spells: Accio (not classic) Aguamenti Alohomora (new!) AvadaKadavra (now with range!) Bubble Head Charm Calloportus (new!) Crucio (now with range!) Disillusionment Charm Episkey Expelliarmus (now with range!) Expulso Finite Incantatem (new!, i think....) Flame Freezing Charm (new!) Homenum Revelio (new! with range!) Incendio Langlock (new! with range!) Lumos Nox (new!) Obscuro (new! with range!) Stupefy (new! with range!) Sectumsempra (now with range!) Please tell me if anything is not working. For incendio, for some reason I can only set fire on vertical surfaces, please tell me if this is doing this for you too. Download <Edit by Moderator: Redacted mediafire url>
[quote uid=90620163 name="Iron_Crystal" post=1083939]Hey All! Heres another update: New Things: Mana System! You can edit its initial amount, rate, how often players receive mana, and the max mana limit Range! Now all dueling spells that I have finished have a configurable range! Working Spells: Accio (not classic) Aguamenti Alohomora (new!) AvadaKadavra (now with range!) Bubble Head Charm Calloportus (new!) Crucio (now with range!) Disillusionment Charm Episkey Expelliarmus (now with range!) Expulso Finite Incantatem (new!, i think....) Flame Freezing Charm (new!) Homenum Revelio (new! with range!) Incendio Langlock (new! with range!) Lumos Nox (new!) Obscuro (new! with range!) Stupefy (new! with range!) Sectumsempra (now with range!) Please tell me if anything is not working. For incendio, for some reason I can only set fire on vertical surfaces, please tell me if this is doing this for you too. Download <Edit by Moderator: Redacted mediafire url> Testing now with 2 accounts, will be able to report fully on all spells now. [quote uid=90620163 name="Iron_Crystal" post=1083939]Hey All! Heres another update: New Things: Mana System! You can edit its initial amount, rate, how often players receive mana, and the max mana limit Range! Now all dueling spells that I have finished have a configurable range! Working Spells: Accio (not classic) Aguamenti Alohomora (new!) AvadaKadavra (now with range!) Bubble Head Charm Calloportus (new!) Crucio (now with range!) Disillusionment Charm Episkey Expelliarmus (now with range!) Expulso Finite Incantatem (new!, i think....) Flame Freezing Charm (new!) Homenum Revelio (new! with range!) Incendio Langlock (new! with range!) Lumos Nox (new!) Obscuro (new! with range!) Stupefy (new! with range!) Sectumsempra (now with range!) Please tell me if anything is not working. For incendio, for some reason I can only set fire on vertical surfaces, please tell me if this is doing this for you too. Download <Edit by Moderator: Redacted mediafire url> ERROR: http://pastebin.com/HDnNCMec EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Oh, I forgot to tell you. The first time you start up there will be an error, because there isn't a mana file. Once you log into the server, it will create the mana file and it will never have the error again.
Also, I forgot to put it in my above post, and I stated this earlier, but use /mana to see how much mana you have I will say that I found it quite fun to spawn a bunch of sheep, and then fly up high into the air, and use Avada Kadavra to pick them off one by one. EDIT by Moderator: merged posts, please use the edit button instead of double posting.
[quote uid=90620163 name="Iron_Crystal" post=1083939]Hey All! Heres another update: New Things: Mana System! You can edit its initial amount, rate, how often players receive mana, and the max mana limit Range! Now all dueling spells that I have finished have a configurable range! Working Spells: Accio (not classic) Aguamenti Alohomora (new!) AvadaKadavra (now with range!) Bubble Head Charm Calloportus (new!) Crucio (now with range!) Disillusionment Charm Episkey Expelliarmus (now with range!) Expulso Finite Incantatem (new!, i think....) Flame Freezing Charm (new!) Homenum Revelio (new! with range!) Incendio Langlock (new! with range!) Lumos Nox (new!) Obscuro (new! with range!) Stupefy (new! with range!) Sectumsempra (now with range!) Please tell me if anything is not working. For incendio, for some reason I can only set fire on vertical surfaces, please tell me if this is doing this for you too. Download <Edit by Moderator: Redacted mediafire url> Precursor: Configuration system and mana system work perfectly. REPORT: Accio works, try to make it takes items out of a chest and to you. Aguamenti works Alohomora and Coloportus are reverse, you have it so that alohomora closes iron doors and coloportus opens them. It should be the other way around, alohomora opens and coloportus closes. AvadaKadavra works Bubble Head charm works Crucio Doesn't seem to work. Disillusionment charm works, but also makes you invincible... Make the invincibility part toggle-able if possible, i may not like it. Episkey works Expelliarmus Doesn't seem to work Expluso works Finite Incantatem works Flame Freezing Charm works perfectly Homenium Revelio works perfectly Incendio Worked perfectly Langlock Won't seem to cast, no notify message and no effect. Lumos works, try to remove that last torch, it is annoying Nox works, try to make it delete that last torch, it is annoying Obscuro Says on cast 'You have cast crucio!' and does nothing. Stupefy and sectumsempra Don't cast.
I'll take a look into them What doesn't work about Expelliarmus? Does it not drop the item? Is it not flinging it? For Disillusionment, I don't think I'll be able to fix this, because it makes you totally invisible. ie, its like your not even there I thought I fixed the torch problem, but I'll take another look. I'll have to see what the problem is with the other spells.
Expelliarmus just did nothing for me, it was weird. The player was holding an item, nothing happened.
I think I found the problem, but I probably won't get another test out today, because I have to go my baseball game.
is it also possible to kill and "stun" mob with the wand? And I really think you should publidh this on Bukkitdev or something, its pretty good!
Iron_Crystal Just noticed in the config there isnt any broadcast message, like when you cast a spell it broadcast a custom message (w/ color codes) that is editable in a different yml file.