I'm struggling hard with a couple of bugs in my first mod (Lost Power of Nadric) and I would really appreciate help from more experienced moders.
The thing is that I have a couple of scripts that do work well with me, either in the editor or in exported version BUT sometimes, it seems not to work for other players. I can't figure out how it is possible
For example, I have a floortrigger that activates a script which casts a darkness spell by using the champions energy. Here is the code of the script (quite basic actually):
Code: Select all
function darknesscast()
for i = 1, 4 do
party.party:getChampion(i):regainEnergy(35)
party.party:getChampion(i):castSpell(58)
end
end
Script_entity_31 is the one with the darknesscast code.
Any advice here???
Khollik