Party buff spells

View previous topic View next topic Go down

Party buff spells

Post  Plebb on Sat May 15, 2010 3:39 pm

Realized that there weren't team buff spells, but they would encourage team hunting even more.

Suggestion for the team spells:
voc: Knight; Protect Party
pronunciation: utamo mas sio
effect: Raise the physical protection of all team members with 5% for 3 minutes.
mana costs: 95 + 50 for each team member

voc: Paladin; Moral Boost
pronunciation: utito mas sio
effect: Increase the attack speed of all team members with 5% for 3 minutes
mana costs: 215 +150 for each team member

voc: Sorcerer; Echant/Teach Party
pronunciation: utori mas sio
effect: Increase the magic level of all team member with 5 for 3 minutes.
mana costs: 395 + 300 for each team member

voc: Druid; Battlefield Medicine
pronunciation: utura mas sio
effect: Increase the hp regeneration of all team member with 50 hp per second.
mana costs: 395 + 300 for each team member


Notes:

  • All numbers can be changed
  • The knight has been given physical protection since 5 shielding would only benefit the blocker and would suck compared with the other team buffs. When having a two handed weapon shielding is also quite useless.
  • The knight buff hasn't been given magical protection as well since knights have only raw power and don't understand a thing of the complicated magic.
  • The buff spell of sorcerers could also give 5% magical protection instead of 5 magic levels. A better name would be protection/magical aura then.
  • Wanted to give the druid buff 25 hp and 25 mana regeneration per second, but the mana regeneration would be heavily abused for rune making rather than hunting.
  • The mana required is chosen such a way that an unpromoted level 40 can use it in a party of two and every 10 levels you can use with an extra team member.
    Promoted people can use it earlier and/or with more people at a lower level.
  • Pronunciations are literately taken from tibia


Wondering or people have suggestions to improve it since the team buff spells could be a really could feature I think.


Last edited by Plebb on Sun May 16, 2010 7:05 am; edited 3 times in total (Reason for editing : Changed title and fixed some missing words.)
avatar
Plebb

Posts : 344
Join date : 2010-04-18

View user profile

Back to top Go down

Re: Party buff spells

Post  Admin on Sat May 15, 2010 4:50 pm

Great ideas. The downside is I have no idea how to script these. I'll give it some thought.
avatar
Admin
Admin

Posts : 521
Join date : 2010-02-27

View user profile http://sonia.forumandco.com

Back to top Go down

Re: Party buff spells

Post  Plebb on Sat May 15, 2010 5:29 pm

Which part would be hard to script? The bonus or a spell that buffs people?
If the bonuses are too hard to script it could go back to normal things like 5 skill, 5 shield, 5 m lvl and 25 hp/s (or bonus hp).
avatar
Plebb

Posts : 344
Join date : 2010-04-18

View user profile

Back to top Go down

Re: Party buff spells

Post  Admin on Sat May 15, 2010 7:16 pm

I'm not sure how you'd even do a group buff. Maybe scan the area around you for people that are players. I suppose it could be made to work only if the player is in your party.
avatar
Admin
Admin

Posts : 521
Join date : 2010-02-27

View user profile http://sonia.forumandco.com

Back to top Go down

Re: Party buff spells

Post  Plebb on Sun May 16, 2010 3:27 am

I looked for some scripts at the otfans page, but couldn't find one in the spell section and the the search function is really crap there.
avatar
Plebb

Posts : 344
Join date : 2010-04-18

View user profile

Back to top Go down

Re: Party buff spells

Post  Plebb on Sun May 16, 2010 6:55 am

I found some scripts at otland:
http://otland.net/f82/project-real-tibia-spell-formulas-v1-0-0-a-21023/
You have to register to be able to see them.
Don't know or this is the kind of code you need, I really hope so since it will be my favourite spells after exura lux, exura gran and exura vita.

Here's the code they give for enchant party in real tibia:
local combat = createCombatObject()
local area = createCombatArea(AREA_CROSS5X5)
setCombatArea(combat, area)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_RED)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, FALSE)

local condition = createConditionObject(CONDITION_ATTRIBUTES)
setConditionParam(condition, CONDITION_PARAM_SUBID, 1)
setConditionParam(condition, CONDITION_PARAM_BUFF, TRUE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 2 * 60 * 1000)
setConditionParam(condition, CONDITION_PARAM_STAT_MAGICLEVEL, 1)

function onCastSpell(cid, var)
local pos = getCreaturePosition(cid)
if(getPlayerParty(cid) == nil) then
doPlayerSendCancel(cid, "No party members in range.")
doSendMagicEffect(pos, CONST_ME_POFF)
return LUA_ERROR
end

local membersList = getPartyMembers(cid)
if(type(membersList) ~= 'table' or table.maxn(membersList) <= 1) then
doPlayerSendCancel(cid, "No party members in range.")
doSendMagicEffect(pos, CONST_ME_POFF)
return LUA_ERROR
end

local affectedList = {}
for _, pid in ipairs(membersList) do
if(getDistanceBetween(getCreaturePosition(pid), pos) <= 36) then
table.insert(affectedList, pid)
end
end

local tmp = table.maxn(affectedList)
if(tmp <= 1) then
doPlayerSendCancel(cid, "No party members in range.")
doSendMagicEffect(pos, CONST_ME_POFF)
return LUA_ERROR
end

local mana = (tmp * 50)
if(getCreatureMana(cid) < mana) then
doPlayerSendCancel(cid, "You do not have enough mana.")
doSendMagicEffect(pos, CONST_ME_POFF)
return LUA_ERROR
end

if(doCombat(cid, combat, var) ~= LUA_NO_ERROR) then
doPlayerSendCancel(cid, "Sorry, not possible.")
doSendMagicEffect(pos, CONST_ME_POFF)
return LUA_ERROR
end

doCreatureAddMana(cid, -mana, FALSE)
doPlayerAddSpentMana(cid, mana)
for _, pid in ipairs(affectedList) do
doAddCondition(pid, condition)
end

return LUA_NO_ERROR
end
avatar
Plebb

Posts : 344
Join date : 2010-04-18

View user profile

Back to top Go down

Re: Party buff spells

Post  Oney on Sun May 16, 2010 3:12 pm

Its good, i think the time should last longer or I wouldn't waste my mana on it. preferably 8 mins?
avatar
Oney

Posts : 242
Join date : 2010-03-04
Age : 22

View user profile

Back to top Go down

Re: Party buff spells

Post  Darger on Sun May 16, 2010 5:49 pm

I dont know what any of that up thr means but group buffs would be great
avatar
Darger

Posts : 263
Join date : 2010-03-07
Age : 26

View user profile

Back to top Go down

Re: Party buff spells

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum