Hi,
Using all engines from the mirage source, Xtreme worlds, playerworlds ect...
Is there anyway of working out any kind of balance for example finding out how much damage you will do on a monster?
Thank you,
Basicly using the mirage engine, is there anyway to work out some kind of calculation eg. lets say STR is 12, monster DEF 6
you have no weapon for aditional damage, so STR 12 - Monster DEF 6 = 6 then divide by 2 = (3) so the damage on that monster will be 3.
Is there any calculation like that to work out damage.
Posts: 2,605
Threads: 412
Joined: Nov 2021
Reputation:
0
Search for: Function GetPlayerDamage
And you'll find this:
[code]Function GetPlayerDamage(ByVal Index As Long) As Long
Dim WeaponSlot As Long
GetPlayerDamage = 0
' Check for subscript out of range
If IsPlaying(Index) = False Or Index MAX_PLAYERS Then
Exit Function
End If
GetPlayerDamage = Int(GetPlayerSTR(Index) / 2)
If GetPlayerDamage 0 Then
WeaponSlot = GetPlayerWeaponSlot(Index)
GetPlayerDamage = GetPlayerDamage + Item(GetPlayerInvItemNum(Index, WeaponSlot)).Data2
Call SetPlayerInvItemDur(Index, WeaponSlot, GetPlayerInvItemDur(Index, WeaponSlot) - 1)
If GetPlayerInvItemDur(Index, WeaponSlot)
I'm not sure if understand what i mean, i was wondering if there was a calculation to work out damage amounts.
Posts: 2,605
Threads: 412
Joined: Nov 2021
Reputation:
0
You do know mirage source is actually a source code in visual basic. And unless you know programming, you should use a compilled.
I think whats hes asking is what defines how much a player does on a NPC and how does he change it?
William answered that already..