Hex Posted February 14, 2010 Author Share Posted February 14, 2010 Are mages supposed to be able to attack each other?On my game mages can only heal each other, and can only attack NPCs. Even when targeting other players, it just says cannot cast spell or something like that….Is this normal? Is there a script I need? Is it impossible? Or is my game just strange? Link to comment Share on other sites More sharing options...
Hex Posted February 15, 2010 Author Share Posted February 15, 2010 @Hex:> On my game mages can only heal each other, and can only attack NPCs.Sorry what I meant is, they can only heal other players. Mages can do anything to NPCs.Also, can you make NPCs use magic? Or arrows? Link to comment Share on other sites More sharing options...
Mellico Posted February 16, 2010 Share Posted February 16, 2010 How do you attach spells to characters at the start of the game? I'm using a mage class as well. Link to comment Share on other sites More sharing options...
Anna Comnena Posted February 17, 2010 Share Posted February 17, 2010 Make sure your maps aren't safe zone. On Safe Zone maps attack spells won't work on players. Link to comment Share on other sites More sharing options...
MasterBit13 Posted February 17, 2010 Share Posted February 17, 2010 @Mellico:> How do you attach spells to characters at the start of the game? I'm using a mage class as well.http://www.touchofdeathforums.com/smf/index.php/board,2.0.html Link to comment Share on other sites More sharing options...
Xavi Posted February 17, 2010 Share Posted February 17, 2010 This should work automatically. You are using the default spell system and not scripted, right? Link to comment Share on other sites More sharing options...
Mellico Posted February 17, 2010 Share Posted February 17, 2010 default as in the spell editor in the client? Link to comment Share on other sites More sharing options...
Hex Posted February 17, 2010 Author Share Posted February 17, 2010 Well…I am using the default magic, I am using the attacking spells in a No death penalty area, and there isn't anything else un-normal... Link to comment Share on other sites More sharing options...
oscarprime Posted February 17, 2010 Share Posted February 17, 2010 I think players can attack other players on the "arena" tiles right? I'm not sure though, and you can items (e.g. swords, arrows, armor) for certain classes, I think. So if you make a mage class, you could make the equips for the specific class, right? I'm not sure though. Link to comment Share on other sites More sharing options...
Mellico Posted February 17, 2010 Share Posted February 17, 2010 @oscarprime:> I think players can attack other players on the "arena" tiles right? I'm not sure though, and you can items (e.g. swords, arrows, armor) for certain classes, I think. So if you make a mage class, you could make the equips for the specific class, right? I'm not sure though.Yes you can make the equips for the class. But I want the class to have a set of starting spells. So how can I assign a spell for right when they start playing without picking the spell book up? Link to comment Share on other sites More sharing options...
Admiral Refuge Posted February 17, 2010 Share Posted February 17, 2010 Are your mages lower than level 10 (or the minPK level)?Is the mage trying to attack an owner/admin/moderator/mapper or someone with access>0? Link to comment Share on other sites More sharing options...
Mellico Posted February 17, 2010 Share Posted February 17, 2010 They attack fine once they get the skill but I want them to start with the skill not have to get the spellbook. Link to comment Share on other sites More sharing options...
Anna Comnena Posted February 17, 2010 Share Posted February 17, 2010 Set the map Alignment to None instead of No Death Penalty and see if that helps. I think No Death Penalty is basically the same as Safe Zone for an odd reason. Link to comment Share on other sites More sharing options...
MasterBit13 Posted February 17, 2010 Share Posted February 17, 2010 @Anna:> Set the map Alignment to None instead of No Death Penalty and see if that helps. I think No Death Penalty is basically the same as Safe Zone for an odd reason.He's wanting Start-up Items. Link to comment Share on other sites More sharing options...
Mellico Posted February 18, 2010 Share Posted February 18, 2010 @Bit:> @Anna:> > > Set the map Alignment to None instead of No Death Penalty and see if that helps. I think No Death Penalty is basically the same as Safe Zone for an odd reason.> > He's wanting Start-up Items.Not start up items I want to class to start with the spell without having to make the items.Such as mage starts with fire, warrior starts with rage. ETC without using items at start up.So right when you make your character you and go out and fire ball something. so to speak. Link to comment Share on other sites More sharing options...
Ruins of Hell Posted February 18, 2010 Share Posted February 18, 2010 Call SetPlayerSpell(index, SLOT, Number) Link to comment Share on other sites More sharing options...
Monkey Boy Posted February 18, 2010 Share Posted February 18, 2010 @Anna:> Set the map Alignment to None instead of No Death Penalty and see if that helps. I think No Death Penalty is basically the same as Safe Zone for an odd reason.No Death Penalty means you can kill, but no EXP or item loss. Link to comment Share on other sites More sharing options...
Hex Posted February 18, 2010 Author Share Posted February 18, 2010 @oscarprime:> I think players can attack other players on the "arena" tiles right? I'm not sure though, and you can items (e.g. swords, arrows, armor) for certain classes, I think. So if you make a mage class, you could make the equips for the specific class, right? I'm not sure though.I haven't tried this yet so I will.And it does not work when the map is on "None". Link to comment Share on other sites More sharing options...
Mellico Posted February 18, 2010 Share Posted February 18, 2010 @Soul:> Call SetPlayerSpell(index, SLOT, Number)What file do i have to edit with that line of code? Link to comment Share on other sites More sharing options...
Ruins of Hell Posted February 18, 2010 Share Posted February 18, 2010 OnNewChar. You have to change SLOT to a free slot (1 probably) and Number to the spell's number. Link to comment Share on other sites More sharing options...
Hex Posted February 19, 2010 Author Share Posted February 19, 2010 @Bit:> @Anna:> > > Set the map Alignment to None instead of No Death Penalty and see if that helps. I think No Death Penalty is basically the same as Safe Zone for an odd reason.> > He's wanting Start-up Items.Ok, Mellico wants starting itmes, but I want to know why my mages can't attack each other. Link to comment Share on other sites More sharing options...
oscarprime Posted February 23, 2010 Share Posted February 23, 2010 Thank you Soul, you are a beast. :evil: Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now