PlaneShift

  • Status Postponed
  • Percent Complete
    0%
  • Task Type Feature Request
  • Category Engine → Combat
  • Assigned To
    Talad
    Tuathanach
  • Operating System Windows
  • Severity Low
  • Priority Medium
  • Reported Version 0.7.8 Unreal
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: PlaneShift
Opened by Talad - 07.03.2021

FS#7180 - Scripting function "GetItem" inside <on type="attack"> is not working

Example found in all Alchemist items, example Alchemist Freezer

Error on console is:

Error in ><let> bindings<: Given a NULL iScriptableVar* for >RightItem<.

The scripts are run through : ApsCharacter::InvokeAttackScripts()
The first thing is to execute this script part:
   RightItem=Attacker:GetItem(0);
   QuaLevel=RightItem:Quality/50;
 In a similar case with GetItem(0) but outside of <let> we get MathStatement::Evaluate() with RightItem=nan , it works.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing