Spellbook troubles

Randor244

Active Member
Reaction score
34
I've created a spellbook, but it does not work. I have set 4 spells in the Spell List field, but when I try it in-game no spells are shown when clicking on the book.

I should mention that the hero does not have the spellbook ability first, but gets it later through a trigger.

What can be wrong?
 

vypur85

Hibernate
Reaction score
803
Did you set the Maximum Spell field correctly? I can't remember very well, but you can try setting the max to 12 while the min to 11. Play around with the numbers. It should appear.
 

Randor244

Active Member
Reaction score
34
Tried that now, it still won't work...

EDIT:
This is my enable trigger:
Trigger:
  • Portal Lore
    • Events
      • Unit - A unit Finishes research
    • Conditions
      • (Researched tech-type) Equal to (==) Portal Lore
    • Actions
      • Unit - Add Portal Lore (spell book) to hero1


EDIT 2:
Now I tried giving the hero the spelbook from the beginning (through the OE) - still does not work... :(

EDIT 3: here's the OE:
n62nu1.jpg
 

Tom Jones

N/A
Reaction score
437
That's a little odd.

Does the unit have more than two spellbooks? If so change the orderid of one of the spellbooks.
Does the spell share the same orderid? If so change it.
Have you tried making the spellbook permanent?
 

Randor244

Active Member
Reaction score
34
I tried changing the orderid, no difference. Here's the map if you want to take a look:

http://rapidshare.com/files/246265155/HoD0.8.w3x.html

You'll get the spellbook by choosing a hero and then researching the "Portal Lore" upgrade in the Hero Academy (which is already present on the map for betatest reasons).

Also, enter "thecakeisalie" to gain 99999 resources and upgrade all your heroes to level 30 - that may help in troubleshooting...
 

Tom Jones

N/A
Reaction score
437
You're using some special editor? Try this please:

Duplicate your error to a new blank map (32x32) and upload that.
 

Tom Jones

N/A
Reaction score
437
Heh.

All the spells are based of Channel, Channel has an option field where one of the options is Visible true/false. Change that to true, and you're good to go.
 

Randor244

Active Member
Reaction score
34
Thanks, it works now :)

However, I have ancountered another, related problem. When using one of these abilities, really wierd things happens. I get NO abilities for my hero (they simply dissapear), I cannor move my hero, or do anything with him. Oh, and should I mention that the spell does not work either? Here's the trigger:

Trigger:
  • Builder Portal
    • Events
      • Unit - A unit Finishes casting an ability
    • Conditions
      • (Ability being cast) Equal to (==) Builder Portal
    • Actions
      • Unit - Create 1 Portal for Neutral Passive at (Position of hero1) facing Default building facing (270.0) degrees
      • Wait 5.00 seconds
      • Unit - Kill (Last created unit)
        • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • (Player 1 (Red) Current gold) Greater than or equal to (>=) 150
          • Then - Actions
            • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
              • If - Conditions
                • (Race of (Owner of (Triggering unit))) Equal to (==) Human
              • Then - Actions
                • Unit - Create 1 Peasant for (Owner of (Triggering unit)) at (Position of hero1) facing Default building facing (270.0) degrees
              • Else - Actions
                • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  • If - Conditions
                    • (Race of (Owner of (Triggering unit))) Equal to (==) Orc
                  • Then - Actions
                    • Unit - Create 1 Peon for (Owner of (Triggering unit)) at (Position of hero1) facing Default building facing (270.0) degrees
                  • Else - Actions
                    • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                      • If - Conditions
                        • (Race of (Owner of (Triggering unit))) Equal to (==) Undead
                      • Then - Actions
                        • Unit - Create 1 Acolyte for (Owner of (Triggering unit)) at (Position of hero1) facing Default building facing (270.0) degrees
                      • Else - Actions
                        • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                          • If - Conditions
                            • (Race of (Owner of (Triggering unit))) Equal to (==) Night Elf
                          • Then - Actions
                            • Unit - Create 1 Wisp for (Owner of (Triggering unit)) at (Position of hero1) facing Default building facing (270.0) degrees
                          • Else - Actions
            • Player - Add -150 to Player 1 (Red) Current gold
          • Else - Actions
 

Tom Jones

N/A
Reaction score
437
First time using Channel?

Data - Follow through time = 0.00
Data - Disable other abilities = false
Data - Options - Visible = true

Change the event to Event - A unit starts the effects of an ability.
 

Randor244

Active Member
Reaction score
34
Yeah, I've used other spells when making my own before - not channel :D

EDIT: Ok, now that works, but I'm still having troubles ;)

When casting any of the four spells FOUR portals will be created, different units come out of them, and all of them die except for a gryffon rider...

Here's the trigger:

Trigger:
  • Builder Portal
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to (==) Builder Portal
    • Actions
      • Unit - Create 1 Portal (small) for Neutral Passive at (Position of hero1) facing Default building facing (270.0) degrees
      • Wait 5.00 seconds
      • Unit - Kill (Last created unit)
        • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • (Player 1 (Red) Current gold) Greater than or equal to (>=) 150
          • Then - Actions
            • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
              • If - Conditions
                • (Race of (Owner of (Triggering unit))) Equal to (==) Human
              • Then - Actions
                • Unit - Create 1 Peasant for (Owner of (Triggering unit)) at (Position of hero1) facing Default building facing (270.0) degrees
              • Else - Actions
                • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  • If - Conditions
                    • (Race of (Owner of (Triggering unit))) Equal to (==) Orc
                  • Then - Actions
                    • Unit - Create 1 Peon for (Owner of (Triggering unit)) at (Position of hero1) facing Default building facing (270.0) degrees
                  • Else - Actions
                    • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                      • If - Conditions
                        • (Race of (Owner of (Triggering unit))) Equal to (==) Undead
                      • Then - Actions
                        • Unit - Create 1 Acolyte for (Owner of (Triggering unit)) at (Position of hero1) facing Default building facing (270.0) degrees
                      • Else - Actions
                        • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                          • If - Conditions
                            • (Race of (Owner of (Triggering unit))) Equal to (==) Night Elf
                          • Then - Actions
                            • Unit - Create 1 Wisp for (Owner of (Triggering unit)) at (Position of hero1) facing Default building facing (270.0) degrees
                          • Else - Actions
            • Player - Add -150 to Player 1 (Red) Current gold
          • Else - Actions
 

Rainther

I guess I should write something of value here...
Reaction score
61
Maybe you have the same ability 4 times and the unit casts all of then when ordered one?
 

Randor244

Active Member
Reaction score
34
The same? No, they are different abilities though based on the same - I gave them different ids though...
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Monovertex Monovertex:
    How are you all? :D
    +1
  • Ghan Ghan:
    Howdy
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top