Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[EO] NPC Spells v.2.0.0


DJMaxus
 Share

Recommended Posts

  • Replies 188
  • Created
  • Last Reply

Top Posters In This Topic

  • 4 weeks later...
  • 3 weeks later...
@Justn:

> my npcs are working fine they cast spells and during the spell cooldown they attack normally i just made my npc spells have longer cooldowns than normal to make sure they arent always casting

Just I can't add to OW 1.8.1 cuz I have added alot of features and when I add this it makes a trash in codes. xD Can somebody want to help? :D
Link to comment
Share on other sites

i looked at ur OW and the only difference from mine and urs features is that you used "# Added specific damage formula for each spell." and i used ryoku's "complex spell scaling" so i think that would be the only thing that could mess with it anyways.. Im gonna take mine out and add the one you have and see if it messes with it and ill fix it
Link to comment
Share on other sites

@Justn:

> i looked at ur OW and the only difference from mine and urs features is that you used "# Added specific damage formula for each spell." and i used ryoku's "complex spell scaling" so i think that would be the only thing that could mess with it anyways.. Im gonna take mine out and add the one you have and see if it messes with it and ill fix it

Nice… Thanks. ^^

p.s. You really think that "Adding specific damage formula for each spell" is the problem? I just check that code and I dont think that it would make a bug in OW. And I noticed that I have added "Complex Spell Scaling Equation" in the edit, both are in there. xD Theese features are from ow edit v1.0 and this edit were very long time in my pc afther I added it in custom versions. ^^
Link to comment
Share on other sites

  • 3 weeks later...
You add "code" to your project using Visual Basic 6.

you can only use VB6 professional or enterprise to edit the code of your project. NEVER Portable.

If you are not willing to learn the basics of programming this might not be the best thing for you.

But if you go here you will find some guilds to get you started:
http://www.touchofdeathforums.com/eclipse/tutorials.php
Link to comment
Share on other sites

you missed this part then.

In modConstants
Find:
```
Public Const MAX_PARTY_MEMBERS As Long = 4

```
Underneath it, add:
Code: [Select]
```
' NPC Spells
Public Const MAX_NPC_SPELLS As Long = 5

```
* This is the max amount of spells an NPC can have.

I would also do this on the client side just to be safe.
Link to comment
Share on other sites

@Ryoku:

> you missed this part then.
>
> In modConstants
> Find:
> ```
> Public Const MAX_PARTY_MEMBERS As Long = 4
>
> ```
> Underneath it, add:
> Code: [Select]
> ```
> ' NPC Spells
> Public Const MAX_NPC_SPELLS As Long = 5
>
> ```
> * This is the max amount of spells an NPC can have.
>
> I would also do this on the client side just to be safe.

Thanks bro, it worked. :)
Link to comment
Share on other sites

  • 2 weeks later...
@harvest24:

> I can't find the "Sub NpcAttackPlayer"

Its server side -> modCombat

@Xakarii:

> i get an RTE 9 at
>
> ```
> If Npc(npcNum).Spell(i) > 0 Then
> ```
> Help would be appreciated.

Did you add this:
@DJMaxus:

> Add this to the bottom of **Private Type NpcRec** (before **End Type**)
> ```
>     ' Npc Spells
>     Spell(1 To MAX_NPC_SPELLS) As Long
> ```
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share


×
×
  • Create New...