In ManaServ, what does the 'special' mean?

Talk about anything, including games and servers not affiliated with The Mana World.
Post Reply
dlqingxi
Newly Registered User
Posts: 7
Joined: 04 Jan 2013, 08:44

In ManaServ, what does the 'special' mean?

Post by dlqingxi »

Hi,

I find this description in the mana wiki. (http://doc.manasource.org/scripting#get_special_info)
specialinfo:on_use

specialinfo:on_use(function callback)
Assigns the callback as callback for the use event. This function will be called everytime a character uses a special.
I can't understand what is the 'special' in mana world, Is anybody who can give an example of that?
When it(special) will be used? And what is that ?

Thank you very much.
User avatar
Reid
Lead Developer (SoM)
Lead Developer (SoM)
Posts: 1551
Joined: 15 May 2010, 21:39
Location: Artis
Contact:

Re: In ManaServ, what does the 'special' mean?

Post by Reid »

I think that you will find your answer here: http://doc.manasource.org/specials.xml
"Time is an illusion. Lunchtime doubly so."
-- Ford Prefect
Ablu
Manasource
Manasource
Posts: 288
Joined: 23 Jul 2011, 08:31
Location: Germany

Re: In ManaServ, what does the 'special' mean?

Post by Ablu »

That documentation page Reid linked is not 100% complete. I will update it later when i come home again.

But specials are like magic in tmwAthena.
You can script a heal "special" and give it to the character. The client then gets an entry in the special list. If he uses the special the scripted action will get exectued on the current target or whatever. So basically the the Specials can be used for all kind of magic / special attacks with weapons or even just playing animations like "dance" ;)

I will update the doc page this evening. Maybe it will be more clear afterwards.

Regards
Ablu
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: 25 Aug 2005, 16:08
Location: Germany

Re: In ManaServ, what does the 'special' mean?

Post by Crush »

A "Special" is what other MMORPGs often call a "Skill" (skills in Manaserv are passive stats which collect experience points).

Specials are active action a player can perform. Specials can for example be used to implement magic, special weapon attacks or emotes. They can be unlocked for a character through the scripting system. When I stopped developing for Manasource I was planning to add "passive" specials which can not be used, but which give the character passive bonuses just by having them. That would have allowed to implement a class system by giving characters "being a mage" or "being a knight" specials with large percentual bonuses to certain stats.

I don't know if that ever got finished after I left the project.
  • former Manasource Programmer
  • former TMW Pixel artist
  • NOT a game master

Please do not send me any inquiries regarding player accounts on TMW.


You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
Ablu
Manasource
Manasource
Posts: 288
Joined: 23 Jul 2011, 08:31
Location: Germany

Re: In ManaServ, what does the 'special' mean?

Post by Ablu »

Crush wrote: I don't know if that ever got finished after I left the project.
We decided that specials are active. Passive specials would either be skills or attributes. So i dropped the start for passive specials when i extended the implementation for the active specials a bit ago. But the behaviour your described is possible to do with skills and / or attributes.

Regards
Ablu
Ablu
Manasource
Manasource
Posts: 288
Joined: 23 Jul 2011, 08:31
Location: Germany

Re: In ManaServ, what does the 'special' mean?

Post by Ablu »

I updated http://doc.manasource.org/specials.xml with the latest development status, a small explanation about what specials are and a small example of a heal spell as special. Please let me know if you still miss something!

Regards
Ablu
User avatar
Bertram
Manasource
Manasource
Posts: 1026
Joined: 07 Sep 2004, 14:55
Location: France

Re: In ManaServ, what does the 'special' mean?

Post by Bertram »

Hi Ablu,

IMHO, the specials.xml doc doesn't show clearly how the skill is linked with the special and with the script called.
No field or id is corresponding in the examples.

Just wanted to point it out. ;)

Best regards,
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: 25 Aug 2005, 16:08
Location: Germany

Re: In ManaServ, what does the 'special' mean?

Post by Crush »

Bertram wrote:Hi Ablu,

IMHO, the specials.xml doc doesn't show clearly how the skill is linked with the special and with the script called.
No field or id is corresponding in the examples.

Just wanted to point it out. ;)

Best regards,
Specials don't have a direct link with skills. When they do interact with skill levels, it's in the script. In this case by requesting the users skill level of a specific skill from the gameserver and then by adding exp for that specific skill.
  • former Manasource Programmer
  • former TMW Pixel artist
  • NOT a game master

Please do not send me any inquiries regarding player accounts on TMW.


You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
Ablu
Manasource
Manasource
Posts: 288
Joined: 23 Jul 2011, 08:31
Location: Germany

Re: In ManaServ, what does the 'special' mean?

Post by Ablu »

Ok. I will try to make it more clean. Thanks for the feedback.

EDIT: @Crush: Yes I am aware of it. I just wanted to show a useful example code that shows what is possible.
Ablu
Manasource
Manasource
Posts: 288
Joined: 23 Jul 2011, 08:31
Location: Germany

Re: In ManaServ, what does the 'special' mean?

Post by Ablu »

@Bertram: better like this?
User avatar
Bertram
Manasource
Manasource
Posts: 1026
Joined: 07 Sep 2004, 14:55
Location: France

Re: In ManaServ, what does the 'special' mean?

Post by Bertram »

Hi Ablu,

Better, yeah. :)

I'd just add a note explaining how you set the special_name linking the special entry with the script, here "Magic_Heal",
and why not give an example when using a special id, thus explaining how you link an special id with a script.

Anyway, just my opinion,

Best regards,
Ablu
Manasource
Manasource
Posts: 288
Joined: 23 Jul 2011, 08:31
Location: Germany

Re: In ManaServ, what does the 'special' mean?

Post by Ablu »

Ok added a comment to that. Thanks.
Post Reply